[MOBY-dev] async services

Romina Royo rroyo at lsi.upc.edu
Thu Feb 22 16:14:33 UTC 2007


Hello!

This is how I understood that async services should work (and how I'm 
implementing them so far).
Please anyone correct me if I'm doing it wrong!

For example:

The service runClustalwFast (authURI inb.bsc.es) is an asynchronous 
service.

It can be executed in a synchronous mode (like all sync services):

my $Service = MOBY::Client::Service->new(service => $WSDL);
my $result = $Service->execute(XMLinputlist => [['sequences', [$data,$data2]
                                        ]]);

and this would return the normal moby message.

Or it can be called in an asynchronous mode:

my $Service = MOBY::Async::Service->new(service => $WSDL);
my $result = $Service->execute(XMLinputlist => [['sequences', [$data,$data2]
                                        ]]);

which would _submit, _poll and finally return the results.

Is this the behauviour everyone is expecting?

Thanks!
Romina

Edward Kawas wrote:
> Hi,
>
>  
>
> I wanted to verify something. If a synchronous client calls an async
> service, the async service is meant to act in synchronous mode, right? Of
> the handful of services that I have seen that are asynchronous, I don't
> believe that is the case. I believe that I have seen them return a message
> that contained a job id, and not the 'normal' moby message. 
>
>  
>
> This question is aimed mainly at the good folks at the inb, as I believe
> they are the only ones to have implemented any real asynchronous services.
>
>  
>
> Thanks,
>
>  
>
> Eddie
>
>  
>
>  ***CONFIDENTIALITY NOTICE***
>
>  This electronic message is intended only for the use of the addressee and
> may contain information that is privileged and confidential. Any
> dissemination, distribution or copying of this communication by unauthorized
> individuals is strictly prohibited. If you have received this communication
> in error, please notify the sender immediately by reply e-mail and delete
> the original and all copies from your system.
>
>  
>
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
>   




More information about the MOBY-dev mailing list