Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error accessing webservice:

Status
Not open for further replies.

hunterspot

Programmer
Jun 3, 2009
22
US
Hi
I am having problem in accessing a web service. Here is the code:
lowshandler = CREATEOBJECT("MSSOAP.SoapClient30")
lowshandler.ClientProperty("ServerHTTPRequest") = .T.
IF UPPER(ALLTRIM(oApplicationObject.cApplicationMode)) = [PROD]
lowshandler.MSSoapInit(" "myWebserviceSoap","")
ELSE
lowshandler.MSSoapInit(" "myWebserviceSoap","")
ENDIF
Right now it is still in test. When I run the code from my local machine it works fine. But when it is run from VFP App in test mode it is giving error
Error: 1429 - OLE IDispatch exception code 0 from WSDLReader: WSDLReader:XML Parser failed at linenumber 1, lineposition 0, reason is: System error: -2146697209.
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed HRESULT=0x

Any help is highly appreciated
Thanks for you help and time.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top