Validating an XML Instance Document on WSDL

I can easily check an XML document for an XML schema , for example. with XMLSpy or programmatically. Is it possible to do this using a WSDL file ? This is not possible with XMLSpy or any other XML tool that I know. For me, the only opportunity right now is to do this programmatically, for example. by generating Java code from WSDL and running a query, which is then sorted correctly. If there is no tool / simple software approach, is there a tool that can extract XML Schema from WSDL ?

The best

+3
source share
2 answers

QTAssistant (I'm associated with it) provides an easy-to-use utility to extract XSD from any style of WSDL (one or more files, internalized or external XSD).

QTAssistant Externalize XSDs from WSDL

The invitation is fairly simple to follow and provides great flexibility when referencing a standalone WSDL (local drive) or remote (HTTP / S).

QTAssistant Externalize XSDs from WSDL prompt

Another feature that works well with the above kit is the ability to check the SOAP shell on XSD, also available in QTAssistant; there is a Strip SOAP property for an XML document that automatically validates the contents of a SOAP Body for an XSD assignment.

Strip SOAP envelope for validation

+3
source

You can use SoapUI :

  • ( wsdl)
  • "" .
  • XML
+2

Source: https://habr.com/ru/post/1736999/


All Articles