necesito conectarme a un XML externo pero me piden envio de parametros por post y por SOAP o algo asi... ya probe de todo pero no puedo ver el archivo xml....
alguien que me pueda ayudar?
esto es lo que me dice que tengo que hacer:
--------------------------------------------
Retorna todoas las consultas superiores a id, en XML. Un xml vacio en caso de no encontrar registros que cumplan con los requisitos.
Parametros:
id:Codigo del ultimo articulo de inventario obtenido, 0 en caso de ser la primera.
user:El nombre de usuario.
pass:La clave de acceso.
cant:La cantidad de registros.
Test
The test form is only available for requests from the local machine.
SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /empresas/webservice/getdata.asmx HTTP/1.1
Host:
www.webexterna.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://subdominio.webexterna.com/getDataLimitAlgoXML"
Código:
<?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>
<getDataLimitCobrosXML xmlns="http://subdominio.webexterna.com/">
<id>int</id>
<modId>int</modId>
<user>string</user>
<pass>string</pass>
<cant>int</cant>
</getDataLimitCobrosXML>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
Código:
<?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>
<getDataLimitAlgoXMLResponse xmlns="http://subdominio.webexterna.com.py/">
<getDataLimitAlgoXMLResult>xml</getDataLimitAlgoXMLResult>
</getDataLimitAlgoXMLResponse>
</soap:Body>
</soap:Envelope>
--------------------------------