SOAP Client creation in ASP.NET using MS SOAP Toolkit

Ask a Question related to ASP.NET General, Design and Development.

  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. Similar Questions and Discussions

    1. Writing a HTML/ASP SOAP client for a SOAP::Lite destination
      How would I go about writing a SOAP client in either HTML or classic asp? The SOAP "listener" was written in Perl with SOAP::Lite in Unix and I am...
    2. .net SOAP toolkit performance for SOAP deserialization
      Hi All. We are building an ASP.net application using C# & .net 1.1 framework. The ASP.net application consumes web services (Java/Apache Axis...
    3. Returning array Via soap toolkit to vb.net client
      Hi, I have a suite of Com components , a number of the methods return a VARIANT which is of type array . The array is multi-dimensional. I have...
    4. Access .NET DIME Service from COM SOAP Toolkit 3 client
      Hi I have created a .NET web service that can be requested to deliver binary data using DIME attachments. I also have created the client part...
    5. WS-Security Authentication Using SOAP Toolkit and VB6 Client
      Has anyone successfully created ws-security headers using a VB client? My web service authenticates users correctly when I use a .Net client...
  3. #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" <rsham@infoprocorp.com> wrote in message
    news:%23OWzNJ8PDHA.2432@TK2MSFTNGP10.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

  4. #3

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

    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
    <chris@yahoo.com> wrote in message
    news:#cbPXL8PDHA.2460@TK2MSFTNGP10.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" <rsham@infoprocorp.com> wrote in message
    > news:%23OWzNJ8PDHA.2432@TK2MSFTNGP10.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

Posting Permissions

  • You may not post new threads
  • You may 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