[moby] [MOBY-dev] Re: Problems with Biomoby servicesin Taverna 1.2
Mark Wilkinson
markw at illuminae.com
Fri Jul 8 18:58:30 UTC 2005
On Fri, 2005-07-08 at 20:45 +0200, Haase, Dirk wrote:
> Once you say (in the reply to Heiko's mail): you can safely return each entry as a Simple element, there can be any number of them in one mobyData block. Moreover, this would actually be a misuse of a collection.
What I said in response to Heiko (or at least, what I intended to say)
was that there was not a limitation of the mobyData block to having just
one child element (regardless of its type - simple, collection, or
secondary). So the following is vaid:
<mobyData>
<Simple A/>
<Simple B/>
<Collection Q>
<Simple/>
<Simple/>
</Collection>
</mobyData>
I didn't say that you SHOULD return all of your Simples individually,
only that you COULD return individual Simples in a single output... if
that was meaningful in the context of your service... individual outputs
must, however, be individually registered in the registry
(output => [A,B,Q])
> But in the reply to Rebecca's question from February you clearly stated: if the number of results is unpredictable they have to go into a collection.
That's right.... and obvious, since you cannot create a service
signature any other way - you can't say output => [A....infinite]
> If I summed up both replies correctly, the contradiction is obvious, isn't it?
I don't see it.
M
--
Mark Wilkinson
Asst. Professor
Dept. of Medical Genetics
University of British Columbia
PI in Bioinformatics
iCAPTURE Centre
St. Paul's Hospital
Vancouver, BC
More information about the MOBY-dev
mailing list