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: 1429 - OLE IDispatch exception code 0 from WSDLReader

Status
Not open for further replies.

hunterspot

Programmer
Jun 3, 2009
22
US
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.
 
The first question that comes to mind is is the production computer the same as the test computer?
If not, the possibilities are endless. Like, what are the differences? OS? Domain? Configuration? Registry?



-Dave Summers-
[cheers]
Even more Fox stuff at:
 
Are you sure that all the SOAP DLLs are installed on the target computer? There are eight DLLs that need to be installed, and they all need to be registered.

If you're not sure about this, let me know and I'll dig out a list.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Here are the DLLs I mentioned above:

mssoap1.dll
mssoap30.dll
soapis30.dll
WHSC30.dll
wisc10.dll
WISC30.dll
MSSOAPR3.dll
mssoapr.dll

They can be found in <program files>\Commmon Files\MSSoap or its subdirectories.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro tips, advice, training, consultancy
Custom software for your business
 
Thank you all.

Mike
It was a problem with the DLLs. I asked the admin to check this list and not the error is gone.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top