Classic ASP and Webservices

Discussion in 'Classic ASP' started by han0ver, Aug 11, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I'm having a problem connecting to a webservice using Classic ASP. So far, I've tried the following code and neither seems to be working for me:

    Sample 1:
    soapObj = Server.CreateObject('MSSOAP.SoapClient');
    soapObj.ClientProperty('ServerHTTPRequest') = True;

    soapObj.mssoapinit(strUrl);

    Sample 2:
    Set soapObj = Server.CreateObject('MSXML2.ServerXMLHTTP')
    soapObj.Open 'GET', strUrl, False
    soapObj.Send

    Does anyone have any ideas of how I can make this work?

    TIA,
    Jeff
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    You should be able to use MSXML to make a HTTP call to your web service.


    what's the error?


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page