wso2esb

WSO2 EI611 Kafka connector error jaas.conf not found

僤鯓⒐⒋嵵緔 提交于 2019-12-11 16:47:52
问题 EI611 with kafka connector latest throwing error : org.apache.kafka.common.KafkaException: Exception while loading Zookeeper JAAS login context 'Client' . . . . Caused by: java.lang.SecurityException: java.io.IOException: C:\WSO2EI~1.1\bin..\repository\conf\identity\jaas.conf (No such file or directory) This error was posted by someone else too : wso2 Inbound endpoint - Kafka consumer Does anybody find the solution? Do you know how to fix? 回答1: If you need to configure Kafka without security,

How can i handle this in Wso2ESB which is not passing Respone to Client

半世苍凉 提交于 2019-12-11 16:29:40
问题 i am inserting in multiple table some of those is directly insertion and some more is we need split it means use iterate mediator i have done using two proxy and add fault sequence also insertion is ok if my DSS is down it is passing proper fault to client .the problem is when error occuers in dss like ..primarykey voilation like this i added this property <property name="FORCE_ERROR_ON_SOAP_FAULT" value="true"/> in every sequence even though its throwing like this error ERROR -

As in the iterate to change the message and send it fully (wso2esb)

不羁岁月 提交于 2019-12-11 16:24:48
问题 I receive a message from AAA nested children. I want every child BBB replace the value of CCC . Then send the modified message on AAA <AAA> <BBB> <CCC>test1</CCC> <DDD>testing</DDD> </BBB> <BBB> <CCC>test2</CCC> <DDD>testing</DDD> </BBB> <BBB> <CCC>test3</CCC> <DDD>testing</DDD> </BBB> <BBB> <CCC>test4</CCC> <DDD>testing</DDD> </BBB> <BBB> <CCC>test5</CCC> <DDD>testing</DDD> </BBB> </AAA> I do it: <iterate continueParent="true" expression="/AAA/BBB"> <target> <sequence> <property name=

How to using client_ip and request_uri in XACML policy in WSO2 IS

泪湿孤枕 提交于 2019-12-11 15:48:56
问题 We are using WSO2 IS as the Identity Bus for our solutions. We make REST API in WSO2 ESB to implement our Integration and use OAuth mediator in that to securing our API. in WSO2 IS we create a service provider as sp1 and apply XACML policy to that. I want to create XACML policy to permit incoming requests just when client_ip is xxx.xxx.xxx.xxx and request URI is http://wso2ESB.uri/sampleApi/app and method is GET . please help me to make this XACML policy in WSO2 IS. 回答1: Currently WSO2

Email Attachment download by passing email message id using IMAP

二次信任 提交于 2019-12-11 15:36:24
问题 I want to download email Attachment(here image) from gmail for the particular email message id which comes from esb end, i have looked https://javaee.github.io/javamail/docs/api/javax/mail/search/MessageIDTerm.html and https://javaee.github.io/javamail/docs/api/javax/mail/search/SearchTerm.html, But didn't get attachment for particular Email MessageId. I've tried: Download process success for some other checks like unreadsearchterm , subjectTerm . But using MessageIdTerm way is not successful

wso2esb- accessing variable outside iterator mediator

我怕爱的太早我们不能终老 提交于 2019-12-11 15:19:36
问题 Basically, inside iterator, I am setting some variable using Script (name: setValue) mediator. I am trying to access them in the Ruby script outside the iterator. According to the documentation: How to access property mediator outside iterator which is defined inside iterator? Different options I tried: 1) In Ruby script, I tried using $mc.get-property('Operation','githubhosturl1'); I am getting syntax error at operation. 2) Outside Iterator I tried accessing them using Property <property

How Can I handle Error sequence in WSO2ESB

匆匆过客 提交于 2019-12-11 15:08:58
问题 i want handle error using fault sequence but i wish to customize it with delete operation my scenario is while i am inserting in 2 tables if error occurred in 2nd table insertion i need to delete 1 st row insertion also my config is below <proxy xmlns="http://ws.apache.org/ns/synapse" name="ErrorHandling" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> <target > <inSequence onError="fault"> <property name="eno" expression="//eno/text()" scope="default" type=

Error while installing features using POM in wso2

≡放荡痞女 提交于 2019-12-11 15:06:17
问题 i have tried to install features using the below method (https://docs.wso2.org/display/Carbon420/Installing+Features+using+pom+Files) I want to install the features using this method (instead of through UI) While building through maven,the features and plugins are properly inserted into the corresponding folder structure, but it's not updating the platform.xml and bundles.info file Can anyone help me on this... There is a bug in this Maven Installation i think Please help me ... Below is my

WSO2 ESB / WSO2 EI JSON Request to backend service

只愿长相守 提交于 2019-12-11 14:57:41
问题 I have sent JSON Message to backend server using WSO2 EI. But it sending wrong json format. I have used wso2ei-6.4.0 for this task. I have added sample XML request which I have used. <jsonObject> <checkInDate>2019-03-25</checkInDate> <checkOutDate>2019-03-26</checkOutDate> <cityCode>3086</cityCode> <hotelCode /> <roomOccupancyList> <jsonArray> <?xml-multiple jsonElement?> <jsonElement> <childAges>0</childAges> <numberOfAdults>1</numberOfAdults> <numberOfChildren>0</numberOfChildren> <roomNo>1

Using WSO2 ESB PassThrough Proxy on WebLogic (Spring) Web Service

折月煮酒 提交于 2019-12-11 14:22:23
问题 I have tried PassThroughu proxy tutorials and all works with build in example where Target Web Service is deployed on Axis (Apache CFX). Source and Proxy Web Service nicely gets tested using "TryIt" on WSO2 ESB. Now different story - I try to achieve the same using very simple Weblogic Spring Web Service (i don't believe usage of Spring and bottom-up approach and annotations matter). It's deployed on the WebLogic server (running on the same host as WSO2 ESB). No any special WS-* extension