<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
/**
Be sure you've both PEAR installed on your web server
and that all the required PEAR modules have been installed
*/
try{
$usuario="a";
$pass="1";
$clienteSOAP = new SoapClient('http://www.tucomputador.com/wsdl/consultar.wsdl', array('exceptions' => 0));
$resultado_consulta = $clienteSOAP->consultar($usuario,$pass);
echo "si ves esto, funciona Falta conexion a BDD de MYSQLy anexarlo a donde se necesite <br/>";
echo $resultado_consulta;
} catch(SoapFault $e){
var_dump($e);
}
?>
Fatal error: Uncaught Error: Class "SoapClient" not found in /in/aEVJS:14
Stack trace:
#0 {main}
thrown in /in/aEVJS on line 14
Process exited with code 255.
Fatal error: Uncaught Error: Class 'SoapClient' not found in /in/aEVJS:14
Stack trace:
#0 {main}
thrown in /in/aEVJS on line 14
Process exited with code 255.