Hi, Friends,
I am consuming a webservice using SOAP .net Engine (pbwsclient170.pbx)
https://celcer.sri.gob.ec/comprobantes-electronicos-ws/AutorizacionComprobantesOffline?wsdl
but the message is (INVALID RESULTSET PARAMETER TYPE WAS DETECTED); in a retrieval datawindow
2. When I try creating soap connection, it returns empty (0)
Please Any idea to do it directly without third-party
PD: return a Object content in other Object, but the object return [0]
Thanks,
I use PB WS proxy
Soapconnection conn
autorizacioncomprobantesofflineservice lnv_webservice //proxy object
respuestacomprobante lnv_autorizarepcomp //instance object returned (respuestacomprobante is a object created since ( https://celcer.sri.gob.ec/comprobantes-electronicos-ws/AutorizacionComprobantesOffline?wsdl)
autorizacion lnv_autoriza
mensaje lnv_mensaje
string ls_estado
long li_rc
conn= Create Soapconnection
li_rc=conn.CreateInstance(lnv_webservice,'autorizacioncomprobantesofflineservice')
try
lnv_autorizarepcomp=lnv_webservice.autorizacioncomprobante('2812201707170097910500110030020000000241234567817')
messagebox("Exito","")
catch (Soapexception e)
messagebox("Error",e.GetMessage())
finally
destroy(conn)
end try
//////////////////////////////////
This object returN:
respuestacomprobante lnv_autorizarepcomp
autorizacion autorizaciones[0] --->autorizacion is other object created since el web service
claveaacesoaconsultada="2812201707170097910500110030020000000241234567817"
numcomprobantes="1"
the problem is that autorizaciones[0] when must return some properties of object autorizacion.fecha; autorizacion.numeroautorizacion .......
the web sevice no return structures if not objects
Is there a process like serialization ?
thanks
regards,
I use PB WS proxy
Soapconnection conn
autorizacioncomprobantesofflineservice lnv_webservice //proxy object
respuestacomprobante lnv_autorizarepcomp //instance object returned (respuestacomprobante is a object created since ( https://celcer.sri.gob.ec/comprobantes-electronicos-ws/AutorizacionComprobantesOffline?wsdl)
autorizacion lnv_autoriza
mensaje lnv_mensaje
string ls_estado
long li_rc
conn= Create Soapconnection
li_rc=conn.CreateInstance(lnv_webservice,'autorizacioncomprobantesofflineservice')
try
lnv_autorizarepcomp=lnv_webservice.autorizacioncomprobante('2812201707170097910500110030020000000241234567817')
messagebox("Exito","")
catch (Soapexception e)
messagebox("Error",e.GetMessage())
finally
destroy(conn)
end try
//////////////////////////////////
This object returN:
respuestacomprobante lnv_autorizarepcomp
autorizacion autorizaciones[0] --->autorizacion is other object created since el web service
claveaacesoaconsultada="2812201707170097910500110030020000000241234567817"
numcomprobantes="1"
the problem is that autorizaciones[0] when must return some properties of object autorizacion.fecha; autorizacion.numeroautorizacion .......
the web sevice no return structures if not objects
Is there a process like serialization ?
thanks
regards,