Apache ODE BPEL Deployment with a webservice (file transfer)

一曲冷凌霜 提交于 2019-12-24 13:34:13

问题


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?


回答1:


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



来源:https://stackoverflow.com/questions/13621738/apache-ode-bpel-deployment-with-a-webservice-file-transfer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!