Convert geWorkbench analysis to web service
From Informatics
(Redirected from Covert geWorkbench analysis to web service)
Using t-test as an example, I describe here the basic steps of converting it to a standard web service using Axis2.
- re-organize the computational code so that it is self-contained. Particularly, it does not depend on any Swing code, or bison data type.
- manually create a services.xml file to describe the service. For this step and some of following steps, the files in t-test component can be used as examples (branch ptototype_transition_to_services)
- run build.xml to create and deploy the service. The file build.xml is taken from Axis2 release's Pojo example and modified slightly for our need.
- write a simple client program to test the service.
- start the service with Axis2 as stand-alone service; run the test client to get a result.