[jbosstools-issues] [JBoss JIRA] (JBIDE-17859) XML validation error for a web service configuration XML file in a Seam project

Jason Glass (JIRA) issues at jboss.org
Tue Oct 31 16:20:00 EDT 2017


    [ https://issues.jboss.org/browse/JBIDE-17859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13484275#comment-13484275 ] 

Jason Glass commented on JBIDE-17859:
-------------------------------------

@Thomas, the exact xml tag you gave didnt work for some reason but the stack exchange link you provideds tag worked perfectly, thank you!  For anyone else see if this works better - note, JBoss Red Hat Developer and JDK 1.8


{code:java}
<handler-chains xmlns="http://java.sun.com/xml/ns/javaee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 
  xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
  http://java.sun.com/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd">
{code}


> XML validation error for a web service configuration XML file in a Seam project
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-17859
>                 URL: https://issues.jboss.org/browse/JBIDE-17859
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: upstream
>         Environment: JBDS 8.0.0.Beta3
>            Reporter: Ron Šmeral
>            Assignee: Viacheslav Kabanovich
>             Fix For: 4.2.0.CR1
>
>
> {noformat}
> cvc-elt.1: Cannot find the declaration of element 'handler-chains'.	
> soap-handlers.xml
> /seambay-ejb/src/main/resources/org/jboss/seam/example/seambay
> line 2
> XML Problem
> {noformat}
> The file is valid and satisfies the webservices schema in the javaee namespace: http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/javaee_web_services_metadata_handler_2_0.xsd:
> {code:xml}
> <?xml version="1.0" encoding="UTF-8"?>
> <handler-chains xmlns="http://java.sun.com/xml/ns/javaee">
>   <handler-chain>
>     <handler>
>       <handler-name>SOAP Request Handler</handler-name>
>       <handler-class>org.jboss.seam.webservice.SOAPRequestHandler</handler-class>
>     </handler>
>   </handler-chain>
> </handler-chains>
> {code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbosstools-issues mailing list