[MOBY-l] Submitting Parameters

markw at illuminae.com markw at illuminae.com
Fri Aug 5 08:28:18 UTC 2005


There is a known bug in the current production code relating to the registration
of parameters - if any of them have a default, a min, or a max of "0", the
registration of that parameter will fail, but the service registration will
succeed.  This might be what he is seeing.

:-/

It is fixed in the new codebase, but we wont be updating the production server
for a week or two.

M


Quoting Dirk Haase <d.haase at gsf.de>:

> On Thursday 04 August 2005 20:08, bgulden at purdue.edu wrote:
> > First, I just wanted to thank you all for helping with my previous problems
> > with parameters (The ->secondary function worked perfectly).  Now on to my
> > current dilemma.
> >
> > Is there a special way to include parameters in the execution of Moby
> > services?  According to the perl API services with parameters should be
> > called in this format where input1 is a primary input and param1 is a
> > secondary input: $Service->execute(XMLinputlist => [
> >                                  [
> >                              'input1', '<Object namespace="blah"
> id="123"/>',
> >                              'param1', '<Value>0.001</Value>',
> >                              ]
> >                               ]);
> >
> > However, when I check the actual inputted data to my service I end up with
> > one <moby:Simple> tag around both input1 and param1.
> 
> Hmm, your code seems correct, should actually work... Are you sure the
> service is correctly registered?
> 
> Regards,
> dirk
> 
> -- 
> 
> ----------------------------------------------------------
> Dirk Haase		            phone +49 89 3187 3583
> http://mips.gsf.de/~haase           email   d.haase at gsf.de
> _______________________________________________
> moby-l mailing list
> moby-l at biomoby.org
> http://biomoby.org/mailman/listinfo/moby-l
> 





More information about the moby-l mailing list