wso2esb

How to convert SOAP response with xsi values to json in WSO2esb

时光总嘲笑我的痴心妄想 提交于 2019-12-06 11:37:45
I'm using wso2 esb 4.8.1 version for SOAP to rest conversion with as API. I have a soap request with xsi values. After I generate the proper soap request with script mediator and um getting an expected response. But I have an issue with response. Because I need t convert the soap response into json. When I tried with following out sequence um not getting the proper json response with axis2. How can I convert this soap response into json properly? This it the soap response. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"

Deploying WSO2 ESB 4.6.0 onto JBoss 7

北城以北 提交于 2019-12-06 11:36:20
问题 I'm looking for a way to deploy WSO2 ESB onto JBoss 7 . I saw in the Web such manuals for JBoss 5.1.0 . AFAIK JBoss 7 is quite different from JBoss 5.1.0 . In particular, forked from Tomcat JBossWeb is used there instead of Tomcat. Therefore I don't think that a manual for JBoss 5.1.0 is suitable for JBoss 7 . Has somebody done the subj successfully? Is there any manual, guide or something like that, describing how to do this? 回答1: We stopped supporting webarchive deployment model from carbon

WSO2 ESB Custom Message Processor example

蓝咒 提交于 2019-12-06 09:55:02
问题 I'm planning to create a custom message processor to pick up messages from message store. However I haven't find any examples how to create a custom class. Documentation under this topic is very limited.(http://docs.wso2.org/display/ESB481/Custom+Message+Processor). Can somebody provide example to create custom message processor ? Thanks, 回答1: Have a look at the MessageProcessor interface - and the implementations and other classes here. Once you have your processor setup, you can place your

WSO2 Add BAM Profile in ESB

蹲街弑〆低调 提交于 2019-12-06 07:20:02
We're having troubles trying to add BAM Profiles to ESB following the manual: http://docs.wso2.org/wiki/display/BAM201/Setting+up+BAM+Mediator#SettingupBAMMediator-ConfigureBAMServerProfilesandStreams BAM 2.0.1 (latest version) ESB 4.5.1 (latest version) p2-repo from http://dist.wso2.org/p2/carbon/releases/p2-repo.zip (15-01-2013) It works if you do it with both WSO2-servers in a single host, but it doesn't if ESB and BAM are running in separate hosts. No logs or traffic found outgoing or incoming through port 7611. The BAM thrift port 7611 is open and listening in BAM host, and is reachable

Invoking HTTPS end point from wso2 esb

一世执手 提交于 2019-12-06 06:03:11
How do I invoke a HTTPS endpoint from WSO2 ESB. My web service deployed on weblogic server is secured with policy Wssp1.2-2007-Https-UsernameToken-Plain.xml and the SOAP address specified in WSDL is https://172.16.91.21:7102/WLSAMLPack_62_64/CustomAsTAPIOnBuildingSAMLService When I try to create an endpoint from WSO2 esb and access it, it throws following error: [2012-08-29 11:43:49,769] ERROR - ClientHandler I/O error : General SSLEngine problem For : 172.16.91.21:7102 For Request : Axis2Request [Message ID : urn:uuid:59ebea16-dcb0-4b25-8074-b78605e2ff55] [Status Completed : false] [Status

TCP transport in Proxy wso2 esb

≡放荡痞女 提交于 2019-12-06 05:52:00
I want to send a request over TCP transport to a proxy service, when use this code to send my soap xml Socket clientSocket = new Socket("host", port); DataOutputStream outToServer = new DataOutputStream(clientSocket.getOutputStream()); outToServer.writeBytes("soap xml instance"); clientSocket.close(); it works fine and my business is continues. But when i send two xml without closing the socket like this: Socket clientSocket = new Socket("host", port); DataOutputStream outToServer = new DataOutputStream(clientSocket.getOutputStream()); outToServer.writeBytes("soap xml instance"); outToServer

WSO2 how to Integrate ESB with Identity Server

℡╲_俬逩灬. 提交于 2019-12-06 05:30:11
Maybe my understanding is wrong, please advice. Requirement: (1) user A, and user B wanna to access a web service SayHello. (2) only user A has permission. (3) SayHello web service simply return a string "hello" Previously: (1) To invoke SayHello, create a client according to SayHello?wsdl. -- Success (2) Create a proxy service SayHelloProxyService through ESB, host this proxy service to SayHello service, create a client according to SayHelloProxyService?wsdl. --Success Now: Add Identity Server inside, only give user A access permission, something like the following diagram : Question : for

AXIS2Server packed with ESB 4.9.0 doesn't start while it works fine 4.8.0

此生再无相见时 提交于 2019-12-06 04:32:14
AXIS2Server packed with ESB 4.9.0 doesn't start while it works fine 4.8.0.. .any help Hi, I'm running ESB 4.9.0 on Win 7 OS 64-it. Let's say my esb is available at following location D:\wso2esb\samples\axis2Server As per instructions to run samples, I'm able to successfully build sample apps using ant but axis2 server doesn't start at all. It prints following on CMD when i execute axis2server.bat. Am i missing something? ========================================================= Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\kashif

WSO2 API Manager - Displaying Private IP in the store

旧街凉风 提交于 2019-12-05 20:50:54
I have installed the API manager 1.6.0 and got API Manager running as well. However the problem is IP address shown within store is the private IP of the server. Private IP is accessed via a VPN. Below is the URL which is shown in the store as Production and Sandbox URLs, http://192.168.6.162:8280/railway/2.0 For 192.168.6.162 I have assigned a public IP which is 103.11.35.xx and assigned a domain my-domain-name as well. What I would like to see is as below, http://my-domain-name/railway/2.0 How can I configure API Manager to show the domain name instead of an IP address with a port? You can

How to avoid endpoint suspension in wso2 esb when actual end point is down

感情迁移 提交于 2019-12-05 15:35:48
I am using message store to store the message in case the actual end point is down. My proxy uses vfs transport, i.e it will read the message from the file and deliver to end point. In case the end point is down it will store the message in configured activemq. My configuration is working fine when i kept single file. While keeping more files(i.e more messages) and end point is down only first few message get stored others are lost. Even i searched a lot of content most of them suggesting it is due to End point suspension error. I tried to avoid that, but still the same result. How to solve