wso2esb

How to convert single child xml element to Json Array

你说的曾经没有我的故事 提交于 2019-11-29 23:33:17
问题 I am using WSO2 ESB and trying to convert my XML payload to Json. <property name="messageType" value="application/json" scope="axis2"/> The above property mediator convert my xml to json and it all works fine. The issue is with the child nodes in my XML payload. When the xml is <users> <user>user1</user> <user>user2</user> </users> it gets converted to "users": { "user": [ "user1", "user2" ] } so my rest full endpoint recieving the json payload which is expecting a list 'user' works fine. but

How to compile WSO2 ESB?

妖精的绣舞 提交于 2019-11-29 16:53:05
I'm trying to build the source code of WSO2 ESB from the following URL https://svn.wso2.org/repos/wso2/carbon/platform/tags/4.0.7/products/esb/4.6.0/ But when I'm compiling with Maven the project it throw me the following exception: Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Axis2 Transport HTTP Pass-through Feature 1.0.2 (org.wso2.carbon.transports.passthru.feature.group 1.0.2) Missing requirement: WSO2 Carbon - Axis2 Transport HTTP Pass-through Feature 1.0.2 (org.wso2.carbon.transports.passthru.feature.group 1.0

How to deploy wso2 esb on websphere?

五迷三道 提交于 2019-11-29 15:34:54
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 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 is secure enough for any enterprise deployment. Also when you run a server instance like WSO2 BAM, inside a

Configuring PROXY settings in WSO2 ESB 4.8.1

做~自己de王妃 提交于 2019-11-29 12:52:30
I am new to wso2.. I am facing an issue while calling an EXTERNAl SOAP Service using wso2esb proxy service.. I am using WSO2 ESB inside a corporate proxy.. I can able to call this external soap service directly using an soap client.. Is there any proxy configuration that I need to set in WSO2 ESB ? I am getting the following exception while connecting a soap service using wso2proxy service 2014-03-18 14:40:52,193 [-] [PassThroughHTTPSender] WARN ConnectCallback Connection refused or failed for : www.w3schools.com/68.232.44.251:80 2014-03-18 14:40:52,198 [-] [PassThroughMessageProcessor-3] WARN

wso2 esb Unsupported Media Type

余生颓废 提交于 2019-11-29 08:46:39
I would like my company to use the Wso2ESB, but I have only two days left to convince them, and the creation of Proxy does not work! I am desperate for a real help for my problem: every proxy that I create seem to produce HTTPSender Unable to sendViaPost to... (why it is unable to send it?) Transport error: 415 Error: Unsupported Media Type (is it a consequence of the fact that it could not send? or a problem in the configuration?) My fresh installation of WSO2 ESB 4.5 is not working with any web service I have tried: JAXWS and C#. I always have the following message LOG: [2012-05-09 08:42:19

WSO2 ESB Tracking Request-Response

别来无恙 提交于 2019-11-29 07:53:40
I'm working on WSO2 ESB 4.8.1 By observing ESB HOME/repository/logs/wso2carbon.log i need to know the connection between one request and its relative response going through my proxy services. I tried following the MessageID property printed in the insequence and the out sequence of my proxies, but i realize, even if i'm not so sure, that this property is different from one to the other. So what's the way i could know which are the requests all the responses are connected with? Should have i to create my own custom property and to log them in the insequence and outsequence? Balaji Sengeni 1) In

WSO2 ESB Unable to convert complete JSON data to XML

寵の児 提交于 2019-11-28 13:36:00
I am constructing a POC. And I created a pass through proxy service for Google Plus. Without using any proxy service I get this is my output : { "kind":"plus#person", "etag":"\"ExituU7aUpmkkfyD52VulzptThw/4J1clegrhxYC2fsJOu2XWCs1Ewg\"", "id":"117488614303967062311", "displayName":"Abhi NeoN", "name":{ "familyName":"NeoN", "givenName":"Abhi" }, "tagline":"hey guys ! ssup!! check out ma recnt videos... uploaded", "gender":"male", "aboutMe":"\u003cb\u003ehie, abhishek - ma full name \u003c/b\u003e\u003cdiv\u003e\u003cb\u003em a DANCER ,\u003c/b\u003e\u003c/div\u003e\u003cdiv\u003e\u003cb\u003ei

how to read http headers in esb

人盡茶涼 提交于 2019-11-28 12:45:52
How do I set a property to the value of an incoming http request header? I tried a few things (see following), but my log values are all null, so I'm clearly not reading the header values correctly. The header value I really care about is X-EMPID. Using wso2esb 4.8.1. Here are a couple of posts that led me to believe this would work, but I'm not having any luck yet. <proxy xmlns="http://ws.apache.org/ns/synapse" name="getaccount2" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target> <inSequence> <property name="empid" expression="get-property('transport',

Howto access registry in WSO2 ESB

笑着哭i 提交于 2019-11-28 11:50:57
Howto reference WSDL files from the registry when defining a new proxy service? I am using WSO2 ESB. Q1: Can I use the localEntry element to define the WSDL in my proxy service? For example: localEntry key="my_wsdl" src="file:/wsdl/MyServiceSOAP.wsdl" Provided that I have previously used Management Console > Add Collection > create "wsdl", and Add Resource > MyServiceSOAP.wsdl. I have a problem with the "src" value, both "/wsdl/MyServiceSOAP.wsdl" and "wsdl/MyServiceSOAP.wsdl" do not work. I follow the documentation but they do not show howto upload WSDLs into the registry. Q2: What if

How to compile WSO2 ESB?

守給你的承諾、 提交于 2019-11-28 11:29:32
问题 I'm trying to build the source code of WSO2 ESB from the following URL https://svn.wso2.org/repos/wso2/carbon/platform/tags/4.0.7/products/esb/4.6.0/ But when I'm compiling with Maven the project it throw me the following exception: Cannot complete the install because one or more required items could not be found. Software being installed: WSO2 Carbon - Axis2 Transport HTTP Pass-through Feature 1.0.2 (org.wso2.carbon.transports.passthru.feature.group 1.0.2) Missing requirement: WSO2 Carbon -