Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/02/2013, 16:12
jorge_anibal
 
Fecha de Ingreso: marzo-2003
Mensajes: 164
Antigüedad: 21 años, 1 mes
Puntos: 0
error consumiendo webservices

buen dia de ante mano gracias por la atencion, tengo este web services.



$wsdl = "http://19.10.1.1:8081/netcs/Service.asmx?wsdl";
$Soap = new SoapClient($wsdl, array('trace' => 1,'proxy_host' => '19.10.1.1',
'proxy_port' => 8081));
$param = array('tipoid'=>1,
'numeroi'=> 50sdfsdf18873,
'apellido'=>'sfdds',
'usuario'=>'gsfdysfr',
'clave'=>'k9');



//$Data = $Soap->CifinArchivoXML2($param);
//var_dump( $Soap->getDataCreditoNr( $param));


try {

$Data = $Soap->getDataNr($param);
var_dump ($Data);


echo "jorge". $Data->getDataNrResult;
}
catch (Exception $e)
{
echo "<pre>";
print_r($e);
echo "/<pre>";


y me esta entregando este error


SoapFault Object
(
[message:protected] => Server did not recognize the value of HTTP Header SOAPAction: http://192.1.0.12/getDataNr.
[string:Exception:private] =>
[code:protected] => 0
[file:protected] => /var/www/gggggg/DATA.php
[line:protected] => 20
[trace:Exception:private] => Array
(
[0] => Array
(
[file] => /var/www/PrU3V41777x/DATA.php
[line] => 20
[function] => __call
[class] => SoapClient
[type] => ->
[args] => Array
(
[0] => getDataNr
[1] => Array
(
[0] => Array
(
[tipoid] => 1
[numeroi] => 45654645
[apellido] => fdgfdgd
[usuario] => dfgd
[clave] => dfgdfgd
)

)

)

)

[1] => Array
(
[file] => /var/www/PrU3V41ghff777x/DATA.php
[line] => 20
[function] => getDataNr
[class] => SoapClient
[type] => ->
[args] => Array
(
[0] => Array
(
[tipoid] => 1
[numeroi] => 4543
[apellido] => fgdgd
[usuario] => fgdf
[clave] => fgdfgd
)

)

)

)

[previous:Exception:private] =>
[faultstring] => Server did not recognize the value of HTTP Header SOAPAction: http://19.1.0.192/getDataCreditoNr.
[faultcode] => soap:Client
[detail] =>
)
/

alguien me podria colaborar con esto que no se que es lo que esta sucediendo.


mil gracias