This is almost a list of bookmarks of the more detailed guides, with
some text around. The details are good, but here you will get,
hopefully, just an essence, a quick get started flavor. It is written around a short tutorial for the Soaplab2 service providers given at the Taverna/Soaplab2 workshop in October 2007 at EBI.
Java 1.5.or later Ant 1.6.5 or later Apache Tomcat 5.x or later
tomcat.home = /home/senger/Software/jakarta-catalina tomcat.host = www.my.server
ant install
build/run/run-cmdline-client -protocol local -name testing.files -i
build/run/run-cmdline-client -protocol local -name testing.files -w -r
build/run/run-cmdline-client -protocol local -name testing.files -w -r input_direct_data abc
build/run/run-cmdline-client -protocol local -name testing.files -w -r \
input_url \
https://sites.google.com/site/martinsenger/testing.page.xml.txt
But with the following input:
build/run/run-cmdline-client -protocol local -name testing.files -w -r input_url /etc/hoststhere is a security problem (which should be, because you do not want all your local files to be exposed to the Soaplab2 clients from all over the world):
===ERROR=== Soaplab::NotValidInputs [input] Refusing to resolve the reference: /etc/hosts ===========
appl: Search [
documentation: "Returns the geographical coordinates of the given place names"
groups: "geonames"
nonemboss: "Y"
supplier: "http://ws.geonames.org/search"
comment: defaults
comment: "help http://www.geonames.org/export/geonames-search.html"
]
string: place [
qualifier: q
default: "Prague capital of Czech Republic"
help: "Search this place in all possible attributes:
place name, country name, continent, admin codes, etc.
The search is using an AND operator."
]
list: type [
min: 1
max: 1
values: "xml;json;rdf"
default: xml
prompt: "The format of the returned document"
]
list: style [
min: 1
max: 1
values: "SHORT;MEDIUM;LONG;FULL"
default: MEDIUM
prompt: "Verbosity of returned XML document"
]
outfile: result [
]
Go through the ACD file above and check with the metadata guide what the individual data
types and attributes mean.
ant gengowlab
build/run/run-cmdline-client -protocol local -name geonames.search -i build/run/run-cmdline-client -protocol local -name geonames.search -w -r build/run/run-cmdline-client -protocol local -name geonames.search -w -r type json place "Saffron Walden" build/run/run-cmdline-client -protocol local -name geonames.search -w -r type json place "Saffron Walden" style FULL build/run/run-cmdline-client -protocol local -name geonames.search -w -r type rdf style FULL
ant jaxdeployYou can also deploy the same services using an old-fashioned protocol that is understood and used by the old Soaplab1 clients:
ant axis1deploy
you should see the new service panel:
Clicking on the Run service button results in the result page like this:
Or, with the FULL style, this one.