Frage

I'd like to write a axis2 webservice for deploying BPEL Processes on a Apache ODE.

At the moment I have two main issues/questions.

  1. I wrote a simple WS that creates a file. It works fine in eclipse with a integrated apache tomcat with axis2. But if I run the service on the exact same server without ecplise it won't work and I get 'Unhandled IOException' Errors, although I have the handling implemented (otherwise ecplise would cry about it all the time).

    EDIT: I solved it by not uploading the service.aar with axis2 but putting it in the /webapps folder.

  2. How do I get access to the folder were I need to put the BPEL files? Is it obligatory that the service runs on the same server as the ODE?

    EDIT: Getting access to the folder on the same server is an easy one with 1.

  3. How do I transfer files with a webservice? Better: How do I implement it?

War es hilfreich?

Lösung

Regarding 2) you can use the deployment API exposed by ODE. This allows for transfering deployment units (zip files containing BPELs, WSDLs, DDs) via SOAP to ODE and starting the deployment.

The WSDL is available at http://.../processes/DeploymentService?wsdl, on the default installation that would be http://localhost:8080/ode/processes/DeploymentService?wsdl

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top