[MOBY-l] Services accepting multiple inputs
Edward Kawas
edward.kawas at gmail.com
Wed Apr 2 15:31:22 UTC 2008
Hi Ola,
If you do a findService on the service that you would like to invoke, then
you can see how many inputs there are.
For instance (something like the following),
CentralImpl central = new CentralImpl();
MobyService service = central.findService(new
MobyService("MOBYSHoundGetGenBankff"))[0];
// get the input count
int count = Service.getPrimaryInputs().length;
Eddie
-----Original Message-----
From: moby-l-bounces at lists.open-bio.org
[mailto:moby-l-bounces at lists.open-bio.org] On Behalf Of Ola Spjuth
Sent: April-02-08 8:06 AM
To: moby-l at lists.open-bio.org
Subject: [MOBY-l] Services accepting multiple inputs
Hi,
Is there a way to see if services accept multiple inputs? I tried to
feed the "MOBYSHoundGetGenBankff" with a MobyDataObject[] containing
two simple objects with id and namespace. The result (as far as I can
see) was only one 'file', and the other input object seems to have
been omitted. Have I done something wrong or does this service only
accept a single input? In that case, how can this be deducted from
the service in jMoby?
Cheers,
.../Ola
_______________________________________________
moby-l mailing list
moby-l at lists.open-bio.org
http://lists.open-bio.org/mailman/listinfo/moby-l
More information about the moby-l
mailing list