-
1. Re: SchemaValidation error
andreas_back Oct 19, 2010 11:35 AM (in response to steeqs4)Hello Martin,
since your posting some time has passed, but it might be interesing to others that we made the schema validation in combination with the wsdlLocation attribute of @javax.jws.WebService running for
* JBoss 4.2.3 and
* jbossws-native-3.1.1
A wsdlLocation like wsdlLocation="WEB-INF/BasisartikelKonfigurierenInternService.wsdl" and did the job for us.
(The error message occured when the attribute schemaLocation of the annotation SchemaValidation was used with the wsdl as a value of the schemaLocation.)
It is possible to start with a WSDL that is generated by JBoss under
server\<kindOfServer>\data\wsdl\<ear-file-name>.ear\<jar-filename>.jar
and then copy it to the WEB-INF folder.
And there some modifications can be done on the WSDL, for instance if someone wants an xs:choice element or some special simple types in it.
With best regards,
Andreas