Page 1 of 1

How to validate an XML response against the embedded schema in a WSDL

Posted: Mon Apr 02, 2012 6:09 am
by csalsa
Hi

I have a WSDL and I have a XML response that was sent to me but should be valid against the WSDL.

How can I use OxygenXML to validate the XML response against the embedded XML schema in the WSDL?

Re: How to validate an XML response against the embedded schema in a WSDL

Posted: Mon Apr 02, 2012 10:25 am
by Radu
Hi,

Oxygen can validate XML files against XML Schemas but not against XML Schemas which are embedded in WSDL files.
Am I to understand that this is the usecase for your other post, trying to extract the XML Schema from the WSDL file?

If you are the one designing the WSDL you could keep the XML Schema in a separate file and only reference it in the WSDL.

Regards,
Radu

Re: How to validate an XML response against the embedded schema in a WSDL

Posted: Mon Apr 02, 2012 12:58 pm
by csalsa
Thanks Radu for your reply.

I found that I could do what I needed using SoapUI. First I loaded the WSDL and generated a sample request/response and then pasted the response that I received over the generated response. I could right-click and "validate..." the response.