Usage: run-cmdline-client -h[elp] run-cmdline-client [] run-cmdline-client [] or run-any-client MobyCmdLineClient -h[elp] run-any-client MobyCmdLineClient [] run-any-client MobyCmdLineClient [] (If run without any arguments or only with , then it prints the registry's endpoint and namespace that is going to be used.) where specify what Moby registry to connect to: -e ia an endpoint of a Moby registry -uri is a URI defining Moby registry's namespace or -registry is a convenient way to specify a known registry; the list of known registries can be obtained by the -lr option where specify what to ask a Moby registry to do: To get lists of various entities registered by Moby: -ls ... list names of all available services -la ... list names of all available services sorted by authorities -lp ... list names of all available service providers -lt ... list names and descriptions of all service types -ln ... list names and descriptions of all namespaces -ld ... list names and descriptions of all data types -lu ... list URLs of RDF documents describing this registry -lr ... list of known BioMoby registries (with -on prints only names/synonyms of the registries) To get entities by their names: -wsdl print WSDL of the given service (using the first available authority name for such service name) -wsdl print WSDL of the given service; service is specified by its name and by its authority (note that the parameter has two parts delimited by a comma) -data print definition of given data type -rdf [stypes | dtypes | services | namespaces | full] print RDF resource of the given contents To get ontological relationships of given entities: -ot print all parents names of given service type -od print all relantionships (types and names) of given data type -od2 ISA -od2 HASA -od2 HAS print all relantionships of given type for given data type To find services given by their attributes: -fn find services matching this name -fn find services matching this name and authority -ft find services of the given service type -fc find services of the given category -f find services by keywords (apply logical OR if more keywords); is a comma-delimited lists of keywords To find services by their input and/or output data types (note that this works only for simple data, not for collections): -fs-type -fs-auth -fs-in are comma-delimited names of inputs; each of them is a pair of an input type and a namespace separated by an equal sign... sorry -fs-out are comma-delimited names of output types You may limit the number of found services by specifying: -nc ... do not include services that are child types (more specific) than the type you requested (this option also applies when searching with -ft) -np ... do not include services operating on parent types of the data types you requested The found services are printed in details, unless: -on ... print only names of found services To register a data type: -rd-name -rd-desc -rd-auth -rd-email -rd-isa this should be a comma-delimited list of names of the parent data types (but Moby accepts now only one parent) -rd-hasa -rd-has these should be comma-delimited lists of names of the data types referred from this data type; every element of this list may have two parts separated by a colon: : To register a service type: -rt-name -rt-desc -rt-email -rt-auth -rt-isa this should be a comma-delimited list of names of the parent service types To register a namespace: -rn-name -rn-desc -rn-auth -rn-email To register a service: -rs-name -rs-type -rs-categ -rs-desc -rs-auth -rs-email -rs-url -rs-main use: 1 or 0 -rs-rdf points to your HTTP space to a place where an RDF describing this service will be -rs-rdfpath if the service registration is successful, the returned RDF is copied to a file given by (which completes the registration process); use it, however, with caution because this client overwrites a possibly existing document (it does not merge the new RDF with the possibly existing one); Default: it creates a temporary file where the returned RDF is stored -rs-in are comma-delimited names of inputs; each of them is a pair of an input type and a namespace separated by an equal sign... sorry -rs-ifile are a comma-separated list of file names defining input data; the files should have format of Java properties, e.g... One can combine both methods: -rs-in and -rs-ifile. -rs-out are comma-delimited names of output types -rs-ofile are a comma-separated list of file names defining output data; the files should have format of Java properties, e.g... One can combine both methods: -rs-out and -rs-ofile. To unregister various entities: -ud ... unregister data type known under this name -ut ... unregister service type known under this name -un ... unregister namespace known under this name -us ... unregister service known under this name And the rest: -call [] call a method given by , potentially with the input XML data given by ; if the is a name of an existing file, the contents of this file is used as an input parameter to the called mathod -debug ... print debug messages And yet another rest: -scall call a service (!, not a Moby Central) given by with the input XML data given by ; if the is a name of an existing file, the contents of this file is used instead; an example of a service and its input: service name: getMIPSFastaProteinSequence input XML: format of : service-name[,service-authority] [Undocumented and 'in-the-progress' options: -async, -url .] [Note: You can also use -argsfile to read arguments from a file. See details in src/Clients/help/argsfile.example.]