[MOBY-dev] async services

Edward Kawas edward.kawas at gmail.com
Thu Feb 22 16:17:37 UTC 2007


Hi Romina,

So you are describing what I actually thought is supposed to happen. I am
just slightly confused, because while we were debugging some of the wsdl
issues, I remember that one of the async services when called in sync mode
returned a job id.

Maybe that was just a one time thing ...

Eddie

-----Original Message-----
From: moby-dev-bounces at lists.open-bio.org
[mailto:moby-dev-bounces at lists.open-bio.org] On Behalf Of Romina Royo
Sent: Thursday, February 22, 2007 8:15 AM
To: Core developer announcements
Subject: Re: [MOBY-dev] async services

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
>   

_______________________________________________
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