wso2esb

Client giving error when invoking a secured web service

核能气质少年 提交于 2019-12-13 12:23:00
问题 I have written a client that invokes webservice. My client is: String publisherEPR = "https://abc:8280/services/ProviderPublication"; protected void publicationOpenSession(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println("Inside publicationOpenSession"); date = new Date(); namespace = "http://www.openoandm.org/xml/ISBM/"; fac = OMAbstractFactory.getOMFactory(); OMNamespace ns = fac.createOMNamespace(namespace, "ns1");

Hi All, Getting the below error. Does anyone have ever faced a similar issue.?

倾然丶 夕夏残阳落幕 提交于 2019-12-13 09:48:37
问题 Getting the below error. Does anyone have ever faced a similar issue.? TID: [-1] [] [2018-10-11 08:10:31,330] ERROR {org.wso2.carbon.event.output.adapter.jms.internal.util.JMSConnectionFactory} - Error acquiring a Connection from the JMS CF : jmsEventPublisher using properties : {transport.jms.ConcurrentPublishers=allow, java.naming.provider.url=repository/conf/jndi.properties, java.naming.factory.initial=org.wso2.andes.jndi.PropertiesFileInitialContextFactory, transport.jms.DestinationType

WSO2ESB 4.8.1 PassThroughHttpSender does not return thread to worker pool on exception

我只是一个虾纸丫 提交于 2019-12-13 07:16:22
问题 I think that org.apache.synapse.transport.passthru.PassThroughHttpSender which is default transport sender for http in wso2esb 4.8.1 (not sure about 4.9.0 will check it later) does not return borrowed thread to worker pool on exception in some cases. It seems to me that this happens when exception occurs in external sequence (not in proxy which is directly accepts incoming request). For example, it occurs when you implement store-and-forward pattern with store and message processor. this is

my sequence is too long,so please go through this

∥☆過路亽.° 提交于 2019-12-13 06:14:06
问题 Below is my sequence i am filtering based on clientid and modifiedon,it is giving proper data when i am running at soap side as well as query is fine. <?xml version="1.0" encoding="UTF-8"?> <sequence xmlns="http://ws.apache.org/ns/synapse" name="ParameterMobile_Seq"> <property xmlns:ns="http://org.apache.synapse/xsd" name="WorkPartyBranchId" expression="//WorkPartyBranchId/text()"/> <log level="full"> <property xmlns:ns="http://org.apache.synapse/xsd" name="kk" expression="get-property(

Error when accessing ESB Proxy with Jaggery WSStub

只谈情不闲聊 提交于 2019-12-13 05:15:42
问题 I created a web service and was able to send requests to it from a serverside Jaggery.js script with no problem. Then I created a WSDL Proxy Service inside WSO2 ESB and tested it using the "Try it!" feature. After I redirected my serverside script from the original web service to its proxy inside ESB, I got the error in System Logs: The endpoint reference (EPR) for the Operation not found is /services/BpmAdderProcessProxy.BpmAdderProcessProxyHttpSoap11Endpoint and the WSA Action = urn

Monitor remote WSO2 ESB using JMX

风流意气都作罢 提交于 2019-12-13 04:24:58
问题 I want to monitor my ESB using Jconsole and JMX. I can connect to JMX server from the localhost but for connecting from remote machine to my esb I can establish the connection. I use WSO2 ESB 4.6 and this my JMX configuration in carbon.xml file. <JMX> <!--The port RMI registry is exposed--> <RMIRegistryPort>9999</RMIRegistryPort> <!--The port RMI server should be exposed--> <RMIServerPort>11111</RMIServerPort> </JMX> 回答1: I found the problem, my rmi service was running on the host ip which

Unable to launch WSO2EI with log4j slf4j appender Kafka

我只是一个虾纸丫 提交于 2019-12-13 03:05:30
问题 I've updated my WSO2 EI from 6.2.0 to 6.3.0 and now i can't launch my WSO2 with a log4j appender for Kafka. Before, i've put this in my log4j.properties log4j.rootLogger=ERROR, CARBON_CONSOLE, CARBON_LOGFILE, CARBON_MEMORY,CARBON_SYS_LOG, ERROR_LOGFILE, KAFKA log4j.logger.AUDIT_LOG=INFO, AUDIT_LOGFILE log4j.logger.KAFKA=INFO log4j.logger.org.apache.KAFKA=INFO log4j.logger.KAFKA=DEBUG log4j.logger.org.apache.KAFKA=DEBUG log4j.logger.KAFKA=FATAL log4j.logger.org.apache.KAFKA=FATAL log4j.logger

WSO2 ESB: Custom URL

狂风中的少年 提交于 2019-12-13 01:54:13
问题 I have created my proxy with custom url, based on: http://wso2.com/library/knowledge-base/2011/01/custom-urls-wso2-esb-proxy-services/ Calling this custom URL with my SOAP message results in an error, I can still use the original url. custom: /services/wss/PlanningOphaalServiceProxy_v1 original: /services/PlanningOphaalServiceProxy_v1 The error: TID: [0] [ESB] [2015-08-19 15:47:05,039] ERROR {org.apache.axis2.engine.AxisEngine} - InvalidSecurity {org.apache.axis2.engine.AxisEngine} org.apache

Dynamic json-eval expressions in WSO2 ESB 5

僤鯓⒐⒋嵵緔 提交于 2019-12-13 00:38:00
问题 I'm trying to process a JSONPayload using a dynamically generated json-eval to select a perticular hotel object. Below mentioned direct json-eval works fine. Direct json-eval expression : json-eval($.content[?(@.hotelcode=='ALE1_LON')]) I have tried beow like options but no any luck yet. TRY 1 : <property name="htlCode" scope="default" type="STRING" value="'ALE1_LON'"/> <property expression="fn:concat('$.content[?(@.hotelcode==',get-property('htlCode'),')]')" name="xpathExpr" scope="default"

WSO2 Developer Studio (3.7.1) error when using expression get-property

限于喜欢 提交于 2019-12-13 00:29:05
问题 I've been trying use Developer Studio to get a PayloadFactory Mediator to populate an argument from an expression get-property('PropertyName'). When I try to switch from Design to Source view, I get the following error: Cannot update source view. The following error(s) have been detected. Please see the error log for more details. Reason: XPathFactory#newInstance()failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the