wso2esb

XML to XML transformation with wso2

人走茶凉 提交于 2019-12-02 13:48:48
问题 I am using wso2 esb 4.8.1. I am trying to do xml to xml transformation with the help of smooks mediator but I am getting following exception when is hit request from the try it from application deployment console of wso2, [2014-11-07 09:39:20,401] ERROR - SmooksMediator Failed to filter source. org.milyn.SmooksException: Failed to filter source. at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:86) at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java

Error accesing published WS proxy in WSO2 ESB 4.6: EPR not found

时间秒杀一切 提交于 2019-12-02 13:48:00
问题 I deployed exactly the same WS-proxy in 4.5.1 and 4.6. With 4.5.1 it works correctly, but with 4.6 I get: ERROR - AxisEngine The endpoint reference (EPR) for the Operation not found is /services/registro.registroHttpSoap11Endpoint and the WSA Action = . If this EPR was previously reachable, please contact the server administrator. The source is the following: <proxy xmlns="http://ws.apache.org/ns/synapse" name="registro" transports="http" statistics="disable" trace="disable" startOnLoad="true

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

99封情书 提交于 2019-12-02 12:23:36
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> </payloadFactory> <call> <endpoint> <address uri="http://serviceurl.domain.com" format="pox"></address> </endpoint>

Automatic NTLM Authentication for WSO2 ESB

放肆的年华 提交于 2019-12-02 10:37:36
问题 I have a WCF Web Service sitting on a client's IIS server secured with NTLM authentication - I have no control over the authentication configuration on that server. I need to integrate my WSO2 ESB server with this service, but I can't find a way to get the ESB to authenticate automatically. I have successfully pushed requests through the ESB to the service with web applications, but I was prompted to provide my Windows credentials during that process - I would like for this to not happen. I

how to send response as String using class mediator in wso2 esb

不打扰是莪最后的温柔 提交于 2019-12-02 09:48:06
问题 In my project I created some proxy.There transport type is tcp . My response is { "BillingSystem": { "request_id": "20114140080000011479122000", "request_timestamp": "12102012121200", "response_timestamp": "12102012121300", "action": "AddSubscription", "username": "Cellcard ", "result_code": "0", "result_desc": "Success" } } I catch this response using class mediator and create WZ2OCS2:1:14:14008:1:@1479122000# using that response. I need to send this string to tcp client . I set this String

WSO2 ELB 2.1.1 not auto scaling

放肆的年华 提交于 2019-12-02 09:27:05
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 - ServiceRequestsInFlightAutoscaler Values in Ap p domain context: 0 - 0 - Ctxt: 3907204 [2015-07-01 18:57:35

Select Query to check both or either or condition

安稳与你 提交于 2019-12-02 08:12:31
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 userid is unique) with userid, phonenumber and mailid both or any one if present. i have tried the query

How can I access this message in fault sequence in WSO2 ESB?

情到浓时终转凉″ 提交于 2019-12-02 07:24:26
问题 How can I access this error text which is from wso2dss side standard error in WSO2 ESB fault sequence ERROR_CODE? I am getting properly but this ERROR_MESSAGE giving NUll. How can I do this? This is WSO2DSS standard ERROR message: <soapenv:Fault xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Code> <soapenv:Value>soapenv:Receiver</soapenv:Value> </soapenv:Code> <soapenv:Reason> <soapenv:Text xml:lang="en-US" xmlns:xml="http://www.w3.org/XML/1998/namespace">The emp

WSO2 Aggregate Mediator premature/incomplete/unknown completion

谁说我不能喝 提交于 2019-12-02 06:41:18
I'm having a confusing issue with my aggregate mediator inside an out Sequence of a proxy. Configuration : A sequence implementing the iterate mediator Iterated the following message : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <productSearchRs xmlns="SHC"> <productDetails> <Product_ID>1487326</Product_ID> <Product_Name>SECRET</Product_Name> <Product_Size>M</Product_Size> <Product_Colour>BLACK</Product_Colour> <Product_Type>SOCKS</Product_Type> <Source>SHC</Source> </productDetails> <productDetails> <Product_ID>1985211</Product_ID> <Product_Name

XML to XML transformation with wso2

£可爱£侵袭症+ 提交于 2019-12-02 06:25:01
I am using wso2 esb 4.8.1. I am trying to do xml to xml transformation with the help of smooks mediator but I am getting following exception when is hit request from the try it from application deployment console of wso2, [2014-11-07 09:39:20,401] ERROR - SmooksMediator Failed to filter source. org.milyn.SmooksException: Failed to filter source. at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:86) at org.milyn.delivery.sax.SmooksSAXFilter.doFilter(SmooksSAXFilter.java:61) at org.milyn.Smooks._filter(Smooks.java:516) at org.milyn.Smooks.filterSource(Smooks.java:475) at