[MOBY-l] MobyRequest or CentralImpl ?

Martin Senger senger at ebi.ac.uk
Tue May 18 08:04:03 UTC 2004


>   Any opinions about which one I should be using ?
>
   Actually, the third one - which does not exist yet :-)
   More seriously:

   1) The doCall of CentralImpl is there as a "side-effect". It was never 
meant to be used regularly but the life proved differently. The whole 
CentralImpl was meant to be used to access Moby registries, not the Moby 
services, but the method doCall was there so people started to use it. And 
it will still be there, so you are safe to use it.

   2) Then Paul started with MobyRequest. I have not used it myself so I 
cannot compare it - but I know that MobyRequest was meant to provide not 
only a simple call to a service (such as doCall in CentralImpl) but also 
to help with building the input XML query object and possibly to decode 
the returned result XML object.

   So, if you are looking just how to call a service, both methods will do 
it for you (but as I said I may be mistaken because I have not used 
MobyRequest myself).

   3) So, why did I start this reply with the third option? Because I 
still hope to write a code that will help service providers hopefully 
more that any of the two methods you mentioned. But it does not exist 
yet...

   Martin

-- 
Martin Senger

EMBL Outstation - Hinxton                Senger at EBI.ac.uk     
European Bioinformatics Institute        Phone: (+44) 1223 494636      
Wellcome Trust Genome Campus             (Switchboard:     494444)
Hinxton                                  Fax  : (+44) 1223 494468
Cambridge CB10 1SD
United Kingdom                           http://industry.ebi.ac.uk/~senger




More information about the moby-l mailing list