[MOBY-dev] Collections vs. Simples in registry service searches, a bug?

Paul Gordon gordonp at ucalgary.ca
Mon Dec 11 18:52:16 UTC 2006


Hi all,

Is there any reason that a service taking a *collection* of DNASequences 
as input is returned when I perform a query asking for services that 
take a *simple* DNASequence as input?  e.g. the GenerateCodonPairTable 
service takes a collection and is returned on a simple DNASequence 
search. Here is the relevant part of the RDF from the registry:

                     <mygrid:inputParameter>
                         <mygrid:parameter>
                              <mygrid:objectType>
                                   <mobyObject:DNASequence/>
                              </mygrid:objectType>
                              
<mygrid:hasParameterNameText>inputSequences</mygrid:hasParameterNameText>
                              <mygrid:hasParameterType>
                                   <mygrid:collectionParameter/>
                              </mygrid:hasParameterType>
                         </mygrid:parameter>
                    </mygrid:inputParameter>

And the request is:

<findService><inputObjects>
<Input>
<Simple articleName="not_important">
<objectType>DNASequence</objectType>
<Namespace>seahawk</Namespace></Simple>
</Input>
</inputObjects>
<outputObjects>
 <Output>
</Output>
</outputObjects>
<serviceType></serviceType>
<Category>moby</Category>
<authURI></authURI>
<expandObjects>1</expandObjects>
<expandServices>1</expandServices>
<authoritative>0</authoritative>
<keywords>
</keywords>
</findService>



More information about the MOBY-dev mailing list