wso2esb

Data Service fails when deployed with ESB

喜夏-厌秋 提交于 2019-12-09 18:47:59
问题 I have a data service that works perfectly when deployed in a DSS only environment. The exact data service when deployed in an environment with both dss and esb will fail an operation that has a simple input parameter. Any pointers as to what is failing would be greatly appreciated. The Data service has two operations; Simple get of information with no input parameters, GetLastRequest More complex get operation in which a single datetime parameter is passed in, GetNewRequests When deployed in

CDATA in payload factory in WSO2 ESB

大兔子大兔子 提交于 2019-12-09 13:35:03
问题 I am trying to write a sequence in ESB and populate my payload data by using payload factory as i stated below example. <payloadFactory> <format> <p:echoInt xmlns:p="http://echo.services.core.carbon.wso2.org"> <in xmlns="">$1</in> </p:echoInt> </format> <args> <arg xmlns:ns="http://org.apache.synapse/xsd" expression="an-xml-formatted-string"/> </args> </payloadFactory> <send> <endpoint> <address uri="http://noon101:8280/services/echo" format="soap11"/> </endpoint> </send> Because my string is

Criteria for choosing simple Apache Synapse Vs WSO2

大城市里の小女人 提交于 2019-12-08 20:46:43
问题 While evaluating various ESB's, I came across Apache Synapse & WSO2. In WSO2 it's mentioned that WSO2 completely uses Synapse and built on top of it. However I am not still clear what additional features does WSO2 offer over Synapse? (Apart from commercial support). One difference I could see is the web UI to manage proxy definitions, sequences creation etc. Are there any other features which WSO2 provides over Synapse? Also please share if there are any guidelines to choose between Synpase &

Transaction roll back not working in wso2esb4.8.0

天涯浪子 提交于 2019-12-08 13:46:11
问题 I am using wso2esb4.8.0 and wso2dss3.0.1.My issue is I wish to insert the data into 2 tables its working nicely but I wish to applay transaction for my tables both table exist in same DB.If my 2nd table going fail on any moment that time my 1 st table should be rollback for that my DSS data source configuration is and my dataservice is like this and I enabled boxcar for transaction <data disableStreaming="true" enableBoxcarring="true" name="Transaction" serviceNamespace="http://ws.wso2.org

ERROR engine.AxisEngine: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm

a 夏天 提交于 2019-12-08 13:39:05
问题 I am getting the below exception when I am calling the SecureStockQuoteProxy service with a proxy service. Here I have exposed this secured service as a REST API (which is unsecured). When I am calling the REST API, ESB throws the below error. [2013-11-24 12:41:46,386] ERROR - AxisEngine InvalidSecurity org.apache.axis2.AxisFault: InvalidSecurity at org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:164) at org.apache.axis2.engine.Phase

WSO2 ESB HTTP connection was forcibly closed by remote host

*爱你&永不变心* 提交于 2019-12-08 12:46:00
问题 We are using WSO2 ESB to clone and broadcast SOAP requests to all our web services, that are being hosted on IIS . Recently we switched to nhttp transport. It was configured as recommended here but each time after the period of inactivity we encount an exception in wso.log [HTTP Sender I/O dispatcher-4] ERROR ClientHandler I/O error : An existing connection was forcibly closed by the remote host For : 127.0.0.1:4148 java.io.IOException: An existing connection was forcibly closed by the remote

Wso2 ESB admin services to get Create proxies Java

丶灬走出姿态 提交于 2019-12-08 10:54:12
问题 1) Hello I am trying to use the admin services to create an Proxy inside the ESB. So I have exposed the admin services (Hidden=false) I have imported the WSDl in my Java project https://localhost:8243/services/ProxyServiceAdmin?wsdl But I cannot workout how to call the method addProxy am I using the wrong admin service? Please help with an example of consuming this method. ProxyServiceAdmin ps = new ProxyServiceAdmin(); ps.addProxy(); //wrong 2) I have a proxy defined as a one-line String,

wso2 esb customURI / serviceURI with expression

南楼画角 提交于 2019-12-08 10:24:51
问题 I am trying to implement ESB solution to replace a web-tier part of a complex web-service architecture. The web-tier just receives the request from clients and distributes to a given set of app-tier instances. Since the end-points are already defined and used by clients, I had to build the ESB proxy using the "CustomURI" approach as described here - http://achala11.blogspot.com/2012/08/access-wsdl-for-customuri-wso2-esb.html - to expose the end-point and wsdl. Note that ServiceURI only allows

WSO2 Python Script Mediator

非 Y 不嫁゛ 提交于 2019-12-08 09:16:27
问题 I'm trying to use a Script Mediator in WSO2 that has the following definition: <script xmlns="http://ws.apache.org/ns/synapse" language="py" key="myPythonScript" function="process"/> I had to hard-code the "py" as language since Javascript, Ruby, and Groovy were the only options available in the language drop down list, although the WSO2 ScriptMediator documentation states that Python is supported. When I try to save my proxy changes I get the error "ERROR - ScriptMediator No script engine

WSO2 ESB - Data Services Server Feature - How to use Data Sources to swap data source on fly

自作多情 提交于 2019-12-08 09:04:48
问题 I am using WSO2 ESB 4.0.3. I have installed WSO2 Data Services Feature on it and I have created DS. There is feature in the ESB under "Configure" tab under admin UI where you can define the "Data Source". My question is while creating new Data Service I am not able to use this "Data Source" which I have configured in ESB. We have different environments DEV / TEST / UAT / PROD. Each environment has different data base for same data service. Currently I have manually change the DS XML file to