wso2esb

How to incorporate wso2 esb fix?

五迷三道 提交于 2020-01-06 03:17:35
问题 I have installed DSS feature on ESB. While deploying DSS artifact, I came across error similar to one below WARN - DefaultAppDeployer Can't deploy artifact : EmployeeDataService of type : service/dataservice. Required features are not installed in the system The wso2 jira indicates that the issue has been resolved https://wso2.org/jira/browse/CARBON-15657 How do I incorporate this fix in my wso2 esb 4.9 installation? 回答1: You can get relevant patches for that fixes and apply to your version.

WSO2 ESB: Backup also the wso2carbon.log file over several days?

折月煮酒 提交于 2020-01-06 02:50:40
问题 In WSO2 ESB 4.5.1 has several log file in the repository/logs folder. But an important "wso2carbon.log" is only containing the whole log of one day. Then at midnight it is flushed. Because other log files in the same directory (wso2-esb-service.log or http_access.log) have this feature are being kept a couple of days. How can I keep the wso2carbon.log files also for some days? (WSO2 should just rename them, not delete them). Here my log4j.properties in the conf directory: log4j.rootLogger

How we can ROLLBACK the Transaction in WSO2DSS or WSO2ESB

邮差的信 提交于 2020-01-06 02:17:54
问题 i am inserting no of tables at a time using WSO2dss and Wso2 ESB . those are dependent tables how we can ROLLBACK if one transaction failed.my issue is i am inserting EMP1,EMP2,EMP3 my data inserted properly in EMP1 and EMP2 error occured in while inserting in EMP3 how i can do this using WSO2 ..in Oracle we has NONXAENABLEDS <sequence> <payloadFactory> <format> <p:insert_emp2_operation xmlns:p="http://ws.wso2.org/dataservice"> <xs:e_device xmlns:xs="http://ws.wso2.org/dataservice">$1</xs:e

How to concatenate JSON array values in WSO2 ESB?

大憨熊 提交于 2020-01-05 14:04:15
问题 We have json object as like below, Expected Result in: "(001),(011),(089),(120)". Can anyone suggest how to iterate the json array and concat the values as mention . "(001),(011),(089),(120)" Thanks in advance. { "Element": { "Values": { "AgentID": "aaaaa", "TransactionData": [ { "No": "001" }, { "No": "011" }, { "No": "089" }, { "No": "120" } ] } } } 回答1: You can do it by using iterate mediator, filter mediator and properties with operation scope. Try this solution. At the end you will have

Importing/Migrating an API from Local Repo/ Environment to Other Environment

不打扰是莪最后的温柔 提交于 2020-01-05 04:18:11
问题 I tried to export/import an API from one environment to other environment, where as Exporting is working fine but facing issues while Importing an API from Local/Environment I have used api-import-export-2.6.0.war with APIM-2.6.0, Command used to Import api: apimcli import-api -f G:/Petstore_1.0.0.zip -e dev Error importing API Reason: C:\Users\RAVIKU~1\AppData\Local\Temp\apim130994779\Petstore_1.0.0\Meta-information\api was not found as a YAML or JSON Exit status 1 回答1: Did you try giving

WSO2 ESB Mediation Sequence vs Proxy Service

大兔子大兔子 提交于 2020-01-04 13:48:27
问题 WSO2 ESB has Mediation Sequences and Proxy Services for implementing EAI patterns. I am currently new and couldn't distinguish when to use a Mediation Sequence or Proxy Service. Both seem to work well in most of the use cases. When should I use each? 回答1: Sequence (Mediation Sequence) is a sequence of Mediators. A message comes into the sequence, passes through the each mediator, in the order they are located in the sequence. So a Mediation Sequence is the generic building material of WSO2

How to invoke a REST Proxy service running on the ESB from a BPEL process on the BPS

情到浓时终转凉″ 提交于 2020-01-04 09:13:22
问题 I have setup BPS and have created a few BPEL processes which i can use to invoke services on the Application Server. I have created a REST proxy service on the ESB which uses an endpoint to a Labview server. In Labview i have a very basic REST service which generates a random value every second. I can access the REST service as follows http://localhost:8000/Maths/random . This generates the follwing output with a random value RValue:19.000000 I have had success in accessing this service

Pass property from inSequence to outSequence

北城余情 提交于 2020-01-04 01:59:05
问题 I'm sending a message with a Proxy to a HL7 TCP/IP port and get the response in the outSequence. But my problem is that all properties set in the inSequence are not anymore available. All of them are null. I tested with all the different scopes (transport, axis2, axis2-client), but none of them worked. I saw in this post that it should be possible. Is the HL7 sender destroying the properties? How can use my properties from the inSequence in the outSequence? Example of my Proxy (get message

Trace log file in WSO2 ESB

前提是你 提交于 2020-01-02 06:52:27
问题 In WSO2 ESB, What does it show exactly the wso2-esb-trace.log file?, When might it be useful? And, What the different with other typical logs files in WSO2 ESB? For example, with wso2-esb-service.log or wso2-esb-error.log 回答1: It offers you a way to monitor a mediation execution : go to the web console, enable tracing on a sequence or a proxy service, execute this mediation (send a message to the proxy for exemple) and look at "mediation tracer" or edit wso2-esb-trace.log to gain details

Do Policy Intersection in WSO2ESB Class Mediator

大城市里の小女人 提交于 2020-01-01 19:56:08
问题 I've created a Class Mediator in which I want to intersect two policies. I've created the Class Mediator with Carbon Studio for Eclipse, which automatically adds some predefined libs to the build path of my project. One of the libs is neethi-2.0.4.wso2v1.jar. If I want to use the intersect-method I get an exception. If I have a look at the source I see that the intersect-method just throws an "UnsupportedOperationException". So the given neethi lib is useless for intersection, therefore I