Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Client: Incorrect Number of Parametersin Soap Request.
Message
From
07/08/2003 07:51:39
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Client: Incorrect Number of Parametersin Soap Request.
Miscellaneous
Thread ID:
00817625
Message ID:
00817625
Views:
143
Every few months I seem to have a need to do a web service and each time I seem to have to relearn it - I think I'm getting old! Enough of my whining, here's the problem on my latest "hello world".

I have a very simple Web Service that merely returns a wrapped up string (www.johncunningham.info/s_test.htm for this server source). I have built an MTDLL on the server, and registered it. Howver, when I run the following test program:
*****
LOCAL loWSHandler AS Object
LOCAL loService AS "XML Web Service"

loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.vcx")

loService = loWSHandler.SetupClient ("HTTP://www.johncunningham.info/soap/esser.WSDL")
?loService.Tester('Hello World')
***

..then on that last line I get the primary message "OLE IDispatch exception code 0 from Connector: Connector:Host not found. HRESULT=0x800A1521 - Client:An unanticipated error occurred during the processing". When I then ask for loService.FaultString, I get "Client:Incorrect number of parameters supplied for SOAP request".

Any ideas?
Next
Reply
Map
View

Click here to load this message in the networking platform