Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot instanstiate Web Service in some PC's
Message
De
22/03/2017 14:25:34
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Cannot instanstiate Web Service in some PC's
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01649258
Message ID:
01649258
Vues:
61
I am testing my app in other PC's and in some of them it cannot instanstiate the web service. I use this sentences (as generated by dragging it from VFP Toolbox into my program, but I show only the two sentences that are of interest):
	loWSHandler = NEWOBJECT("WSHandler",IIF(VERSION(2)=0,"",HOME()+"FFC\")+"_ws3client.vcx")
	loWSComfiar = loWSHandler.SetupClient("http://test.comfiar.com.pe/ws/wscomfiar.asmx?wsdl", "WSComfiar", "WSComfiarSoap")
It does not raise any error and at the end loWSHandler IS an object, as it should be, but loWSComfiar is an empty string, not an object, which is wrong. After researching I found that the ErrorMessage property of loWSHandler contains this:

"OLE IDispatch exception code 0 from WSDLReader: WSDLReader:XML Parser failed at linenumber 0, lineposition 0, reason is: Error when downloading requested resource."

However on mi PC which is also Windows 10, 64 bits and is also in the same network it does not show any error. loWSComfiar is an object and ErrorMessage property of loWSHandler contains .F.

Any ideas?
Répondre
Fil
Voir

Click here to load this message in the networking platform