Ver Mensaje Individual
  #1 (permalink)  
Antiguo 18/11/2005, 18:23
Avatar de stone_neo
stone_neo
 
Fecha de Ingreso: abril-2004
Ubicación: Peru
Mensajes: 438
Antigüedad: 20 años
Puntos: 15
Web Service en PHP

Hola gente del foro, tengo un pequeño problema con web services en PHP. Miren por ejemplo hago este pequeño web services :

Código:
<?
//Servicio web PHP
//
require('nusoap/lib/nusoap.php');
$servidor=new soap_server;
$servidor->register('doble');
function doble($numero)
{	
$doble=$numero*2;	
return "El doble es $doble";
}
$servidor->service($HTTP_RAW_GET_DATA);
?>
Ahora para invocarlo, hago un formulario :

Código:
<form action="http://localhost/servicioweb/servicioweb.php" method="POST">
<input type="text" name="numero"><br>
<input type="submit" value="Calcular">
</form>
y al invocarlo me sale el siguiente error :

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php on line 2596

Warning: Cannot modify header information - headers already sent by (output started at C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php:2596) in C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php on line 1523

Warning: Cannot modify header information - headers already sent by (output started at C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php:2596) in C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php on line 1523

Warning: Cannot modify header information - headers already sent by (output started at C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php:2596) in C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php on line 1523

Warning: Cannot modify header information - headers already sent by (output started at C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php:2596) in C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php on line 1523

Warning: Cannot modify header information - headers already sent by (output started at C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php:2596) in C:\Sites\Single9\rockbeach\webroot\fdd\service\nus oap.php on line 1523
Server method '' not defined in service ''

No se que estare haciendo mal, haber si alguien me podria ayudar.
__________________
Rubén Darío Huamaní Ucharima
Web : http://www.gorilla-soft.com
Usuario Linux #382 100 :-)