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?

If someone is interested: I followed the suggestion from Dims and now use WSDL4J to create schema out of the wsdl file. This is then feed together with the incomming message into the XML parser and voila we have a validation.

I noticed that Axis is not using the schema from the WSDL to validate. Is this planned?

Carsten

--
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Reply via email to