Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/11/2011, 14:30
Avatar de @padawan@
@padawan@
 
Fecha de Ingreso: julio-2005
Mensajes: 393
Antigüedad: 19 años, 4 meses
Puntos: 6
Respuesta: Error al consumir un WebServices con NuSoap.

Agrego la descripcion de Nusoap del request y el response a ver si ayuda en algo.

Código:
Request

POST /ws.php HTTP/1.0
Host: implementacion.nps.com.ar:443
User-Agent: NuSOAP/0.9.5 (1.123)
Content-Type: text/xml; charset=UTF-8
SOAPAction: "https://implementacion.nps.com.ar/ws.php/PayOnLine_3p"
Content-Length: 606

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://xxxx.com.ar/ws"><SOAP-ENV:Body><tnsmetodows xmlns:tns="https://xxxx.com.ar/ws"><Requerimiento xsi:nil="true" xsi:type="tns:RequerimientoStruct_metodows"/></tns:metodows></SOAP-ENV:Body></SOAP-ENV:Envelope>


Response

HTTP/1.1 200 OK
Date: Tue, 15 Nov 2011 20:06:35 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g
X-Powered-By: PHP/5.2.6-1+lenny9
Content-Length: 1926
Content-Type: text/html; charset=UTF-8

<br />
<b>Warning</b>:  Invalid argument supplied for foreach() in <b>/xxxxx/lib/page.php</b> on line <b>107</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /xxxxx/lib/page.php:107) in <b>/xxxxx/lib/NuSoap/nusoap.php</b> on line <b>4272</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /xxxxx/lib/page.phpp:107) in <b>/xxxxx/lib/NuSoap/nusoap.php</b> on line <b>4272</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /xxxxx/lib/page.php:107) in <b>/xxxxx/lib/NuSoap/nusoap.php</b> on line <b>4272</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /var/www/psp/psp/psp/lib/psp_card_number.php:107) in <b>/xxxxx/lib/NuSoap/nusoap.php</b> on line <b>4272</b><br />
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://xxxx.com.ar/ws"><SOAP-ENV:Body><ns1:metodowsResponse xmlns:ns1="https://xxxx.com.ar/ws"><Respuesta xsi:type="tns:RespuestaStruct_metodows"><ResponseCod xsi:type="xsd:string">10</ResponseCod><ResponseMsg xsi:type="xsd:string">Error de procesamiento detectado en XXX</ResponseMsg><ResponseExtended xsi:type="xsd:string">Error Interno 1010 - Error no especificado</ResponseExtended></Respuesta></ns1:metodowsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>