ProMLResolver - a Web Service-enabled Querying System for ProML

Overview

This asynchronous web service can take ProML-files containing special elements that act as queries. Those queries are evaluated and substituted by their result using ProFi, such that a more complete ProML-file is the result. The user can temporarily register custom web services that handle such queries, or use built-in methods for this purpose (browse the ProFi Library for an up-to-date list of methods). See the examples below for more details on this web service!

Further information

Please take a look at the wsdl and schema describing the interface of this web service. Additionally, this web service uses of the ProML specification and uses ProFi.

Usage

Examples

  • A request to get a proml document without any data, but possible entry points for browsing. Result with the possible entry points test looks something like this .

The Webservice is document-based, but you can download a client here. You can use it as follows:

Getting a template:

java -jar DocBasedClient.jar de.lmu.ifi.bio.hobit.DocBasedClient -l http://services.bio.ifi.lmu.de:1046/ProMLResolver/services/ProMLResolver -i template_protein.xml -o 1r4n_template.pml
Where template_protein.xml contains an <template/> element (see examples 1,2 above) -->

Sending a ProML with queries and get the results:

java -jar DocBasedClient.jar de.lmu.ifi.bio.hobit.DocBasedClient -l http://services.bio.ifi.lmu.de:1046/ProMLResolver/services/ProMLResolver -i incomplete_proml_with_queries.pml -o more_complete_proml.pml
Where ProMLwithqueries.xml contains ProML along with ProMLResolver queries (see example 4)

Adding a custom Webservice that resolves queries:

java -jar DocBasedClient.jar de.lmu.ifi.bio.hobit.DocBasedClient -l http://services.bio.ifi.lmu.de:1046/ProMLResolver/services/ProMLResolver -i addWebservice.xml -o result.xml
Where addWebservice.xml describes a Webserivce-method that should be used to resolve queries (see example 5-7)