Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error using SOAP client sample
Message
 
 
To
20/10/2002 16:41:58
General information
Forum:
Visual FoxPro
Category:
Web Services
Miscellaneous
Thread ID:
00713335
Message ID:
00713340
Views:
21
This works for me
loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
loWS.cWSName = "Language Translation"
loTranslate = loWS.SetupClient("http://www.xmethods.net/sd/2001/BabelFishService.wsdl", "BabelFishService", "BabelFishPort")
? loTranslate.BabelFish("en_es", "fox")
>I run the code from book "What is new in VFP7" :
>
>
>loWS = NEWOBJECT("Wsclient",HOME()+"ffc\_webservices.vcx")
>loTranslate = loWS.SetupClient("http://www.xmethods.net/sd/BabelFishService.wsdl", ;
>   "BabelFish", "BabelFishPort")
>
>
>and got an error in second line
>
>OLE IDispatch exception code 0 from SoapMapper: SoapMapper: The schema definition with a targetnamespace of http://www.w3.org/1999/XMLSchema for SoapMapper string could not be found HRESULT=0x80004005: Unspecifiede errro
>
>It it possible to use VFP to translate from one language to another ?
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform