hunterspot
Programmer
Hi All
I amgetting this error when calling a web service from VFP code. The code is like this.
******************
LOCAL loException, lcErrorMsg, loWSHandler
TRY
lowshandler = CREATEOBJECT("MSSOAP.SoapClient30")
lowshandler.ClientProperty("ServerHTTPRequest") = .f.
IF UPPER(ALLTRIM(l_MODE)) = [PROD]
lowshandler.MSSoapInit(" "","") && Need to check
ELSE
lowshandler.MSSoapInit(" "","")
ENDIF
lowshandler.ConnectorProperty("Timeout") = 150000
lcRetVal = lowshandler.ModifyProposal(lcPid,lcIdn)
CATCH TO loException
lcErrorMsg="Error: "+TRANSFORM(loException.Errorno)+" - "+loException.Message
lcErr = TRANSFORM(loException.Errorno)+" - "+loException.Message
llOK = IIF(LEN(ALLTRIM(lcErr)) < 1, .T.,.F.)
**************
This worked fine on test. I tested it long time and moved to production. In production it never worked. Giving me the error. Complete error message is
*********
Error: 1429 - OLE IDispatch exception code 0 from WSDLReader: WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: The system cannot locate the resource specified.
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
..
WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: The system cannot locate the resource specified.
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
*********
Any help is highly appreciated. Thanks in advance for your time and help.
Thanks.
I amgetting this error when calling a web service from VFP code. The code is like this.
******************
LOCAL loException, lcErrorMsg, loWSHandler
TRY
lowshandler = CREATEOBJECT("MSSOAP.SoapClient30")
lowshandler.ClientProperty("ServerHTTPRequest") = .f.
IF UPPER(ALLTRIM(l_MODE)) = [PROD]
lowshandler.MSSoapInit(" "","") && Need to check
ELSE
lowshandler.MSSoapInit(" "","")
ENDIF
lowshandler.ConnectorProperty("Timeout") = 150000
lcRetVal = lowshandler.ModifyProposal(lcPid,lcIdn)
CATCH TO loException
lcErrorMsg="Error: "+TRANSFORM(loException.Errorno)+" - "+loException.Message
lcErr = TRANSFORM(loException.Errorno)+" - "+loException.Message
llOK = IIF(LEN(ALLTRIM(lcErr)) < 1, .T.,.F.)
**************
This worked fine on test. I tested it long time and moved to production. In production it never worked. Giving me the error. Complete error message is
*********
Error: 1429 - OLE IDispatch exception code 0 from WSDLReader: WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: The system cannot locate the resource specified.
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
..
WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: The system cannot locate the resource specified.
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed HRESULT=0x80070057: The parameter is incorrect.
- Client:One of the parameters supplied is invalid. HRESULT=0x80070057: The parameter is incorrect.
*********
Any help is highly appreciated. Thanks in advance for your time and help.
Thanks.