wso2esb

Invoke Soap Service Using Proxy Service

删除回忆录丶 提交于 2019-12-12 02:07:42
问题 I want to create a proxy service to call an external Soap service using wso2 proxy service. I have created a proxy service like this: <target> <inSequence> <property name="messageType" value="text/xml" scope="axis2"/> <property name="ContentType" value="text/xml" scope="axis2"/> </inSequence> <outSequence> <property name="messageType" value="text/xml" scope="axis2"/> <property name="ContentType" value="text/xml" scope="axis2"/> <send/> </outSequence> <faultSequence> <log level="full">

WSO2 ESB- how to retrieve a property value that has xml tags using XLST mediator, all I get its '<' for '<'

我怕爱的太早我们不能终老 提交于 2019-12-11 23:20:46
问题 I am working on WSO2 ESB proxy service, where XSLT transformation needs to be done, taking a section of values from an xml and combine with the result of another .dsb file Here is my property that has below value *<xslt key="conf:/input/proxy_input_transform.xslt"/> <property name="DETAILS" expression="//QUARTERLY_DATA" /> <QUARTERLY_DATA> <ROW> <SAP_CUST_ID>0000905133</SAP_CUST_ID> <AOC_FLAG>N</AOC_FLAG> <LOB>AppleCare</LOB>...." but when a xlst is done after calling the .dbs file in the

How to access property mediator outside iterator which is defined inside iterator?

与世无争的帅哥 提交于 2019-12-11 23:19:52
问题 I have treed as below <iterate xmlns:oag="http://www.openapplications.org/oagis/10" xmlns:fn="http://www.w3.org/2005/xpath-functions" continueParent="true" preservePayload="true" attachPath="//ProcessCredit/DataArea" expression="//ProcessCredit/DataArea/Credit sequential="true"> ..... <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:oa="http://www.openapplications.org/oagis/10" name="ChargeTransactionKey" expression="concat(get-property('operation','ChargeTransactionKey'),//Extension

What does auto-scaling in wso2 elb mean?

不想你离开。 提交于 2019-12-11 21:31:16
问题 Can WSO2 ELB automatically start another instance of ESB when the limit is reached? If yes can I get a miniature example with a limit as 2 or 3? 回答1: Yes. WSO2 ELB can automatically spawn instances using the configured cartridges. However, WSO2 ELB is no longer recommended and it has been discontinued. We recommend WSO2 Private PaaS if you need an auto-scaling platform with WSO2 products. With WSO2 Private PaaS, you can use auto-scaling policies. 来源: https://stackoverflow.com/questions

connection timeout after request is read in wso2 esb

别等时光非礼了梦想. 提交于 2019-12-11 21:08:40
问题 After continuous time of the endpoint we are getting the message connection timeout after request is read and esb will stop responding. we need to restart the wso2 services again. i had increase the socket time out as suggested. 回答1: Time out in the esb is defined in three levels. endpoint timeout < socket timeout < synapse timeout.check[1] If you have defined enpoint timeout for your endpoint you can increase it up to the timeout value of socket timeout. and you can in crease the socket time

wso2 esb connection timeout tuning

故事扮演 提交于 2019-12-11 19:47:57
问题 configuration: WSO2ESB 4.8.0\4.8.1 OS: Linux\FreeBSD CLIENT <-> ESB <-> BACKEND here is my problem: if i create the simplest pass-through proxy to the sample service which responses with a delay of > 60 sec . i get an error when esb closes connection with the client without any response. By the way, according to the soap tracer logs ESB receives data from the backend, but connection "CLIENT <-> ESB" is already closed at that time. i tried to set these values: repository/conf/axis2/axis2

WSO2 - ESB server 4.7 Hangs- when an invalid json format is given as input for rest API

若如初见. 提交于 2019-12-11 19:47:14
问题 A REST API has been defined ESB. What we have observed is if the json format (invalid json), the request is hanging and the server doesn't give any response. Ideally it should throw some error at least and it should not hang. 回答1: I had the same situation in WSO2 4.8.1. Try to change JsonStreamBuilder in your axis2.xml to JsonBuilder from ( org.apache.synapse.commons.json ) or use your own implementation. 来源: https://stackoverflow.com/questions/22817554/wso2-esb-server-4-7-hangs-when-an

Creating wso2 esb proxy service on an endpoint which has references to XSD

混江龙づ霸主 提交于 2019-12-11 19:24:14
问题 I've created a pass through proxy service on top on a endpoint and selected Specify Source URL in publish wsdl options. The endpoint references to xsd's in the wsdl definition. The proxy web service generated fines, but when trying to load this web service from a client (SOAP UI), it throws an error because of the way the xsd is referenced in the proxy service wsdl URL. Sample of Actual web service with an xsd definition <types> <xsd:schema> <xsd:import namespace="http://service.example.com/"

timeout in retrieving the WSO2EI service wsdl from php on pass through transport

自闭症网瘾萝莉.ら 提交于 2019-12-11 17:53:30
问题 After installing WSO2EI-6.1.1 to migrate from my old WSO2DSS to EI, I was trying to setup a simple php wsdl soup client to call the "Version" service from php with a direct link to service wsdl and I'm getting the following error: php code: try { $client = new SoapClient("http://server-ip:8280/services/Version?wsdl"); $response = $client->getVersion(); var_dump($response); } catch (SoapFault $fault) { echo $fault->getMessage(); } error: Fatal error: Maximum execution time of 120 seconds

Mutual SSL between ESB and unsecured back-end services , “Null cert chain”

偶尔善良 提交于 2019-12-11 16:52:12
问题 I am getting the following error : ERROR {org.apache.synapse.transport.passthru.SourceHandler} - I/O error: null cert chain {org.apache.synapse.transport.passthru.SourceHandler} while trying to enable mutual SSL between my (custom)Proxy service and 2 unsecured back-end services. Here's what I've done so far : Enabled <parameter name="SSLVerifyClient">require</parameter> Extracted public certs of 2 back-end servers in [carbon_home]/respository/resources/security/wso2carbon.jks using Java Key