[MOBY-dev] what is correct "Service List Response Object"?

Martin Senger senger at ebi.ac.uk
Mon Mar 8 20:29:21 UTC 2004


Mark,
   I am trying to fix a bug discovered today by Viji in jMoby and I found
some inconsistencies. Please advise what I should expect:

1) The API documentation on the web says:

<Services>
<Service authURI="authority.URI.here" serviceName="MyService">
   <serviceType>Service_Ontology_Term</serviceType>
   <Protocol>moby</Protocol> <!-- or 'cgi' or 'soap' -->
   <URL>http://service.endpoint.here/scriptname</URL>
   <contactEmail>your at email.addy.here</contactEmail>
   <authoritative>1</authoritative>
   <Input>
      ...
   </Input>
   <Output>
      ...
   </Output>
   <secondaryArticles>
      ...
   </secondaryArticles>
   <Description><![CDATA[free text description here]]></Description>
</Service>
...

2) The value returned from your BioMoby server is (see that some tags are
different, and also the tag order is slightly different):

<Services>
<Service authURI='mips.gsf.de' serviceName='getElementsOfType'>
   <serviceType>Retrieval</serviceType>
   <authoritative>1</authoritative>
   <Category>moby</Category>
   <Description>...</Description>
   <contactEmail>viji at gsf.de</contactEmail>
   <URL>http://146.107.217.144/axis/services/RetrieveElements-MobyService</URL>
   <Input>
   ...
   </Input>
   <Output>
   ...
   </Output>
</Service>
...

3) And, just pro-forma, this is the version which was so far used by jMoby
(which is now obviously obsolete and I am going to fix it):

<Services>
<Service authURI="authority.URI.here" serviceName="MyService">
   <serviceType>Service_Ontology_Term</serviceType>
   <Category>moby</Category> <!-- or 'cgi' or 'soap' -->
   <authoritative>1</authoritative>
   <Input>
   ...
   </Input>
   <Output>
   ...
   </Output>
   <Description><![CDATA[free text description here]]></Description>
</Service>
...

   Thanks,
   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-dev mailing list