AFAIK Axis doesn't support this but if you write in document/literal or wrapped/literal mode, and separate out your schema definition into a separate XSD file, then you can use Castor to verify schemas. Haven't tried it though.

See http://www-106.ibm.com/developerworks/webservices/library/ws-castor/


Carsten Ziegeler wrote:

I'm searching for an easy way of validating an XML document against a WSDL file. This is in order to test if the document is a valid request for the service.

Does Axis provide some classes/functionalitity I could use? Or is there something else I can do?

I read somewhere that Axis currently doesn't valid ws against the wsdl if document style is used. Is this true?

Thanks
Carsten

Reply via email to