Professional Web Applications Themes

SOAP Client creation in ASP.NET using MS SOAP Toolkit - ASP.NET General

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...

  1. #1

    Default SOAP Client creation in ASP.NET using MS SOAP Toolkit

    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


    Sham Ramakrishnan Guest

  2. #2

    Default Re: SOAP Client creation in ASP.NET using MS SOAP Toolkit

    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.


    "Sham Ramakrishnan" <rshaminfoprocorp.com> wrote in message
    news:%23OWzNJ8PDHA.2432TK2MSFTNGP10.phx.gbl...
    > 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
    >
    >

    Guest

  3. #3

    Default Re: SOAP Client creation in ASP.NET using MS SOAP Toolkit

    can you gimme an example of how i would te 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
    <chris> wrote in message
    news:#cbPXL8PDHA.2460TK2MSFTNGP10.phx.gbl...
    > 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.
    >
    >
    > "Sham Ramakrishnan" <rshaminfoprocorp.com> wrote in message
    > news:%23OWzNJ8PDHA.2432TK2MSFTNGP10.phx.gbl...
    > > 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
    > >
    > >
    >
    >

    Sham Ramakrishnan Guest

Similar Threads

  1. Writing a HTML/ASP SOAP client for a SOAP::Lite destination
    By jim.long@vanderbilt.edu in forum PERL Modules
    Replies: 0
    Last Post: March 17th, 12:19 AM
  2. .net SOAP toolkit performance for SOAP deserialization
    By Prabhu in forum ASP.NET Web Services
    Replies: 5
    Last Post: November 18th, 10:42 PM
  3. Returning array Via soap toolkit to vb.net client
    By John Harkin in forum ASP.NET Web Services
    Replies: 0
    Last Post: April 14th, 01:55 PM
  4. Access .NET DIME Service from COM SOAP Toolkit 3 client
    By Stephan Brunenr in forum ASP.NET Web Services
    Replies: 1
    Last Post: August 13th, 08:54 PM
  5. WS-Security Authentication Using SOAP Toolkit and VB6 Client
    By Mike Cook in forum ASP.NET Web Services
    Replies: 0
    Last Post: July 17th, 04:53 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139