Preserving WS-A headers

avishek.sinha's picture
Hi , I am facing the problem of preserving WS-A headers with WSO2 ESB v 1.7 . I need to send my headers till the routed service but when I use the Send Mediator , the WS-A header gets removed . I found out some link over the internet . http://issues.apache.org/jira/browse/SYNAPSE-525 which describes the same issue. It looks like this issue has been fixed in the next version. Can you please let me know what alternatives do I have as I have to use WS02 ESB 1.7 . Thanking You, Regards, Avishek
indika's picture

Hi There were code changes

Hi There were code changes so you have to merge that code changes in to synapse 1.2 branch which ESB 1.7 used. Thanks Indika
avishek.sinha's picture

Preserving WS-A Headers

Hi Indika, Thanks for the update. Can you please explain in a bit detail as to how can I do it ? I mean I understand what you are telling but I want to know how do I achieve this for synapse 1.2 Thanking You, Regards, Avishek
indika's picture

1.2 Source code is in

1.2 Source code is in https://svn.apache.org/repos/asf/synapse/branches/1.2     You have to check svn log of Axis2Sender , Axis2FlexibleMEPClient ,  MessageHelper and SynapseConstants  from synapse trunk -https://svn.apache.org/repos/asf/synapse/trunk/java  and merge those changes.  Directly replacement even works… You have to put < property name="PRESERVE_WS_ADDRESSING" value="true"/> before send mediator in   synapse configuration.  
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)