wso2

WSO2 ESB Getting a cookie from transport header with multiple cookies

荒凉一梦 提交于 2020-01-06 04:15:08
问题 I'm calling an authentication service with credentials and it responses back cookies with authentication info. I need that info for accessing a Web Service. The problem is that the authentication service returns a response with multiple cookies but I can only access to the first cookie from response it's the second cookie (WSL-external=VhTee1...) that I need for accessing the Web Service. The response I'm getting from the authentication server: HTTP/1.1 200 OK Content-Language: en-US Expires:

Integrated API Console in WSO2 API managers store use unproper port in request URL

╄→гoц情女王★ 提交于 2020-01-06 03:23:44
问题 I created API with WSO2 APi Manager Publisher. Then I subscribed and invoked this API with Integrated API console. All worked OK. Request URL was like: https://host,-name:8243/..... Later I unsubscribed, edited this API a little, published and subscribed. Now, when I invoke API with API console port number in URL is changed from 8280 to 9443 and, of course, API doesn't work. When I invoke API in (for instance) Postman with right port number, API works properly. When I delete API and create

How to incorporate wso2 esb fix?

五迷三道 提交于 2020-01-06 03:17:35
问题 I have installed DSS feature on ESB. While deploying DSS artifact, I came across error similar to one below WARN - DefaultAppDeployer Can't deploy artifact : EmployeeDataService of type : service/dataservice. Required features are not installed in the system The wso2 jira indicates that the issue has been resolved https://wso2.org/jira/browse/CARBON-15657 How do I incorporate this fix in my wso2 esb 4.9 installation? 回答1: You can get relevant patches for that fixes and apply to your version.

WSO2 API Manager - Replace URLs in response body

喜欢而已 提交于 2020-01-06 03:13:30
问题 I'm trying to setup a proxy for my RESTful API using WSO2 API Manager. My problem is that the responses from the backend API are left untouched so all the urls that connect to other endpoints still reference the backend server rather than the proxy. I need a way to replace those url values in the response body to point to the proxied api. I understand this can be accomplished via Mediation Extensions, using ESB Mediators. I'm not familiar enough with them to pick the one better suited for the

WSO2 ESB: Backup also the wso2carbon.log file over several days?

折月煮酒 提交于 2020-01-06 02:50:40
问题 In WSO2 ESB 4.5.1 has several log file in the repository/logs folder. But an important "wso2carbon.log" is only containing the whole log of one day. Then at midnight it is flushed. Because other log files in the same directory (wso2-esb-service.log or http_access.log) have this feature are being kept a couple of days. How can I keep the wso2carbon.log files also for some days? (WSO2 should just rename them, not delete them). Here my log4j.properties in the conf directory: log4j.rootLogger

How we can ROLLBACK the Transaction in WSO2DSS or WSO2ESB

邮差的信 提交于 2020-01-06 02:17:54
问题 i am inserting no of tables at a time using WSO2dss and Wso2 ESB . those are dependent tables how we can ROLLBACK if one transaction failed.my issue is i am inserting EMP1,EMP2,EMP3 my data inserted properly in EMP1 and EMP2 error occured in while inserting in EMP3 how i can do this using WSO2 ..in Oracle we has NONXAENABLEDS <sequence> <payloadFactory> <format> <p:insert_emp2_operation xmlns:p="http://ws.wso2.org/dataservice"> <xs:e_device xmlns:xs="http://ws.wso2.org/dataservice">$1</xs:e

Handling MQTT messages in WSO2 CEP 3.1.0

本秂侑毒 提交于 2020-01-05 22:53:02
问题 I have a scenario in which I have MQTT publisher. MQTT Client --> Message Broker --> WSO2 CEP (JMS input adaptor) What are the ways by which I can get this published MQTT message as input to WSO2 CEP? I tried using ActiveMQ as a message broker and a CEP JMS input adaptor listening to JMS message but ActiveMQ transforms MQTT message as ByteMessage, I believe CEP does not handles it as of now, as JMS messages published in the same setup is working fine. I know WSO2 CEP 4.0.0 has a feature of

Handling MQTT messages in WSO2 CEP 3.1.0

╄→гoц情女王★ 提交于 2020-01-05 22:52:00
问题 I have a scenario in which I have MQTT publisher. MQTT Client --> Message Broker --> WSO2 CEP (JMS input adaptor) What are the ways by which I can get this published MQTT message as input to WSO2 CEP? I tried using ActiveMQ as a message broker and a CEP JMS input adaptor listening to JMS message but ActiveMQ transforms MQTT message as ByteMessage, I believe CEP does not handles it as of now, as JMS messages published in the same setup is working fine. I know WSO2 CEP 4.0.0 has a feature of

Handling MQTT messages in WSO2 CEP 3.1.0

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-05 22:48:35
问题 I have a scenario in which I have MQTT publisher. MQTT Client --> Message Broker --> WSO2 CEP (JMS input adaptor) What are the ways by which I can get this published MQTT message as input to WSO2 CEP? I tried using ActiveMQ as a message broker and a CEP JMS input adaptor listening to JMS message but ActiveMQ transforms MQTT message as ByteMessage, I believe CEP does not handles it as of now, as JMS messages published in the same setup is working fine. I know WSO2 CEP 4.0.0 has a feature of

How to concatenate JSON array values in WSO2 ESB?

大憨熊 提交于 2020-01-05 14:04:15
问题 We have json object as like below, Expected Result in: "(001),(011),(089),(120)". Can anyone suggest how to iterate the json array and concat the values as mention . "(001),(011),(089),(120)" Thanks in advance. { "Element": { "Values": { "AgentID": "aaaaa", "TransactionData": [ { "No": "001" }, { "No": "011" }, { "No": "089" }, { "No": "120" } ] } } } 回答1: You can do it by using iterate mediator, filter mediator and properties with operation scope. Try this solution. At the end you will have