Neil Toulouse
Programmer
Hi Guys!
I am playing around with some simple web service integration in VFP so took a simple 'free' example web service off the web to play with. I have coded it as such:
The error received is on the 'lcResult...' line (after quite sometime):
The WSDL checks out OK on the web, so I guess I am implementing it wrong, or our network is stopping it for some reason.
Can anyone shed some light, or confirm it works?
TIA
Neil
I like work. It fascinates me. I can sit and look at it for hours...
I am playing around with some simple web service integration in VFP so took a simple 'free' example web service off the web to play with. I have coded it as such:
Code:
LOCAL oWebService, lcResult
oWebService = CREATEOBJECT("MSSOAP.SoapClient30")
oWebService.MSSoapInit("[URL unfurl="true"]http://www.webservicex.net/CurrencyConvertor.asmx?WSDL")[/URL]
lcResult = oWebService.ConversionRate("MXN","GBP")
RELEASE oWebService
The error received is on the 'lcResult...' line (after quite sometime):
Code:
OLE IDispatch exception code 0 from Connector: Connector:Host not found. HRESULT=0x800A1521 - Client:An unanticipated error occurred during the processing of this request. HRESULT=0x800A1521 - Client:Sending the Soap message failed or no recognizable response was received HRESULT=0x800A1521 - Client:Unspecified client error. HRESULT=0x800A1521..
The WSDL checks out OK on the web, so I guess I am implementing it wrong, or our network is stopping it for some reason.
Can anyone shed some light, or confirm it works?
TIA
Neil
I like work. It fascinates me. I can sit and look at it for hours...