Author: asankaa Date: Wed Dec 3 08:58:07 2008 New Revision: 25685 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=25685
Log: Fixed the issue with addressing headers Modified: branches/synapse/1.2.wso2v1/modules/core/src/main/java/org/apache/synapse/eventing/SynapseEventSource.java Modified: branches/synapse/1.2.wso2v1/modules/core/src/main/java/org/apache/synapse/eventing/SynapseEventSource.java URL: http://wso2.org/svn/browse/wso2/branches/synapse/1.2.wso2v1/modules/core/src/main/java/org/apache/synapse/eventing/SynapseEventSource.java?rev=25685&r1=25684&r2=25685&view=diff ============================================================================== --- branches/synapse/1.2.wso2v1/modules/core/src/main/java/org/apache/synapse/eventing/SynapseEventSource.java (original) +++ branches/synapse/1.2.wso2v1/modules/core/src/main/java/org/apache/synapse/eventing/SynapseEventSource.java Wed Dec 3 08:58:07 2008 @@ -226,11 +226,12 @@ AddressEndpoint endpoint = new AddressEndpoint(); EndpointDefinition def = new EndpointDefinition(); def.setAddress(replyAddress.trim()); + def.setAddressingOn(true); endpoint.setDefinition(def); org.apache.synapse.MessageContext rmc = new Axis2MessageContext(mc, synCfg, synEnv); rmc.setEnvelope(soapEnvelope); rmc.setTo(new EndpointReference(replyAddress)); - rmc.setWSAAction(responseAction); //TODO wsa headers cannot see in the responce message, it drops just before dispatching + rmc.setWSAAction(responseAction); //TODO wsa headers cannot see in the response message, it drops just before dispatching rmc.setSoapAction(responseAction); if (relatesTo!=null){ rmc.setRelatesTo(new RelatesTo[]{relatesTo}); _______________________________________________ Esb-java-dev mailing list [email protected] https://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev
