Re: Creating an object from a wsdl definition?
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Mar 2007 16:42:25 -0400
I don't understand, why can't the client have a reference to the web
service? If you get the type definition at runtime, you wont know what to
do with it, since the operations and types involved are going to be known
only at runtime. Everything that you will have to do will be through
reflection (if you choose to compile types at runtime), or you will have to
craft the requests yourself.
You probably want to use the SoapHttpClientProtocol class if you are not
using WCF.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx
<sean.j.gage@xxxxxxxxx> wrote in message
news:1175285652.795272.150540@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is there a way to get to a Type definition from a wsdl through c#
during runtime? I'd like to load and process the wsdl into its various
objects at run time and be able to use a factory to return the
appropriate type when that object is returned from a third party web
service. Ultimatly the client can't have a web reference to the web
service so I need a way to get the objects programmatically.
Cheers!
.
- References:
- Creating an object from a wsdl definition?
- From: sean . j . gage
- Creating an object from a wsdl definition?
- Prev by Date: Re: My UnhandledExceptionHandler Won't Fire
- Next by Date: Re: What's the best Timer to use
- Previous by thread: Creating an object from a wsdl definition?
- Next by thread: What's the best Timer to use
- Index(es):
Relevant Pages
|