To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/Informes HTTP/1.1
Host: ws01.nosis.com
Content-Type: application/xml
Content-Length: length
<Informes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.nosis.com/sac/ws01/types">
<Usuario>String</Usuario>
<Token>String</Token>
<Ticket>String</Ticket>
</Informes>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<InformesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.nosis.com/sac/ws01/types">
<Contenido>
<Pedido>
<Usuario>0</Usuario>
<Ticket>String</Ticket>
</Pedido>
<Resultado>
<Estado>0</Estado>
<Novedad>String</Novedad>
<Tiempo>0</Tiempo>
<FechaRecepcion>String</FechaRecepcion>
<Transaccion>String</Transaccion>
<Referencia>String</Referencia>
<Servidor>String</Servidor>
<Version>String</Version>
</Resultado>
<Datos>
<Documento>String</Documento>
<Informe>AA==</Informe>
</Datos>
</Contenido>
</InformesResponse>