[Lazarus-es] Pruebas Web Service

Miguel miguel.araya.e en gmail.com
Mie Feb 26 17:27:47 CET 2014


Hola amigos de la lista. Les comento que mis pruebas con el web service 
toolkit para comsumir un wsdl del servicio de impuestos internos de 
chile (sii) aun no me funciona.
Martin me envio unos link donde comentaban como solucionar el error de 
transporte:

https://groups.google.com/forum/#!topic/wst-list/-vz1oLGXEGw 
<https://groups.google.com/forum/#%21topic/wst-list/-vz1oLGXEGw>

y lo dirigen hacia aqui:
http://synapse.ararat.cz/doku.php/public:howto:sslplugin

Agregé la unidad ssl_openssl como se indica allí y me arrojo el 
siguiente error al llamar la funcion getSeed:

code="ns1:Client.NoSoapAction"
Message="no SoapActionHeader header!"

Buscando el porque de este error, encontré que habia que llamar la 
funcion con inicializacion de soapaction de la siguiente manera:
s:=wst_CreateInstance_CrSeed('SOAP:','HTTP:SoapAction="";');

(antes la llamaba s:=wst_CreateInstance_CrSeed)

Ahora al llamar a la funcion de esta manera no arroja ningun error, pero 
no recupera el string con formato xml.
Como les indiqué anteriormente no tengo experiencia en programacion 
internet. Cualquier sugerencia será bien recibida.

Lazarus 1.0
pascal 2.6.1

Atte.
Miguel Araya E.
Chile, Chillan
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus-es/attachments/20140226/5f963c6e/attachment-0002.html>


More information about the Lazarus-es mailing list