Request:
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"
- Code: Select all Expand view
<?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>
To recieve this:
Código:
Respuesta:
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
- Code: Select all Expand view
<?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>
I will really appreciate any help on this topic.
Thanks in advance.