SOAP Client creation in ASP.NET using MS SOAP Toolkit

  • Thread starter Sham Ramakrishnan
  • Start date
S

Sham Ramakrishnan

how would I create a SOAP client in ASP.Net?
The following code just works fine in VB:

Dim lobjSOAP As New MSSOAPLib30.SoapClient30
lobjSOAP.ClientProperty("ServerHTTPRequest") = True
Call
lobjSOAP.MSSoapInit("http://services.xmethods.net/soap/urn:xmethods-Currency
Exchange.wsdl")
Debug.Print (lobjSOAP.getRate("England", "Japan"))


But the same piece of code:
Dim lobjSOAP As New MSSOAPLib30.SoapClient30
lobjSOAP.ClientProperty("ServerHTTPRequest") = True

lobjSOAP.MSSoapInit("http://services.xmethods.net/soap/urn:xmethods-Currency
Exchange.wsdl")
Response.Write(lobjSOAP.getRate("England", "Japan"))

doesnt seem to work? any solutions please?
Thanks
 
G

Guest

why would you use the soap toolkit in .net? one of the great features of
..net is it's inbuilt ability to handle webservices/soap calls.
 
S

Sham Ramakrishnan

can you gimme an example of how i would replicate a SOAP client using the
serviced components that come with .Net? System.web.services? this would be
the namespavce to look at.. right?
thanks again...
----- Original Message
 

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,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top