wso2esb

WSO2 responds payload in binary

旧时模样 提交于 2019-12-24 04:51:55
问题 I have a corportative environment and make changes in axis2.xml and carbon.xml can generate impacts. My problem is that WSO2 is responding the message in binary as an example: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <axis2ns1073:binary xmlns:axis2ns1073="http://ws.apache.org/commons/ns/payload">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48UzpFbnZlbG9wZSB4bWxuczpTPSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy9zb2FwL2VudmVsb3BlLyI

ActiveMQ: One Pending Message but Queue is empty

两盒软妹~` 提交于 2019-12-24 02:49:46
问题 I have a strange problem with ActiveMQ. I have a queue that seems to have a pending message, but when I open the queue, there is no message. What is wrong here? Is there really a message pending? How can I bring the message back or at least see the content? Screenshot of the pending message: Screenshot when opening the queue, which is empty: EDIT: Just found these two bugs of ActiveMQ 5.6.0. Can this be the source of that problem? Incorrect reporting of pendingQueueSize of durable subs after

WSO2 Developer studio keeps removing gov endpoints in send mediator

北战南征 提交于 2019-12-24 02:14:11
问题 I'm using endpoints which are stored in governance registry so I often use code like this: <send> <endpoint key="gov:endpoints/policyEp.xml"/> </send> unfortunately, once in a while, my endpoint disappears, leaving empty send tag :( It usually happens when saving changes to the proxy or rebuilding cars to deploy on attached carbon server (in developer studio 3.8.0). I have searched for similar issues and found none. Any ideas? I have a suspicion that it has something to do with developer

How to sort the xml element based on data in wso2esb

≯℡__Kan透↙ 提交于 2019-12-24 01:45:23
问题 I am using wso2esb. I wish to transform the data using wso2esb i have done the issue is while response i am getting data in descending manner how would i arrange in to ascending way . <response> <customer-details> <cusfirstname>Empire Burlesque</cusfirstname> <delarname>Bob Dylan</delarname> <cusno>254</cusno> </customer-details> <customer> <cusId>6</cusId> <customername>Bonnie Tyler</customername> <country>UK</country> <company>CBS Records</company> <price>9.90</price> <year>1988</year> <

wso2 samples not working

浪尽此生 提交于 2019-12-24 00:49:10
问题 Been following the instructions at https://docs.wso2.com/display/ESB490/Sending+a+Simple+Message+Through+the+ESB And have successfully got the project to build (and deploy) However, when I go to start the axis server as per the instructions I get the below Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\humphriesa>set JAVA_HOME=C:\Programs\Java\jdk1.8.0_92 C:\Users\humphriesa>cd C:\wso2esb-4.9.0\samples\axis2Server C:\wso2esb-4.9.0

client for secured proxy service?

空扰寡人 提交于 2019-12-23 23:26:18
问题 I am trying to implement security to my proxy service. I have taken help for security implementation from this link:http://evanthika.blogspot.in/2012/12/pox-security-with-wso2-esb-proxy.html. My security is implemented and i can invoke it from try it as well but i want to invoke this service through a client but how to do this part i am unable to find. can anyone provide me a sample with respect to this problem? Thanks in advance 回答1: Update: The RampartConfigBuilder class: package org.wso2

Can't apply concat function in WSO2 ESB CONFIGURATION with json-eval

谁说我不能喝 提交于 2019-12-23 23:17:39
问题 I'm trying to set this expression in order to obtain the output file name as a concat between the name of the city and the extention of the file: <?xml version="1.0" encoding="UTF-8"?> <sequence name="WriteFile_City" xmlns="http://ws.apache.org/ns/synapse"> <property expression="concat(json-eval($.city.name),'.xml')" name="transport.vfs.ReplyFileName" scope="transport" type="STRING" xmlns:ns="http://org.apache.synapse/xsd"/> <property name="OUT_ONLY" value="true"/> <send> <endpoint> <address

Not getting out parameter of mysql Stored Procedure in WSO2 ESB (DBLookup)

空扰寡人 提交于 2019-12-23 18:25:08
问题 I have created a SP in mysql which takes 6 input parameters and give 2 output parameters. I want to call this from DB lookup. I don't know how to do that. I have tried different-2 codes but no luck. please help. Synapse Code: <dblookup> <connection> <pool> <driver>com.mysql.jdbc.Driver</driver> <property name="autocommit" value="false"/> <password>root</password> <user>root</user> <url>jdbc:mysql://localhost:3308/emp</url> </pool> </connection> <statement> <sql> <![CDATA[call MANAGE_MANAGER

WSO2ESB 4.5.1 axi2 property ssl.client.auth.cert.X509 is always NULL

走远了吗. 提交于 2019-12-23 15:35:47
问题 When using the NIO SSL listener (org.apache.synapse.transport.nhttp.HttpCoreNIOSSLListener), there's no HttpServletContext available anymore (obviously), so digging into the possible Axis2 properties that could address the client certificate I found: ssl.client.auth.cert.X509 This property, no matter what, is always null (I'm able to access other properties, so my code to access seems fine). Looking into the HttpCoreNIOSSLListener , it seems like it is filled whenever the request is done via

WSO2 ESB - Dynamic value for proxy parameters (transport)

拟墨画扇 提交于 2019-12-23 12:29:06
问题 I need to be able to specify a dynamic value for proxy parameter. Actually, I have to specify each parameter with complete URL like : <parameter name="transport.vfs.FileNamePattern">.*.txt</parameter> I see some samples with property mediator and I guess it's working for next proxies but the problem here is that I need to change the proxy parameters value before its execution I think. I tried with a "trigger" proxy calling a custom mediator which change SynapseConfiguration of required proxy