wso2

WSO2 ESB HTTP connection was forcibly closed by remote host

*爱你&永不变心* 提交于 2019-12-08 12:46:00
问题 We are using WSO2 ESB to clone and broadcast SOAP requests to all our web services, that are being hosted on IIS . Recently we switched to nhttp transport. It was configured as recommended here but each time after the period of inactivity we encount an exception in wso.log [HTTP Sender I/O dispatcher-4] ERROR ClientHandler I/O error : An existing connection was forcibly closed by the remote host For : 127.0.0.1:4148 java.io.IOException: An existing connection was forcibly closed by the remote

wso2 emm add new device operation

我怕爱的太早我们不能终老 提交于 2019-12-08 12:44:01
问题 I'm trying to add new device operation to wso2-emm. I'm not sure what are the exact steps needed for adding new operation (I want to be able to have something like application list). Although I'm not getting any error, i don't see the client gets the pull request. Is there any tutorial how can I add new device operations? Thanks. 回答1: To which platform you need to add operations? Its not straight forward but should be able to add by adding some records in to the DB as well as the source code.

how to push data from java class to Wso2 DAS

痞子三分冷 提交于 2019-12-08 11:53:14
问题 Is there any document or step by step process which guides us on how we can use WS02 DAS to pull data from java class objects and display reports using this data using WS02 Dashboards. Any help would be really appreciated. 回答1: First You can create an Event Stream by specifying attributes and mention what are the attributes you need to persist. When events arrives to the streams, those will be stored in Events tables [1]. Then you can create an Event Receiver for that Event Stream [2]. When

Wso2 ESB admin services to get Create proxies Java

丶灬走出姿态 提交于 2019-12-08 10:54:12
问题 1) Hello I am trying to use the admin services to create an Proxy inside the ESB. So I have exposed the admin services (Hidden=false) I have imported the WSDl in my Java project https://localhost:8243/services/ProxyServiceAdmin?wsdl But I cannot workout how to call the method addProxy am I using the wrong admin service? Please help with an example of consuming this method. ProxyServiceAdmin ps = new ProxyServiceAdmin(); ps.addProxy(); //wrong 2) I have a proxy defined as a one-line String,

wso2 esb customURI / serviceURI with expression

南楼画角 提交于 2019-12-08 10:24:51
问题 I am trying to implement ESB solution to replace a web-tier part of a complex web-service architecture. The web-tier just receives the request from clients and distributes to a given set of app-tier instances. Since the end-points are already defined and used by clients, I had to build the ESB proxy using the "CustomURI" approach as described here - http://achala11.blogspot.com/2012/08/access-wsdl-for-customuri-wso2-esb.html - to expose the end-point and wsdl. Note that ServiceURI only allows

wso2_carbon_db across different wso2 product, should it be same db?

妖精的绣舞 提交于 2019-12-08 09:54:23
问题 I have installed WSO2 API Manager and WSO2 Business Process Server. Both product has wso2_carbon_db, so my question is whether both product should be configured with single db_instance of wso2_carbon_db ? or they should be configured with two different db_instance such as am_wso2_carbon_db and bps_wso2_carbon_db ?? please advice. I am using PostgresSql as db. thanks. 回答1: wso2_carbon_db should not be shared among different instances. It consists of instance local information. Sharing it among

Unable to create Access token grant type in wso2 API manager store to test API

非 Y 不嫁゛ 提交于 2019-12-08 09:08:27
I am following this link Read this paragraph "The API is now available in the API Store and ...." Am working on window in this paragraph they are saying create Access token "curl" command. But i am unable to do that. Also am creating access token after subscribe API In "MY Subscription" tab there are two option to create Access token "Production" and "Sandbox" but by using that token API calling giving error. " 900910 The access token does not allow you to access the requested resource Access failure for API: /accessPolicy/v1.0.0, version: v1.0.0 with key: e2dc44322fe78bb7bdb6d83519ff863e "

WSO2 ESB - Data Services Server Feature - How to use Data Sources to swap data source on fly

自作多情 提交于 2019-12-08 09:04:48
问题 I am using WSO2 ESB 4.0.3. I have installed WSO2 Data Services Feature on it and I have created DS. There is feature in the ESB under "Configure" tab under admin UI where you can define the "Data Source". My question is while creating new Data Service I am not able to use this "Data Source" which I have configured in ESB. We have different environments DEV / TEST / UAT / PROD. Each environment has different data base for same data service. Currently I have manually change the DS XML file to

WSO2 ESB print all TRANSPORT_HEADERS

◇◆丶佛笑我妖孽 提交于 2019-12-08 09:00:14
问题 I can print individual transport headers in the WSO2 ESB with the following code inside a sequence: <log level="custom"> <property name="oneHeader" expression="$trp:FILE_NAME"/> </log> But I need to print all available transport properties. There is a axis2 property called "[TRANSPORT_HEADERS][1]", but when printing this property it is always empty. <log level="custom"> <property name="allHeaders" expression="get-property('axis2','TRANSPORT_HEADERS')"/> </log> Because I don't know all header

Configuring WSO2 AS and BAM -new error

≯℡__Kan透↙ 提交于 2019-12-08 08:32:42
问题 I followed the same steps as mentioned in the WSO2 documentation for configuring BAM server and WSO2 AS. Both are in different computers. Still not able to solve the errors. Now I am getting new error when I click BAM EVENT_KS. My BAM server offset address is 0 by default. I changed my WSO2 AS offset to 2 in carbon.xml. ERROR {org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher} - Error while connection to event receiver org.wso2.carbon.databridge.agent.thrift.exception.AgentException: