wso2esb

Can we Set a Send mediator with Xpath expression

非 Y 不嫁゛ 提交于 2019-12-24 15:32:12
问题 i am trying to send a message to my email for that i am using send mediator as well i setup required configurations in AXIS2 file is it work for below proxy if not what is the way to give xpath to send mediator <proxy xmlns="http://ws.apache.org/ns/synapse" name="mailCheck" transports="http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="Subject" value="Alert Message From WSO2 ESB - Service Down !!!" scope="transport" type="STRING"/> <property

best WSO2-ESB solution for banking application

亡梦爱人 提交于 2019-12-24 12:34:17
问题 we are a co-banking solutions company. currently we are developing a solution and we hope to use WSO2-ESB in our solution to manage our services this is the brief scenario of our project,.... we have a oracle application server that generate various services.there are two kind of services 1.services that can be access from outside users 2.services that can be access by inhouse users. ****also security is more concerned my questions are, 1.how to use WSO2-ESB in this scenario..?? 2.is it one

How to send wso2 esb error message or exception to my client

ぐ巨炮叔叔 提交于 2019-12-24 12:34:03
问题 I provoke an error in wso2ESB in order to have control in the client of some errors, while the esb console displays: ERROR {org.wso2.carbon.identity.entitlement.mediator.EntitlementMediator} - Error occurred while evaluating the policy {org.wso2.carbon.identity.entitlement.mediator.EntitlementMediator} org.apache.axis2.AxisFault: Access Denied. Authentication failed - Invalid credentials provided. ... ... the client console displays: org.apache.axiom.soap.SOAPProcessingException: Transport

How switching from HTTP(RESTful) to TCP socket with WSO2 ESB/EI

。_饼干妹妹 提交于 2019-12-24 10:59:09
问题 I've got a service A which is a RESTful client and can send requests periodically, and another service B which is a TCP socket server and can receive tcp socket message. So, my question is whether there's solution to transfer the message from A to B, viz, switching message from http to tcp socket with WSO2 ESB/EI. Actually, I found a guide about how switching from TCP to HTTP/S but not from http to tcp. 回答1: The following proxy will work, provided the tcp sender is configured in axis

Filter data from JSON by checking condition with two properties - WSO2 ESB

♀尐吖头ヾ 提交于 2019-12-24 08:32:04
问题 Below is the JSON file: { "_id": "rezbase_v3", "_rev": "3-096e751caeeda12a8c30e28075a95e97", "exchangerate_data": [ { "buyingrate": 0.274725274725275, "sellingrate": 0.274725274725275, "buyingrateinverse": 3.64, "sellingrateinverse": 3.64, "basecurrency": { "currencyCode": "USD", "currencyName": "US dollar" }, "quotecurrency": { "currencyCode": "QAR", "currencyName": "Qatari riyal" }, "updateddate": 1491182700431, "basecurrencyname": "US dollar", "quotecurrencyname": "Qatari riyal" }, {

WSO2 ESB proxy backend with mutual authentication

我与影子孤独终老i 提交于 2019-12-24 08:22:04
问题 Is it possible to use mutual authentication (client SSL certificates) with WSO2 ESB? (I'm not talking about WS-Security.) I see that it is possible to add custom keystores to the ESB but I could not find any information on how to specify what client key to use when connecting to a specific backend. 回答1: Yes. You can enable mutual authentication for ESB proxy service. Here you want to do small configuration to enable mutual authentication for all proxy service . You can edit axis2.xml file and

Difference between Data Mapper Mediator and Payload Factory Mediator

限于喜欢 提交于 2019-12-24 07:27:43
问题 Besides the syntax what is the core difference between a data mapper and payload factory? They both can convert/transform data from one format to another. 回答1: I have used the data mapper only a few times (you stick with what you know). In my opinion both mediators provide mostly the same functionality (as does the xslt mediator) but the underlying technology and mainly the development method is radically different. datamapper provides a graphical way of transforming messages. It uses

how to catch an array of nodes to a property

爱⌒轻易说出口 提交于 2019-12-24 07:17:21
问题 Can any one please let me know how can I access an array of elements to a property. For example: I have an XML as said below <a> <x>1</x> <x>2</x> <x>3</x> <x>4</x> </a> I want my property to be set as shown below: <x>1</x> <x>2</x> <x>3</x> <x>4</x> when I try to access using //x with property type set to OM element or String I don't see the result as expected in my property. Can any one please direct me with the right xpath to be used to see the desired outcome ? 回答1: You should be able to

WSO2 Log4J RollingFileAppendeder does not work in wso2esb-4.8.1

拈花ヽ惹草 提交于 2019-12-24 07:17:01
问题 We are using WSO2esb-4.8.1. By default the log4j properties uses log4j.appender.CARBON_LOGFILE=org.wso2.carbon.logging.appenders.CarbonDailyRollingFileAppender I want this to be Size based rolling file. As per documentation at https://docs.wso2.com/display/Carbon420/Managing+Logs, the following should do the trick. ##comment the following ###log4j.appender.CARBON_LOGFILE=org.wso2.carbon.logging.appenders.CarbonDailyRollingFileAppender ##Add the followng log4j.appender.CARBON_LOGFILE=org

WSO2 EI and WSO2 Developer - Setup an ESB Proxy with http basic authentication

安稳与你 提交于 2019-12-24 07:16:57
问题 I'm using WSO2 EI 6.3.0 and WSO2 Developer Studio 3.8.0. I'm working with an ESB Project and a Proxy Service inside it. The Proxy service is a simple pass through service; it receives a request from a webapp and forward it to a Soap Web Service, gets the response from the WS and gives it back to the web app. I realized this configuration following this tutorial: https://youtu.be/3OsuGhEMQgc The setup is very simple, everything worked fine until I found a web service whose endpoint has http