connecting to a web service problem

Results 1 to 2 of 2

Thread: connecting to a web service problem

  1. #1
    Join Date
    Dec 1969

    Default connecting to a web service problem

    Dear friends,<BR><BR>I am newbiew in this regard.There is a web service and I want to make a client and connect to it. With this code in in a project<BR><BR><BR>Dim objSoapClient<BR> objSoapClient = CreateObject("MSSOAP.SoapClient30")<BR> objSoapClient.ClientProperty("ServerHTTPRequest") = True<BR> objSoapClient.mssoapinit("", "ServiceName")<BR><BR><BR>but I get this error:<BR><BR>An unhandled exception of type &#039;System.Runtime.InteropServices.COMException& #039; occurred in microsoft.visualbasic.dll<BR><BR>Additional information: WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: A connection with the server could not be established<BR> HRESULT=0x1: Incorrect function.<BR> - WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.<BR> - Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.<BR><BR>any help or clue is appriciated.<BR>roseta<BR>

  2. #2
    Join Date
    Dec 1969

    Default * Crosspost.

    Please see, FAQ #110.

Posting Permissions

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