Code: Select all
olicitud:
POST /inacapi/cargartablas.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://Server/inacapi/cargartablas/Producer"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Producer xmlns="http://Server/inacapi/cargartablas">
<Producers>
<Producer>
<ProducerCode>int</ProducerCode>
<ProducerName>string</ProducerName>
<ProducerRUC>long</ProducerRUC>
<DepartmentCode>int</DepartmentCode>
<RegType>int</RegType>
</Producer>
<Producer>
<ProducerCode>int</ProducerCode>
<ProducerName>string</ProducerName>
<ProducerRUC>long</ProducerRUC>
<DepartmentCode>int</DepartmentCode>
<RegType>int</RegType>
</Producer>
</Producers>
</Producer>
</soap:Body>
</soap:Envelope>
Code: Select all
Respuesta:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ProducerResponse xmlns="http://Server/inacapi/cargartablas">
<ProducerResult>int</ProducerResult>
</ProducerResponse>
</soap:Body>
</soap:Envelope>