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
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:
01588433
Vues:
96
When I put the NVL function in the method addfoxcode
MODIFY CLASS _WebServices OF "C:\Program Files (x86)\Microsoft Visual FoxPro 9\Ffc\_ws3utils.vcx"
I save the class but when I go back to it, the change I've just made is gone !

>Hi Carlos,
>
>I am not sure if this is your case, but take a look at
>
>2. Web Services Registration - If field returns NULL then error registering Web Service - _w3sutils.vcx _webservices.addfoxcode
>
>http://fox.wikis.com/wc.dll?Wiki~SolutionsToVFP9SP2Bugs
>
>hth
>Andrzej
>
>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform