wso2esb

WSO2 governance registry and enterprise service bus (ESB) can be integrated?

女生的网名这么多〃 提交于 2019-12-03 21:16:23
We use WSO2 tools for our SOA. We are examining the possibility of use of Registry Governance to manage the services available. I wonder if someone has already done the integration of Registry Governance and ESB, so that services are built on only one tool to another and replicated. Please have a look at [1] and [2] [1] http://wso2.org/project/esb/java/4.0.3/docs/deployment_guide.html [2] http://charithaka.blogspot.com/2011/11/wso2-deployment-synchronizer-sharing.html 来源: https://stackoverflow.com/questions/9619425/wso2-governance-registry-and-enterprise-service-bus-esb-can-be-integrated

WSO2 ESB overwrites a ContentType property

Deadly 提交于 2019-12-03 17:26:32
I am working on the WSO2 ESB Proxy service, which involves exposing the internal RESTful service via SOAP endpoint on the ESB. My RESTful service requires Content-type = "application/rdf+xml". I tried setting it using all 3 properties mentioned in the documentation: messageType, ContentType and CONTENT_TYPE. However, the request Content-type still remains "application/xml". Here is an excerpt from my sequence that calls REST service: <property xmlns:ns="http://org.apache.synapse/xsd" name="REST_URL_POSTFIX" value="/record/12345" scope="axis2" type="STRING"/> <property name="HTTP_METHOD" value=

CDATA in payload factory in WSO2 ESB

六月ゝ 毕业季﹏ 提交于 2019-12-03 16:48:46
I am trying to write a sequence in ESB and populate my payload data by using payload factory as i stated below example. <payloadFactory> <format> <p:echoInt xmlns:p="http://echo.services.core.carbon.wso2.org"> <in xmlns="">$1</in> </p:echoInt> </format> <args> <arg xmlns:ns="http://org.apache.synapse/xsd" expression="an-xml-formatted-string"/> </args> </payloadFactory> <send> <endpoint> <address uri="http://noon101:8280/services/echo" format="soap11"/> </endpoint> </send> Because my string is formatted as xml when i send this payload to the service, the service tries to parse my xml parameter

Difference between Proxy Service and API Service in wso2 Esb

北城余情 提交于 2019-12-03 16:25:25
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.., 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 have to perform an isolated operation (single operation). So, what you can do is, make an API for multiple

In WSO2 ESB, how to store cookies and use them later for authentication?

徘徊边缘 提交于 2019-12-02 21:59:54
问题 I have a service that I am calling, which is returning back cookies with authentication info. How do I store the cookies, and use them later? This is not working for me. I see the cookies being returned back, but I don't see it getting set. <!-- LOGON CALL --> <property xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" name="setCookieHeader" expression="$trp:cookie"></property> <payloadFactory media-type="xml"> <format><somexml></somexml></format> <

WSO2 ELB 2.1.1 not auto scaling

删除回忆录丶 提交于 2019-12-02 17:59:41
问题 I started wso2 elb server and it is not auto scaling and showing the following error, [2015-07-01 18:55:35,653] INFO - CarbonUIServiceComponent Mgt Console URL : ht tps://10.167.46.154:9443/carbon/ [2015-07-01 18:57:35,259] DEBUG - ServiceRequestsInFlightAutoscaler This is the primary load balancer, starting to perform sanity checks. [2015-07-01 18:57:35,260] DEBUG - ServiceRequestsInFlightAutoscaler Values in Ap p domain context: 0 - 0 - Ctxt: 996465500 [2015-07-01 18:57:35,262] DEBUG -

How We Can Break a String in Wso2esb using Xpath

岁酱吖の 提交于 2019-12-02 16:36:51
问题 I wish to break a string in wso2esb using xpath my input like this <property name="Message" value="assetname:ups,assetcode:452chi,assetid:548935,assetvalue:215" scope="default"/> i need break in same property using xpath i need like this assetname:ups assetcode=452chi assetid=54895 assetvalue=215 for this i tried with tokenize function but wso2esb showing errors my configure file <proxy xmlns="http://ws.apache.org/ns/synapse" name="Xpathcheck" transports="https,http" statistics="disable"

Select Query to check both or either or condition

邮差的信 提交于 2019-12-02 15:19:33
问题 I'm using postgresql 9.1 and wish to select a single record from table. Details are as below : table name : muser fields present in table : userid,username,firstname,lastname,phonenumber and mailid fields to be selected : userid, mailid, phonenumber request parameter : mailid and phonenumber conditions should be satisfied: display a record when both are present display a record when only mailid is present display a record when only phonenumber is present. expected output: single record (as

How to add expression on wso2 esb foreach mediator when request is text

元气小坏坏 提交于 2019-12-02 15:14:23
问题 I used wso2 foreach mediator. When my request is Json then I added "//data" as expression. foreach expression="//data" my json request is like this { "data":[ { "id":1, "name":"abc", }, { "id":2, "name":"efg", } ] } This scenario worked as fine. Now I need to send like this "pri,23,aaaa;nuwa,45,qqqq" text value as request.Question is, how I set expression in foreach tag when request is text valu 回答1: ForEach mediator only support XML and JSON content types. Your message is a CSV, and hence I

How to send a soap request(xml) to soap service using wso2 proxy service

白昼怎懂夜的黑 提交于 2019-12-02 15:03:14
问题 I am new to wso2 I have created a Custom Proxy Service to call a backend Soap Service... I need to POST a Soap XML request to back end service,using a proxy service.. I am using REST CLIENT (Mozilla firefox addon) for calling my proxy service I put the method as POST and content type as text/xml Below is my proxy service configuration <target> <inSequence> <property name="messageType" value="text/xml" scope="axis2" type="STRING"/> </inSequence> <outSequence> <send/> </outSequence>