带有Web服务的Apache ODE BPEL部署(文件传输) [英] Apache ODE BPEL Deployment with a webservice (file transfer)

查看:189
本文介绍了带有Web服务的Apache ODE BPEL部署(文件传输)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想编写一个axis2 Web服务,用于在Apache ODE上部署BPEL流程.

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. 我写了一个创建文件的简单WS. 与带有axis2的集成Apache Tomcat配合使用时,它在Eclipse中工作良好. 但是,如果我在完全相同的服务器上运行该服务而没有执行该操作,它将无法正常工作,并且会出现未处理的IOException"错误,尽管我已经实现了处理(否则执行将一直在哭泣).

  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).

我不通过使用axis2上传service.aar而是将其放在/webapps文件夹中解决了该问题.

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

  • 如果需要放置BPEL文件,如何访问该文件夹? 服务与ODE是否必须在同一服务器上运行?

  • 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?

    使用1即可轻松访问同一服务器上的文件夹.

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

  • 如何使用Web服务传输文件? 更好:我该如何实施?

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

    推荐答案

    关于2),您可以使用ODE公开的部署API.这允许通过SOAP将部署单元(包含BPEL,WSDL,DD的压缩文件)传输到ODE并开始部署.

    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.

    在默认安装为http://localhost:8080/ode/processes/DeploymentService?wsdl

    这篇关于带有Web服务的Apache ODE BPEL部署(文件传输)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆