We have a third party web service running on a local computer. This WS monitors PBX (phone system - incoming/outgoing calls etc.)
WS can be accessed by typing the following in IE:
http://localhost/consoleNET/bksxmlservice.asmx. This page provides description of available methods.
One of the methods getAllCalls() can be invoked by clicking a button. It returns an XML string. Something like this:
[XMLRTINFO]
[XMLBCALLS]
[PBXID]1[/PBXID]
[CallDur]00:08[/CallDur]
[cmdID]-1[/cmdID]
[Line][/Line]
[myUID]6.32625579569661E+17[/myUID]
[CallID]48[/CallID]
[status]3[/status]
[callType]0[/callType]
[dev0]L151[/dev0]
[dev1]319[/dev1]
[ToEXT][/ToEXT]
[Dir]IN[/Dir]
[DNIS]4206[/DNIS]
[Name]Unavailable[/Name]
[Number]1234567890[/Number]
[IntLine]65535[/IntLine]
[IntLineDN]4206[/IntLineDN]
[IntLineName]XYZ[/IntLineName]
[gotInf]1[/gotInf]
[/XMLBCALLS]
[/XMLRTINFO]
This string is shown in IE (except that I replaced all angle brackets since they get stripped out. Originally it was valid XML string). This proves that WS is working properly and method returns what is expected.
Now. I'm trying to call the same method from VFP8.
gcURL = "
http://localhost/Console20/BksXmlService.asmx?wsdl"
oSOAP = CREATEOBJECT("MSSoap.SoapClient30")
oSOAP.MSSoapInit(gcURL)
gcXML = oSOAP.getAllCalls()
?gcXML
Code executes without error. But at the end variable gcXML has only [XMLRTINFO][/XMLRTINFO].
Have run both of them multiple times simultaneously. IE always returns some calls. VFP never does.
What might be the issue?