[MOBY-guts] biomoby commit
Mark Wilkinson
mwilkinson at dev.open-bio.org
Thu Feb 8 18:44:52 UTC 2007
mwilkinson
Thu Feb 8 13:44:52 EST 2007
Update of /home/repository/moby/moby-live/Docs/MOBY-S_API/Perl
In directory dev.open-bio.org:/tmp/cvs-serv27974/Perl
Modified Files:
RegisterServiceInstance.html
Added Files:
ExecuteSyncService.html
Log Message:
adding the Execute Service tutorial
moby-live/Docs/MOBY-S_API/Perl ExecuteSyncService.html,NONE,1.1 RegisterServiceInstance.html,1.5,1.6
===================================================================
RCS file: /home/repository/moby/moby-live/Docs/MOBY-S_API/Perl/RegisterServiceInstance.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- /home/repository/moby/moby-live/Docs/MOBY-S_API/Perl/RegisterServiceInstance.html 2007/02/07 01:10:22 1.5
+++ /home/repository/moby/moby-live/Docs/MOBY-S_API/Perl/RegisterServiceInstance.html 2007/02/08 18:44:51 1.6
@@ -103,23 +103,27 @@
# now start constructing the descriptions of your inputs and outputs:
+ # a list of valid input namespaces
my @input_namespaces = ('GO');
-# a list of valid input namespaces
+ # a list of inputs and their namespaces, in this case, a single input 'Object'
my @input_simples = ('Object', \@input_namespaces);
-# a list of inputs and their namespaces, in this case, a single input 'Object'
-my @input_articles = ('', \@input_simples);
-# a list of named input articles
+ # note: if you alternately wanted to consume a collection of inputs as opposed
+ # to a simple input, you would have done the following:
+ # my @input_simples = (['Object', \@input_namespaces)]);
+ # a list of named input articles
+my @input_articles = ('my_input_parametername', \@input_simples);
+ # the complete set of inputs to a single invocation of the service
my @all_inputs = (\@input_articles);
-# the complete set of inputs to a single invocation of the service
+
+ # a list of valid input namespaces
my @output_namespaces = ('GO');
-# a list of valid input namespaces
+ # a list of outputs and their namespaces, in this case, a single output type 'GO_Term'
my @output_simples = ('GO_Term', \@output_namespaces);
-# a list of outputs and their namespaces, in this case, a single output type 'GO_Term'
-my @output_articles = ('', \@output_simples);
-# a list of (un)named output articles
+ # a list of (un)named output articles
+my @output_articles = ('my_output_parametername', \@output_simples);
+ # the complete set of outputs from a single invocation of the service
my @all_outputs = (\@output_articles);
-# the complete set of outputs from a single invocation of the service
$REG = $m->registerService(
serviceName => $serviceName,
More information about the MOBY-guts
mailing list