Code: Select all | Expand
olicitud: POST /inacapi/cargartablas.asmx HTTP/1.1Host: localhostContent-Type: text/xml; charset=utf-8Content-Length: lengthSOAPAction: "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>
a fin de recibir esta respuesta:
Code: Select all | Expand
Respuesta:HTTP/1.1 200 OKContent-Type: text/xml; charset=utf-8Content-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>
Alguien ha trabajado con web servers y me puede ayudar con alguna pista de como hacerlo?