Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incorporating web service into vfp
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Incorporating web service into vfp
Divers
Thread ID:
01543475
Message ID:
01543475
Vues:
115
I incorporated a web services function that was developed to communicate with a remote server, into VFP as follows:
LOCAL oProxy
oProxy = CREATEOBJECT("MSSOAP.SoapClient30")
oProxy.MSSoapInit("https://www.soljen-websrvc.com/EligibilityHealthInsurance.asmx?wsdl")
return_data = oProxy.CheckEligibility("", "", req_type, vendor, prov_npi, param6, param7, param8, param9, param10, param11, param12)
The remote server is Windows based and the above code works fine. The next part of the process involves having this server communicate
with a UNIX server. I have tested the communication with the UNIX server from a DOS session and it works fine. I am trying to incorporate
this into the VFP as follows:
LOCAL oProxy
oProxy = CREATEOBJECT("MSSOAP.SoapClient30")
oProxy.MSSoapInit("https://websrv01.physician-to-go.net/proxy.cgi/EligibilityHealthInsurance.asmx?wsdl")
return_data = oProxy.CheckEligibility("", "", req_type, payer_code, prov_npi, fname, lname, pdob, psex, payer_code, policy, dos)
I get an error, OLE error code 0x80020006, on the oProxy.MSSoapInit statement which reads as follows:

OLE IDispatch exception code 0 from WSDLReader;
WSDLReader:XML Parser failed at linenumber0, lineposition 0,
reason is;unrecognized coding.
HRESULT=0x1: Incorrect function.
- WSDLReader:Loading of the WSDL file failed
HRESULT=0x80070057; The parameter is incorrect.
- Client:one of the parameter is invalid.
HRESULT= 0x80070057; The parameter is incorrect.

Is this a result of the fact that the server is not a Windows server or is this somoe other error that I should be looking at?

Mark
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform