wso2esb

stWSO2ESB OutSequence Processing

拜拜、爱过 提交于 2020-02-16 05:23:08
问题 I'm transforming XML request to SOAP via XSLT in WSO2ESB, just wondering is it possible to make request parameter available to be used in response? E.g. <request> <test>123</test> <param1>testing</param1> </request> -> converted to SOAP <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">#S:Body><ns2:testrequest xmlns:ns2="http://xml.testing.com/test">

WSO2: StatisticsClient

喜你入骨 提交于 2020-02-07 09:32:25
问题 How can i use StatisticsAdmin of Application Server My scenario is : i want to get responsetime of a service that deploy on a server(AppServer/DataServer..) and probed by ESB using discoveryproxy of governance regidtry. if is it possible how can i implement it? otherwise i should be get service response time from AppServer in direct using service name. i can create a proxy of ServerAdminMBean using this package and interface import org.wso2.carbon.server.admin.service.ServerAdminMBean but i

WSO2 ESB proxy service does not start if target is unavailable

风格不统一 提交于 2020-02-05 06:02:44
问题 I have a simple Proxy Service deployed on WSO2 ESB. The service is defined as follow: <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="HelloWorld" transports="https http" startOnLoad="false" trace="enable" statistics="enable"> <description/> <target> <endpoint> <wsdl service="HelloWorld" port="HelloWorldImplPort" uri="http://myhostname:9001/HelloWorldInternal?wsdl"> <suspendOnFailure> <errorCodes>101508,101505,101503,101504</errorCodes>

WSO2 ESB - REST API - Response Does Not Come

蓝咒 提交于 2020-02-05 05:38:05
问题 I have exposed a REST service using <api> in wso2 esb. But the response does not come. REST service is written in Apache Wink. API <api name="API_2" context="/hello" hostname="localhost" port="8080"> <resource url-mapping="/name" methods="GET"> <inSequence> <log level="full"/> <property name="messageType" value="text/plain" scope="transport" type="STRING"/> <send> <endpoint> <address uri="http://localhost:8080/HelloService/rest/test/hello"/> </endpoint> </send> </inSequence> <outSequence>

Getting error while adding gmail connector in wso2 studio “Error while extracting Synapse Library : gmail-connector-3.0.8.zip”

被刻印的时光 ゝ 提交于 2020-01-25 04:10:07
问题 I am trying to implement the use case https://docs.wso2.com/display/EI650/Using+the+Gmail+Connector but in my case I am applying the gmail connector in out sequence but while exporting the .car file it is failing with error "error while extracting Synapse Library : gmail-connector-3.0.8.zip" I have tried adding the gmail connector in console but it is not reflecting yet, also tried restarting the server and redeploying several times but no luck here. Here is the full image of my project.

Is it advised to use different database for identity,shared,bps,consent & metric db in wsois 5.9.0?

北城余情 提交于 2020-01-24 22:06:43
问题 Is it advised to use different database for identity,shared,bps,consent & metric db in wsois 5.9.0? how to configure consent and metric db? I am trying this configuration: [user_store] type = "database" TenantManager="org.wso2.carbon.user.core.tenant.JDBCTenantManager" ReadOnly=false ReadGroups=true WriteGroups=true scim_enabled = true #enabling scim apis [database.user] url = "jdbc:mysql://localhost:3306/regdb?useSSL=false" username = "regadmin" password = "regadmin" driver = "com.mysql.jdbc

Clustering WSO2 EI ESB profile: some doubts about DBs creation and tables creation inside these DBs?

↘锁芯ラ 提交于 2020-01-24 20:48:47
问题 I am following this official documentation to create a 2 nodes cluster of WSO2 EI ESB profile: https://docs.wso2.com/display/EI650/Clustering+the+ESB+Profile#ClusteringtheESBProfile-Creatingthedatabases and I have the following doubt related the DBs needed to share information between the 2 nodes: First it specify to create the four DBs ( WSO2_USER_DB , REGISTRY_DB , REGISTRY_LOCAL1 and REGISTRY_LOCAL2 ) in this way: mysql> create database WSO2_USER_DB; mysql> use WSO2_USER_DB; mysql> source

Clustering WSO2 EI ESB profile: some doubts about DBs creation and tables creation inside these DBs?

给你一囗甜甜゛ 提交于 2020-01-24 20:48:09
问题 I am following this official documentation to create a 2 nodes cluster of WSO2 EI ESB profile: https://docs.wso2.com/display/EI650/Clustering+the+ESB+Profile#ClusteringtheESBProfile-Creatingthedatabases and I have the following doubt related the DBs needed to share information between the 2 nodes: First it specify to create the four DBs ( WSO2_USER_DB , REGISTRY_DB , REGISTRY_LOCAL1 and REGISTRY_LOCAL2 ) in this way: mysql> create database WSO2_USER_DB; mysql> use WSO2_USER_DB; mysql> source

How to migrate from JCAPS to WSO2 ESB

假如想象 提交于 2020-01-24 14:01:47
问题 We are using a JavaCAPS (JCAPS 5.X and 6.X) and want to migrate to WSO2 ESB. Now the question is how we can migrate with as much automatic migration as possible. TThe JCDs can be migrated to a custom mediator class that is being by a WSO2 proxy or sequence. But our main issue is the migration of the different OTD(Object Type Definitions) like DatabaseStockedProcedure, WebService, CustomTextFile, ... Are there any tools or howto guides to convert the JCAPS components to WSO2 compatible

Difference between Proxy Service and API Service in wso2 Esb

不打扰是莪最后的温柔 提交于 2020-01-22 15:28:52
问题 What is the difference between a Proxy service and API service in wso2esb? To expose my service I can give proxy URL and API URL then in which scenario both differs? and in which scenario I can use proxy and in which I can use API? Please help me in understanding.., 回答1: An API has resources so it is suitable when you have to perform multiple operations like CRUD etc. then you can call particular resource which will be performing some particular operation. A proxy service is suitable when you