Re: Creating an object from a wsdl definition?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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!



.



Relevant Pages

  • Re: Searching OO Associations with RDBMS Persistence Models
    ... and the Client needs access to locations for a particular Company. ... In this case I would argue that it should be a reference. ... There are three aspects to relationships: implementation, instantiation, and navigation. ... This sort of instantiation is ubiquitous in OO applications so that one very rarely ever sees a FIND WHERE construct. ...
    (comp.object)
  • Re: Java Memory question
    ... OOME on a clone copying to the client so my issue was likely ... you don't "clone" copying to a client. ... with memory over performance. ... local reference variable takes up pretty much no memory, ...
    (comp.lang.java.help)
  • Re: VS2008 creates a 2nd endpoint when actualising a web reference
    ... you are developing an WCF service and a client through VS 2008. ... The service used to use wshttpbinding, and when you switch it to netTcpBinding and regenerate the service reference at client, you found the client generate two configuration section for the service endpoint, correct? ... We welcome your comments and suggestions about how we can improve the support we provide to you. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Help on remoting clarification ???
    ... IPurchaseOrderService on the client side that handles getting the ... object reference fromt he remote service, ... They get a reference of the remote object by using the ... Lets say i want to create a purchase order application where the ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: message communication (VMS <> PC)
    ... The server was on a PC; I needed code to allow a VMS client (one per ... reference local_addr. ... if sys_status not = ss$_normal go to fini. ...
    (comp.os.vms)