Parse Complex WSDL Parameter Information in C#

Posted by jaws on Stack Overflow See other posts from Stack Overflow or by jaws
Published on 2010-12-15T17:05:53Z Indexed on 2010/12/21 16:54 UTC
Read the original article Hit count: 419

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about c#

Related posts about xsd