wso2esb

WSO2 Governance API from WSO2 ESB Mediator

我只是一个虾纸丫 提交于 2019-12-11 04:53:32
问题 im facing up to wso2 ESB 4.8.1 and WSO2 GREG 4.6.0. I have connected GREG as esb's remote Registry and now i need to develop a class mediator by which i can store shared recources inside the remote registry. 1) Does the Registry can store Java Object? 2) should i use org.apache.synapse.registry.Registry for browing the registry? or is it better to import the governance api inside the mediator project? For example i need to add and get a resource and to set it my custom properties. Then i want

Dynamic configuration of the WSO2ESB inbound endpoints

你说的曾经没有我的故事 提交于 2019-12-11 04:48:10
问题 I'd like to dynamically change some of the parameters of my inbound endpoint. More precisely, I have a RabbitMQ inbound endpoint, and I would like to dynamically specify server host name, port, queue name, etc. How can I do this? BTW, if it cannot be done with the existing components that's fine. It would also be great/acceptable if I could for example create a custom mediator that would read these properties from the message context and then somehow modify the RabbitMQ inbound endpoint, just

ListeningIOReactor encountered a checked exception : Too many open files

℡╲_俬逩灬. 提交于 2019-12-11 04:27:53
问题 We are facing a strange issue in WSO2 ESB 4.9.0 with below error. After we start the server, server is respondin but it's not accepting any http requests. Below is the error. We are just testing 20-50 reqeusts... 2016-06-17 13:13:15,330 [-] [PassThrough HTTP-Listener I/O dispatcher Listener] WARN PassThroughHttpListener System may be unstable: HTTP ListeningIOReactor encountered a checked exception : Too many open files java.io.IOException: Too many open files at sun.nio.ch

The endpoint reference (EPR) for the Operation not found

我的梦境 提交于 2019-12-11 03:57:31
问题 Exception in thread "main" org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /services/MyTest?wsdl and the WSA Action = . If this EPR was previously reachable, please contact the server administrator. at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:375) at org.apache.axis2.description.OutInAxisOperationClient.send

Modifying config registry resource content during mediation in WSO2 ESB

别来无恙 提交于 2019-12-11 03:33:25
问题 I have a scenario where I need to store simple counter in config registry and increment it at end of sequence flow. Reason we need to store in config registry is in case server get restarted we have last counter value persisted. Can someone suggest how to increment the counter in config registry ? 回答1: Sample javascript you can use in your mediation to save current message inside registry : <script language="js"><![CDATA[ importPackage(Packages.org.apache.synapse.config); mc.getConfiguration(

Disabling WSO2 Certificate Validation

人盡茶涼 提交于 2019-12-11 03:08:44
问题 I'm new to WSO2. I'm using the ESB Console, and I'm trying to add a WSDL-Based Proxy After entering the WSDL URL if I then try to Test URI , I receive the following error: Invalid WSDL URI (Unable to establish a connection) I'm not certain was the issue is, but I'm guessing that there is a problem with the issuer of the certificate. I would like to disable certificate validation to test that theory. So far, the only setting I can find is the following in the wso2esb-4.8.1/repository/conf

WSO2 SSO always redirects to localhost:9443/samlsso

走远了吗. 提交于 2019-12-11 03:05:05
问题 I'm using WSO2 identity server (on port 9443) and enterprise service bus (ESB, on port 9444). I configured ESB to use IS SSO. But everytime I try to login into ESB it redirects me to IS and there it redirects me to URL localhost:9443/samlsso. I already tried changing this URL in identities.xml and carbon.xml without access. Where can I configure the redirection address? In carbon.xml I specified the hostname as "HostName" and "MgtHostName". But IS still uses localhost. Thanks! 回答1: Ok, I

wso2 unable to locate the specified wsdl from registry

痞子三分冷 提交于 2019-12-11 02:16:40
问题 ok, here we go. The issue is that with my proxy service i click design view, publish wsdl from registry, i pick the wsdl that i have loaded into the registry, then attempt to save the proxy but get the following error: Couldn't build the proxy service : gasd_lookup. Unable to locate the specified WSDL to build the service {org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin} org.wso2.carbon.proxyadmin.ProxyAdminException: Error trying to add the proxy service to the ESB configuration : gasd

startOnLoad is not working as expeceted

百般思念 提交于 2019-12-11 00:34:35
问题 I have created VFS based proxy service as below but property startOnLoad="false" is not working as expected. Even after the deployment of the proxy, we need to manually click Activate and then click disable to permanently disable VFX proxy. But the proxy status show as disabled but the proxy is still polling FTP server in the back end. We need to manually activate and disable the proxy to permanently disable it. Is there anyone faced this problem earlier and any fix for it. This issue is in

how to iterate JSON payload and construct the response in wso2

冷暖自知 提交于 2019-12-10 23:13:09
问题 How to iterate through results array and construct Response array by adding carValue and bikeValue into id ("C_05"-"B_08"/"C_07"/"B_06") of the Response array and keep the same desc as description. JSON Payload Request: {"results": [ { "desc": "Blind", "carValue": "05", "bikeValue": "08" }, { "desc": "Deaf", "carValue": "09", "bikeValue": "10" }, { "desc": "Oxygen", "carValue": "07" }, { "desc": "carbon", "bikeValue": "06" }] } final Response should be: { "Response" : [ { "id" : "C_05"-"B_08"