Error in WSF-php: unhandler win32 exception in httpd.exe

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Error in WSF-php: unhandler win32 exception in httpd.exe

Jorge Infante Osorio

Hi folks.

I have a Data Service in AS 4.1.0 and I want to consume it operations using wsf-php.

 

I attach the .dbs file of this service.

 

This service have 5 operations:

 

select_with_key_estudiantes_operation

insert_estudiantes_operation

select_all_estudiantes_operation

update_estudiantes_operation

delete_estudiantes_operation

 

All this operations work but select_all_estudiantes_operation.

 

 

To generate the client I use the wsdl2php script and the wsdl attached, and I can consume the service in this way:

 

// define the class map

$class_map = array(

    "select_with_key_estudiantes_operation" => "select_with_key_estudiantes_operation",

    "estudiantesCollection" => "estudiantesCollection",

    "estudiantes" => "estudiantes",

    "insert_estudiantes_operation" => "insert_estudiantes_operation",

    "update_estudiantes_operation" => "update_estudiantes_operation",

    "delete_estudiantes_operation" => "delete_estudiantes_operation");

 

try {

 

    // create client in WSDL mode

    $client = new WSClient(array ("wsdl" =>"DirectorioEstudiantes.wsdl",

                                  "classmap" => $class_map));

 

    // get proxy object reference form client

    $proxy = $client->getProxy();

 

$input = new select_with_key_estudiantes_operation();

$input->id = 1;

 

$response = $proxy->select_with_key_estudiantes_operation($input);

                printf($response->estudiantes[0]->id);

                printf($response->estudiantes[0]->nombre);

                printf($response->estudiantes[0]->apellidos);

                printf($response->estudiantes[0]->anno_entrada);

                printf($response->estudiantes[0]->facultad);

                printf($response->estudiantes[0]->apto);

 

 

But with the select_all_estudiantes_operation I try to consume in the same way:

 

    // create client in WSDL mode

    $client = new WSClient(array ("wsdl" =>"DirectorioEstudiantes.wsdl",

                                  "classmap" => $class_map));

 

    // get proxy object reference form client

    $proxy = $client->getProxy();

               

               

$response = $proxy->select_all_estudiantes_operation();

   

                printf($response->estudiantes[0]->id);

                printf($response->estudiantes[0]->nombre);

                printf($response->estudiantes[0]->apellidos);

                printf($response->estudiantes[0]->anno_entrada);

                printf($response->estudiantes[0]->facultad);

                printf($response->estudiantes[0]->apto);

 

 

 

and I receive this error in Firefox when I call the client.php file in this line: $response = $proxy->select_all_estudiantes_operation();

 

 

Descripción: Descripción: cid:image003.png@01CC957D.AFD675A0

 

Hoe I can solve this?

 

Saludos,

Ing. Jorge Infante Osorio.

J´Dpto Soluciones SOA.

CDAE.

Fac. 5.

UCI.

 




_______________________________________________
Wsf-php-user mailing list
Wsf-php-user@...
https://wso2.org/cgi-bin/mailman/listinfo/wsf-php-user

DirectorioEstudiantes.dbs (5K) Download Attachment
DirectorioEstudiantes.wsdl.rar (2K) Download Attachment