Parsing the wsdl is a lot of work. I know that VS 2005 comes with a utility
wsdl.exe which if given a url to a web service it will build code (proxy
classes, etc) to invoke the web service. If you really want to do this
project, using this as a starting point. Build an app that can query a web
service wsdl and build proxy class code, then compile the code into a class
and once compiled use reflection to iterate through methods, parameter types
etc. wsdl.exe should show you how to query a web service and build proxy
class code. The reset is easy.
"r" <r@discussions.microsoft.comwrote in message
news:38**********************************@microsof t.com...
What I want to do is build a WinForms wizard that allows users to connect
to
a web service and reflect through each of the webmethods bringing back
each
webmethod parameter and it's type.
Sorry, I wan't clear about "properties", but I've seen web services which
contain public class or struct objects, I'd also like to pull methods,
properties, etc. for those objects, if possible.
Is there a way for me to use reflection to get this information? If not
and
I need to parse the .WSDL, how do I get the raw XML for the WSDL
programmatically?