whiteadi
Member
- Joined
- Nov 19, 2020
- Messages
- 9
- Programming Experience
- 10+
Having an WSDL and given one operation offered by it I want to parse it and fetch the input parameters for that operation, this example works for me only when there are no nested complex types:
How to parse an xsd file which has nested elements(complexType and simpleType elements and attributes)?
For this it works:
http://www.dneonline.com/calculator.asmx?wsdl
And that means it returns for all 4 operations the correct parameters (Add has AddSoapIn with intA and intB...)
but for this doesn't:
http://www.learnwebservices.com/services/hello?WSDL
It gets only to the HelloRequest for SayHello and does not fetch the element Name from HelloRequest.
This should work for any and not specific SOAP WSDLs, what I mean is a generic parsing.
How to parse an xsd file which has nested elements(complexType and simpleType elements and attributes)?
For this it works:
http://www.dneonline.com/calculator.asmx?wsdl
And that means it returns for all 4 operations the correct parameters (Add has AddSoapIn with intA and intB...)
but for this doesn't:
http://www.learnwebservices.com/services/hello?WSDL
It gets only to the HelloRequest for SayHello and does not fetch the element Name from HelloRequest.
This should work for any and not specific SOAP WSDLs, what I mean is a generic parsing.