[MOBY-dev] Calling moby-async category services

Sylvie Huchet sylvie.huchet at enst-bretagne.fr
Wed Jan 23 16:05:09 UTC 2008


Hi Paul,

It seems that MobyRequest does not handle both synchronous and asynchronous
calls tranparently...

The invokeService() method that can be called for asynchronous calls does not
defines any handler to manage asynchronous calls. And thus the
performAsyncSOAPRequest method does not return any result.
In addition, the asynchronous part of the invokeService does not initialize the
contentsXML which leads to a NullPointerException.

Regards,
Sylvie.


Paul Gordon a écrit :
> Hi Sylvie,
> 
> The current class that implements asynchronous service calls is
> MobyRequest (via AsyncClient).  You can find both synchronous and
> asynchronous services by setting the Service category to the empty
> string ("") before calling CentralImpl.  As Martin mentions below, the
> mechanism currently used to run asynchronous services will change next
> year (so there will probably be other ways to call async services
> introduced), but the MobyRequest API will not need to change. 
> MobyRequest handles both synchronous and asynchronous calls transparently.
> 
> Regards,
> 
> Paul
> 
> Martin Senger wrote:
> 
>>> I'd like to know how asynchronous services (category moby-async) can be
>>> called
>>> using the java API
>>>     
>>
>>
>>
>> It is on the to-do list. A good opportunity to implement it will be the
>> second week of February where several BioMoby developers meet at the
>> Biohackaton in Japan. I hope to use this event to remove most of the
>> items
>> from my long-standing moby-to-do list. I am sorry for the delay.
>>
>> Martin
>>
>>   
> 
> _______________________________________________
> MOBY-dev mailing list
> MOBY-dev at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/moby-dev
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sylvie.huchet.vcf
Type: text/x-vcard
Size: 215 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/moby-dev/attachments/20080123/6aee6721/attachment-0002.vcf>


More information about the MOBY-dev mailing list