wso2esb

WSO2 ESB connectivity CICS Transaction Server

我是研究僧i 提交于 2020-01-14 05:39:12
问题 Need to know if WSO2 ESB can integrate with CICS Transaction Server v 3.2 on a z/OS mainframe. TIA. 回答1: CICS Transaction Server v3.2 can support standard SOAP over http calls. Is there an need for your ESB to actually know it is integrating with CICS or can you get by with a wsdl document with an endpoint at a CICS server behaving like any other webservices provider? 来源: https://stackoverflow.com/questions/16780152/wso2-esb-connectivity-cics-transaction-server

getPayloadJSON returning an empty object

删除回忆录丶 提交于 2020-01-11 03:46:39
问题 I am doing some very simple script mediation as a test to see if I can change the payload being returned by my server. My unmediated payload comes out as: {"origin":"202.37.75.130"} Then I try doing a very simple check to see whether get and set work for payloads: <script language="js"> var older = mc.getPayloadJSON(); var newer=older; mc.setPayloadJSON(newer); </script> My result from this is: {"jsonObject":""} I have done testing that shows that setPayloadJSON() works, which means that my

How to deploy wso2 esb on websphere?

 ̄綄美尐妖づ 提交于 2020-01-10 05:36:04
问题 Is it possible to deploy WSO2 ESB 4.9.0 on websphere application server ? Last example found on google is from 2008 ... How is created the required war file ? Thanks 回答1: From WSO2 Carbon platform 4.0.0 release onwards WSO2 has dropped the official support for hosting WSO2 products on third party containers. So there is no official reference on how to run WSO2 products in third-party containers like WebSphere. One of the main reasons for this is the fact that the WSO2 Carbon container itself

How to call an Oracle procedure w/ OUT parameter in WSO2ESB?

送分小仙女□ 提交于 2020-01-07 05:49:06
问题 versions: - WSO2 4.6.0 - Oracle 11g I Have this procedure in an Oracle DB: PROCEDURE SEARCHCONTRACT ( CONTRACTNUM IN OKC_K_HEADERS_B.CONTRACT_NUMBER%TYPE , cur_out IN OUT RefCursor) .... The procedure is working fine! Note that cur_out IN OUT RefCursor ! I have no clue on how to handle that parameter in a DBLookup mediator! This mediator does not have any place to inform whether each parameter is "IN" or "OUT" and I'm not sure if setting the direction (IN/OUT) would be enough. Thanks in

How to call Class mediator property value inside another mediator Class

扶醉桌前 提交于 2020-01-07 04:43:14
问题 I need to call some Class mediator property value inside another mediator Class This is my SurepayMediator class package esb.cellcard.billing; public class SurepayMediator extends AbstractMediator{ public boolean mediate(MessageContext context) { context.setProperty("firstValue", "Run Fast"); if(something){ //Here I need to execute AddSubscription class } else { //Here I need to execute CancleSubscription class } return true; } } I need to call this firstValue inside the AddSubscription class

How to install features in wso2 using OSGI Console

随声附和 提交于 2020-01-07 03:40:34
问题 I am new to wso2.. I have searched through articles and found that ,we can install features into carbon using OSGI Console... For eg,I want to install student management feature (Sample) in wso2 carbon,without using feature management( without UI ) . How to do this... I have the REPO in my local (Say D://p2-repo) I want to install these features in carbon using OSGI console Steps Tried 1) Started wso2 in OSGI console ( bin\wso2server.bat -DosgiConsol ) 2) Then i need to add the Repo right? 3)

How to protect REST API with wso2 IS?

送分小仙女□ 提交于 2020-01-07 02:31:19
问题 I now have a NodeJS REST API. It is CRUD service. Does anyone know how to secure/protect my APIs step by step with wso2 OAuth2? 回答1: If you simply want to protect your REST API with OAuth2 use the WSO2 API Manager. You can follow the quick start guide to get started. Details related to adding your API and enabling OAuth2 protection is mentioned here in the quick start guide. 来源: https://stackoverflow.com/questions/42569535/how-to-protect-rest-api-with-wso2-is

wso2 esb json missing quotes and brackets when using scheduled forwarding message processor

北城余情 提交于 2020-01-07 02:22:06
问题 I have a problem in sending json requests through esb and activemq, actually I'm using a proxy and I call my proxy with rest and json content. Here is my integration flow, I call a proxy (with postman) and the proxy sends the request(with json content) to a jms message store then, I defined a scheduled forwarding message processor to consume messages from message store and send them to a defined endpoint(.net web api). but the problem is strings with numbers automatically get converted as

wso2 esb and cep installation simultaneouslly

杀马特。学长 韩版系。学妹 提交于 2020-01-06 19:55:30
问题 I am trying to install and run ESB and CEP both on the same machine. I have tried to set port offset to 1, to prevent port conflict, but still after running ESB, I am not able to run CEP. The error log in cmd is as bellow: `C:\Program Files\yajsw-stable-11.03_cep\bat>call setenv.bat "java" -Xmx30m -Djna_tmpdir="C:\Program Files\yajsw-stable-11.03_cep\bat\/../tmp " -jar "C:\Program Files\yajsw-stable-11.03_cep\bat\/../wrapper.jar" -t "C:\Program Files\yajsw-stable-11.03_cep\bat\/../conf

WSO2 ESB unable to remove ws-security header in the response before DSS call

限于喜欢 提交于 2020-01-06 04:26:44
问题 I have a proxy service which needs to call a exernal service with ws security. I have to call the service, and based on the response, I need to extract some information and then call a data service to update the database. As I get the response and create the payload to call the data service it is also having the ws security header which ends up in an exception. I have used <header action="remove" name="wsse:Security" scope="default" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis