[jboss-user] [JBoss Web Services] - Re: SchemaValidation error

do-not-reply at jboss.com do-not-reply at jboss.com
Mon Oct 18 12:40:51 EDT 2010

andreas_back [http://community.jboss.org/people/andreas_back] created the discussion

"Re: SchemaValidation error"

To view the discussion, visit: http://community.jboss.org/message/566993#566993

Hello Martin,

since your posting some time has passed, but we get the same error for

*     JBoss 4.2.3 and
*     jbossws-native-3.1.1.

Updating the JBoss version and in combination with this the jbossws version is not an option because the jboss version is a externally chosen.

The error

Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: org.xml.sax.SAXException: s4s-elt-schema-ns: The namespace of element 'definitions' must be from the schema namespace, ' http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema'.

is reported if

*     the schema validation is turned on @SchemaValidation(enabled=true)
*     and the wsdl that is used for the validation is not generated by JBossWS but is specified by path to a handwritten WSDL.

The error does also occur if the wsdl that is generated by JBossWS (on the basis of the Java code and its annotations) is
stored and then specified a an input for the validation as a wsdl file.

With best regards,


Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101018/d223daca/attachment.html 

More information about the jboss-user mailing list