HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/Ticket HTTP/1.1
Host: informativas.sar.gob.hn
Content-Type: application/xml
Content-Length: length
<Ticket xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DEI.Port.Reception">
<conError>false</conError>
<idTransaccion>String</idTransaccion>
<mensajes>
<Mensaje>
<codigo>0</codigo>
<descripcion>String</descripcion>
<tipo>0</tipo>
</Mensaje>
</mensajes>
</Ticket>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ResultadoTransaccion xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DEI.Port.Reception.Services">
<adjuntos>
<Adjunto>
<archivo>AA==</archivo>
<contentType>String</contentType>
<descripcion>String</descripcion>
<nombre>String</nombre>
</Adjunto>
</adjuntos>
<finalizo>false</finalizo>
<mensajes xmlns:d2p1="http://schemas.datacontract.org/2004/07/DEI.Port.Reception">
<d2p1:Mensaje>
<d2p1:codigo>0</d2p1:codigo>
<d2p1:descripcion>String</d2p1:descripcion>
<d2p1:tipo>0</d2p1:tipo>
</d2p1:Mensaje>
</mensajes>
</ResultadoTransaccion>