[MOBY-dev] I would like some explanations about findService

Yan Wong yanwong at ebgm.jussieu.fr
Thu Jun 24 12:13:45 UTC 2004


I would like to know how does work the findService function, I tried
with my API to make some queries:

I am looking for services that accept FASTA objects:
<inputObjects>
  <Input>
    <Simple articleName="">
      <objectType>FASTA</objectType>
    </Simple>
  </Input>
</inputObjects>
<outputObjects>
  <output></output>
  </outputObjects>
<serviceType></serviceType>
<Protocol>moby</Protocol>
<authURI></authURI>
<expandObjects>0</expandObjects>
<expandServices>1</expandServices>
<authoritative>0</authoritative>
<keywords></keywords>

This query returns a service:
-BlastFastaVsArabiProteincoding
which seems the be the only one accepting FASTA objects as inputs


Now, I am looking for services that return FASTA objects:

<inputObjects>
  <Input></Input>
</inputObjects>
<outputObjects>
  <output>
    <Simple articleName="">
      <objectType>FASTA</objectType>
    </Simple>
  </output>
</outputObjects>
<serviceType></serviceType>
<Protocol>moby</Protocol>
<authURI></authURI>
<expandObjects>0</expandObjects>
<expandServices>1</expandServices>
<authoritative>0</authoritative>
<keywords></keywords>

I thought that findService would return me only services that return a
FASTA object but this time, it returns me 115 services?! (which seems to
be all registrated services)

Did I make any mistakes in my query?





More information about the MOBY-dev mailing list