Web Service con Php -Websphere

Forums: 

Saludos..

TEngo montado un web service que recibe un xml en formato string y retorna el mismo string como respuesta, cuando lo invoco desde un cliente php funciona, sin embargo cuando lo invoco desde un servidor websphere con envoltura soap, me llega información en blanco, no se si sea tema de codificacion o algo asi....

Por favor su ayuda o comentario
:(
SERVER : APACHE 2.0
PHP: Version 5.3.2

SERVER WEBSPHERE : VERSION 6.1

Adjunto el codigo del servidor EN PHP

<?php
// Pull in the NuSOAP code
require_once("/www/lib/nusoap.php");

// Create the server instance
$server = new soap_server();
// Initialize WSDL support
$server->configureWSDL('Pedidoswsdl', 'urn:Pedidoswsdl');
// Register the method to expose
$server->register('Pedidos', // method name
array('dato' => 'xsd:string'), // input parameters
array('dato' => 'xsd:string'), // output parameters
'urn:Pedidoswsdl', // namespace
'urn:Pedidoswsdl#Pedidos', // soapaction
'rpc', // style
'encoded', // use
'Sube Pedidos' // documentation
);

// Define the method as a PHP function
function Pedidos($dato) {
if (!utf8_decode($dato))
return "string no codificado";
Genera_Archivo($dato);
return $dato;
}

//funcion genera archivo
function Genera_Archivo($data)
{
$fecha =date("dmy_hisA");
$fecha2=date("M d Y H:i:s");

$archivo="sislog_".$fecha2.".xml";
$newfile="/var/www/html/ws/xml_file/".$archivo;
$file = fopen ($newfile, "w");
fwrite($file, $data);
fclose ($file);
}
// Use the request to (try to) invoke the service
$HTTP_RAW_POST_DATA = isset($HTTP_RAW_POST_DATA) ? $HTTP_RAW_POST_DATA : '';
$server->service($HTTP_RAW_POST_DATA);
?>

Hola que tal.. No se de nadie

Imagen de NEO

Hola que tal..

No se de nadie que utilice WS en php sin quejarse. Me incluyo

Y probaste hacer un =>call del método que necesitas
y al resultado darle un


echo "";
print_r($resultado);
echo "";

Para que veas cómo te llega el chorizo de información

Saludos
NEO