The main idea behind this project is to implement standard wsdl based webservices based on BioMoby ontology.
One of the limitations of Moby is using its own encoding format that is incompatible with
XML Schema. This leads to the need of using a special API to be able to work with its services.
This project is to convert Moby datatypes ontology into a parallel, semantically equivalent, XML Schema based one.
Since there are tons of Moby services developed all over world, there is a tool that automatically generates a proxy
to moby services. Generated proxy.war file is a standard jax-ws based web application that can be run on any application server
without a configuration need (apart of possible URL changes). The proxy supports both synchronous and asynchronous modes through
WS-Addressing (of course for those BioMoby services that support asynchrony).
Nemus tool is a small utility that does all the stuff.
It needs JDK 6u4 or better to work!!!
It uses
MobyCentral API to obtain the ontology information
from Moby Central Server. Generated proxy.war file contains inside MobyCore.jar along with XML Schema based generated java classes.
Please note that datatypes generated using this tool are not the same as generated using
MobyGenerator.
Semantically both are virtually the same, the difference is in encoding.
It is very easy to use (
try the applet). First you have to select a BioMoby server (repository).
It could take some time to obtain all the information from the server, so be patient.
When information is loaded it is stored in cache so you don't need to load it every time you start the tool.
You can always refresh it manually using the "refresh" button.
So, next step is to choose the service you want to generate a proxy for (or you can choose an entire authority).
And press "generate proxy" button. You'll be asked where to store generated file.
I put java source code for the services inside the generated application.
This code could be used as a tutorial for
MobyCore API ;-).