Invoking Web Service without creating proxy

  • Thread starter Thomas via .NET 247
  • Start date
T

Thomas via .NET 247

I'm trying to invoke a web service programmatically withoutcreating a proxy (e.g. extending SoapHttpClientProtocol). (Theproblem is that at design-time I know nothing about the webservice, so I can't use a Web Reference.) Is there a way tocreate a SOAP invocation and manually invoke it? Can I extendSoapHttpClientProtocol (or something else) and override thedefault behavior? Something else entirely? One obvioussolution is to drop down to the raw XML, but I want to avoidthat, it's an awful lot of work that .NET already does for me.

Thanks,
Thomas
 
C

casey chesnut

couple shots in the dark ...

1) i think the SOAP Toolkit will let you consume web services without a
proxy.
you point it to a WSDL, and then you can call the methods.
its COM so you could possibly wrap it and call it from .NET

2) there is a Web Service tool on GotDotNet.
it has code that will create the proxy code on the fly,
and then call the web service.
you could use that code to do it.

Thanks,
casey
http://www.brains-N-brawn.com


I'm trying to invoke a web service programmatically without creating a proxy
(e.g. extending SoapHttpClientProtocol). (The problem is that at
design-time I know nothing about the web service, so I can't use a Web
Reference.) Is there a way to create a SOAP invocation and manually invoke
it? Can I extend SoapHttpClientProtocol (or something else) and override
the default behavior? Something else entirely? One obvious solution is to
drop down to the raw XML, but I want to avoid that, it's an awful lot of
work that .NET already does for me.

Thanks,
Thomas
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top