Convert WSDL to XML tool?

Does anyone know a tool / program to convert WSDL to XML?

Basically, I just need an empty XML template. I can fill the nodes with data after receiving the template.

+4
source share
1 answer

You can extract XML request / response templates from WSDL using SoapUI .

SoapUI is actually useful for many things, such as web service, ridicule, unit testing, etc. This is a great tool.

Here is what it generates for the operation in one of its examples: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://www.webserviceX.NET/"> <soapenv:Header/> <soapenv:Body> <web:ConversionRate> <web:FromCurrency>?</web:FromCurrency> <web:ToCurrency>?</web:ToCurrency> </web:ConversionRate> </soapenv:Body> </soapenv:Envelope> 

and

 <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://www.webserviceX.NET/"> <soap:Header/> <soap:Body> <web:ConversionRateResponse> <web:ConversionRateResult>?</web:ConversionRateResult> </web:ConversionRateResponse> </soap:Body> </soap:Envelope> 
+4
source

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


All Articles