Axis does not provide schema validation by default.

You can use Castor to validate incoming XML. Check out this link 

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

Hope this helps.

Regards,
Manoj Nandakumar


-----Original Message-----
From: Zedler, Michel [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 26, 2004 3:55 PM
To: [EMAIL PROTECTED]
Subject: Axis and XML Schema Validation


Hi all,

Using an Axis MSG-style service,
how can I validate incoming XML documents against
the XML Schema Definition file referenced by the services WSDL?

Axis does no validation by default, and provides a DOM (Spec2)
representation of the document that I cannot re-validate.
So is there any possibilty to turn on validation for the Axis Parser
and tell it which schemaLocation to use?

Thanks a lot,
Michel Zedler

Reply via email to