简体   繁体   English

为JSON Web服务创建WSO2 BPEL项目

[英]Creating WSO2 BPEL project for JSON webservices

I have the WSO2 Developer Studio Eclipse Plugin downloaded. 我已经下载了WSO2 Developer Studio Eclipse插件。 And I was looking at this tutorial: http://wso2.com/library/tutorials/2010/07/eclipse-bpel-designer-wso2bps-tutorial/ . 我正在看这个教程: http : //wso2.com/library/tutorials/2010/07/eclipse-bpel-designer-wso2bps-tutorial/ But it seems to be talking about using SOAP. 但似乎正在谈论使用SOAP。 But my webservices, which are written in PHP(in live servers) are REST using JSON. 但是我的Web服务(用PHP(在实时服务器中)编写)是使用JSON的REST。 Accepts data via HTTP GET methods by these webservices and respond back with JSON data. 这些Web服务通过HTTP GET方法接受数据,并以JSON数据进行响应。

So how will I implement a BPEL project making use of the JSON webservices? 那么,如何使用JSON Web服务来实现BPEL项目呢? Any ideas or suggestion? 有什么想法或建议吗? Am completely new to this. 这是全新的。 Thank you. 谢谢。

EDIT 编辑

When I created the BPEL Process, I have used HTTP from the dropdown instead of SOAP 创建BPEL流程时,我使用了下拉列表中的HTTP而不是SOAP

WSO2 uses a custom variant of the Apache ODE engine for executing BPEL processes. WSO2使用Apache ODE引擎的自定义变体执行BPEL流程。 ODE provides extensions for REST , which you can try out. ODE 提供了REST扩展 ,您可以尝试一下。 However, I am not sure if these extensions also support JSON or if they just allow XML data. 但是,我不确定这些扩展是否还支持JSON或仅允许XML数据。 Also have a look at this answer . 看看这个答案

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM