Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error messages in WS ( parameters )
Message
General information
Forum:
Visual FoxPro
Category:
Web Services
Title:
Strange error messages in WS ( parameters )
Miscellaneous
Thread ID:
00650768
Message ID:
00650768
Views:
54
Hi all
I have two web services, in two different systems. The code i used for accessing the two ws ( let's call them system1 and system2 ) are about the same, ie:
loService = CreateObject("mssoap.soapclient")
loService.mssoapinit("http://......./theService.WSDL")
loService.ConnectorProperty("Timeout")=30000
lStr = loService.Function( param1, param2, etc... )
In system 1, the service accepts 3 parameters and works perfectly from inside the network, and even using the 'outside' ip address ( in the mssoapinit clause ) but from a system also connected to the network.
When trying to run system1 from outside, i get an unknown com status code error. When debuging the service and running it from the command window, and checking the values of the service, i noticed the following properties when inspecting my loService object:
Detail: Client:Incorrect number of parameters supplied for SOAP request HRESULT 0x80070057
FaultString: Client:Incorrect number of parameters supplied for SOAP request.
When running this many times, i noticed that there are different values for those properties for a few seconds, and then they state the above. Those properties are:
Detail: Client:Sending the soap message failed or no recognized response was received
FaultString: Client:Host not found.
As i said, after 1 or 2 seconds, these change to the parameters error.

In system2 all the above happens, but also from inside the network ( meaning i can't access this web service no matter what ).
Any help would be greatly appreciated, since these web services clients need to be distributed, and if it's not solid enough, i'll have to check other technologies.

Thanks in advance
Jaime
Why do programs stop working correctly as soon as you leave the Fox?
Next
Reply
Map
View

Click here to load this message in the networking platform