Foros del Web » Programando para Internet » PHP »

PHP OO error nusoap

Estas en el tema de error nusoap en el foro de PHP en Foros del Web. Hola, estoy ejecutando las siguientes lineas require_once('lib/nusoap.php'); $adonde='http://xx.xx.xx.xx:xx/WebServices/WebServicesSP.asmx?WSDL'; $oSoapClient = new nusoap_client($adonde, true); $aParametros = array("Usuario" => $_SESSION['UserLogueado'], "Clave"=>$_SESSION['PassLogueado'], "Numero"=>$_SESSION['EEscNumero'], "Roll"=>$_SESSION["spr-rol"], "idAlumno"=>'0', "Asistencia"=>$Cadena); $pag_error="Location:/error-kill.php"; if ...
  #1 (permalink)  
Antiguo 28/12/2013, 20:35
 
Fecha de Ingreso: febrero-2012
Mensajes: 4
Antigüedad: 12 años, 2 meses
Puntos: 0
Exclamación error nusoap

Hola, estoy ejecutando las siguientes lineas
require_once('lib/nusoap.php');

$adonde='http://xx.xx.xx.xx:xx/WebServices/WebServicesSP.asmx?WSDL';
$oSoapClient = new nusoap_client($adonde, true);

$aParametros = array("Usuario" => $_SESSION['UserLogueado'], "Clave"=>$_SESSION['PassLogueado'], "Numero"=>$_SESSION['EEscNumero'],
"Roll"=>$_SESSION["spr-rol"], "idAlumno"=>'0', "Asistencia"=>$Cadena);

$pag_error="Location:/error-kill.php";

if ($sError = $oSoapClient->getError()) {
header($pag_error);
}

$respuesta = $oSoapClient->call($metodo,$aParametros);

... y me da este error... que podrá ser?? ya he intentado de todo!! obviamente tengo instanciadas la variable $Asistencia que es un string(16) ...

Client Faultsoap:Client: System.Web.Services.Protocols.SoapException: El servidor no puede leer la solicitud. ---> System.InvalidOperationException: Error en el documento XML (1, 479). ---> System.FormatException: La cadena de entrada no tiene el formato correcto. en System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) en System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) en System.Xml.XmlConvert.ToInt32(String s) en Microsoft.Xml.Serialization.GeneratedAssembly.XmlS erializationReader1.Read31_InsertarAsistencia() en Microsoft.Xml.Serialization.GeneratedAssembly.Arra yOfObjectSerializer60.Deserialize(XmlSerialization Reader reader) en System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) --- Fin del seguimiento de la pila de la excepción interna --- en System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) en System.Xml.Serialization.XmlSerializer.Deserialize (XmlReader xmlReader, String encodingStyle) en System.Web.Services.Protocols.SoapServerProtocol.R eadParameters() --- Fin del seguimiento de la pila de la excepción interna --- en System.Web.Services.Protocols.SoapServerProtocol.R eadParameters() en System.Web.Services.Protocols.WebServiceHandler.Co reProcessRequest()


gracias desde ya por las ayudas!!

Etiquetas: nusoap, variable
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 19:40.