Parse Complex WSDL Parameter Information in C#
- by jaws
I am attempting to parse WSDL, along the lines of the example given here.
The author notes, in the comments, that the example is not capable of drilling down into complex data types.
And in fact, when I run the example, it does not appear to even handle simple data types.
I have poked around in System.Web.Services.Description.ServiceDescription class, which is used in the example, but cannot find any actual parameter or return type information at run-time. I gather that I may need to do some manual parsing of an xsd file?
Both google and stackoverflow appear to lack a complete example of how to drill down into complex types programmatically, so... how should I do this?