Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems to register a web service
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Problems to register a web service
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01588332
Message ID:
01588332
Vues:
102
Hello all.
I'm trying to connect to a couple web services.
*https://celcer.sri.gob.ec/comprobantes-electronicos-ws/AutorizacionComprobantes?wsdl
*https://celcer.sri.gob.ec/comprobantes-electronicos-ws/RecepcionComprobantes?wsdl

I'm using this syntax
LOCAL lowikiwebservice AS "MSSOAP.SoapClient30"
LOCAL lowikiwebservice AS "XML Web Service"
loWSHandler = NEWOBJECT("WSHandler", IIF(VERSION(2) = 0, "", HOME() + "FFC\") + "_ws3client.vcx")
lowikiwebservice = loWSHandler.SetupClient("https://celcer.sri.gob.ec/comprobantes-electronicos-ws/RecepcionComprobantes?wsdl")
But i'm not getting the method I need to use.

If I try to register the web service in the toolbox I get an error: "Field COMFILE does not accept null values"

They also include these lines in their documentation:
@WebMethod
@WebResult(name = "RespuestaRecepcionComprobante")
public RespuestaSolicitud validarComprobante(@WebParam(name = "XML") byte [] XML)
But I don't know what it means.

Thank you in advance for your help.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform