[MOBY-dev] Asynchronous web-service SOAP::Lite ERROR

jmrodriguez jmrodriguez at cnio.es
Wed May 13 09:19:32 UTC 2009


Bonjour,

I guess one problem is the WSRF constants that you use.

You have to use these ones:
    
$WSRF::Constants::WSRPW.'/GetResourceProperty/GetResourcePropertyRequest'
    
$WSRF::Constants::WSRPW.'/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest'
    $WSRF::Constants::WSRLW.'/ImmediateResourceTermination/DestroyRequest'

$WSRF::Constants::WSRPW='http://docs.oasis-open.org/wsrf/rpw-2'
$WSRF::Constants::WSRLW='http://docs.oasis-open.org/wsrf/rlw-2'

I hope is useful


Cheer,
J




Sebastien Carrere wrote:
> Bonjour,
>
> I try to deploy asynchronous web-services using perl API.
> I've got a SOAP error message when calling 
> "http://docs.oasis-open.org/wsrf/rp-2/GetMultipleResourceProperties" 
> (call for poll I think):
>
> ERROR:  Failed to access class (wsrf::rp-2) at 
> /www/www-bioinfo/biomoby/analysis/test/lib//SOAP/Lite.pm line 2628.
>
> Does someone already have such a problem ?
> I use SOAP::Lite rel 0.710.05.
>
>
> Here is a part of what my dispatcher contains:
>
> use SOAP::Transport::HTTP;
> use SOAP::Lite;
> use MOBY::Async::WSRF;
> use MOBY::Async::SimpleServer;
>
> MAIN:
> {
>    my $cgi_object = new SOAP::Transport::HTTP::CGI;
>    $cgi_object->serializer(WSRF::Serializer->new);
>    $cgi_object->deserializer(WSRF::Deserializer->new);
>    $cgi_object->on_action(sub{});
>
>    my $rh_services = &GetServicesFromDispatcherScriptName();
>
> #$WSRF::Constants::WSRP  = 'http://docs.oasis-open.org/wsrf/rp-2';
> #$WSRF::Constants::WSRL  = 'http://docs.oasis-open.org/wsrf/rl-2';
>    
> $rh_services->{$WSRF::Constants::WSRP.'/GetResourceProperty/GetResourcePropertyRequest'} 
> = 'MOBY::Async::SimpleServer';
>    
> $rh_services->{$WSRF::Constants::WSRP.'/GetMultipleResourceProperties/GetMultipleResourcePropertiesRequest'} 
> = 'MOBY::Async::SimpleServer';
>    
> $rh_services->{$WSRF::Constants::WSRL.'/ImmediateResourceTermination/DestroyRequest'} 
> = 'MOBY::Async::SimpleServer';
>      $cgi_object->dispatch_with($rh_services);
>    $cgi_object->handle;
> }
>
>
> merci,
>
> Sebastien
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>   


-- 
Have you tried CARGO?
http://cargo2.bioinfo.cnio.es/

*********************
José Manuel Rodríguez Carrasco            e-mail: jmrodriguez at cnio.es
Tlfn:    (+34) 91 732 80 00 ext: 2256     Fax:    (+34) 91 224 69 76
Bioinformatic Unit
Spanish National Cancer Center (CNIO) http://www.cnio.es
Zip Code: 28029
Address: C/. Melchor Fernández Almagro nº 3, Madrid (Spain) 


**NOTA DE CONFIDENCIALIDAD** Este correo electrónico, y en su caso los ficheros adjuntos, pueden contener información protegida para el uso exclusivo de su destinatario. Se prohíbe la distribución, reproducción o cualquier otro tipo de transmisión por parte de otra persona que no sea el destinatario. Si usted recibe por error este correo, se ruega comunicarlo al remitente y borrar el mensaje recibido.
**CONFIDENTIALITY NOTICE** This email communication and any attachments may contain confidential and privileged information for the sole use of the designated recipient named above. Distribution, reproduction or any other use of this transmission by any party other than the intended recipient is prohibited. If you are not the intended recipient please contact the sender and delete all copies.




More information about the MOBY-dev mailing list