I am still struggling with the multiple outbound responses generated by CXF
when there is an asynchrnous request with addressing attributes -  

here is the exact response payload - The second response is the actual
response that should be generated. But its the 1st response with the bold
segments that causing problems at esb end. Its not able to resolve ReplyTo
headers i guess.  Please help.

*Outbound Message 1*---------------------------
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
        <soap:Header>
                <MessageID
xmlns="http://www.w3.org/2005/08/addressing";>urn:uuid:92349ec2-a78e-4276-9659-c23bec9d293f
                </MessageID>
                <To
xmlns="http://www.w3.org/2005/08/addressing";>*http://www.w3.org/2005/08/addressing/anonymous*</To>
                <ReplyTo xmlns="http://www.w3.org/2005/08/addressing";>
                        
<Address>*http://www.w3.org/2005/08/addressing/none*</Address>
                </ReplyTo>
                <RelatesTo
xmlns="http://www.w3.org/2005/08/addressing";>*http://www.w3.org/2005/08/addressing/unspecified*
 
</RelatesTo>
        </soap:Header>
        <soap:Body />
</soap:Envelope>
--------------------------------------
*Outbound Message 2*---------------------------
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
        <soap:Header>
                <Action
xmlns="http://www.w3.org/2005/08/addressing";>http://service.esb.com/Mathematics/squareNumberResponse
                </Action>
                <MessageID
xmlns="http://www.w3.org/2005/08/addressing";>urn:uuid:423f3493-27a1-46f2-a97b-88bc877610c9
                </MessageID>
                <To
xmlns="http://www.w3.org/2005/08/addressing";>http://10.24.81.42:7801/WMB/Async/Response/Node/Math_Async?context=534f4150000000000000000000000000980d000000000000&amp;timestamp=3810
                </To>
                <RelatesTo
xmlns="http://www.w3.org/2005/08/addressing";>urn:uuid:4469BE87590E442FAD1315845755210
                </RelatesTo>
                <ns2:context xmlns="http://www.w3.org/2005/08/addressing";
                        xmlns:ns2="http://www.ibm.com/wmb/2007/05/rp";
xmlns:wsa="http://www.w3.org/2005/08/addressing";
                
wsa:IsReferenceParameter="1">squareNumber534f4150010000000300000000000000980d0000000000003810
                </ns2:context>
        </soap:Header>
        <soap:Body>
                <ns2:squareNumberResponse xmlns:ns2="http://service.esb.com/";>
                        <return>4</return>
                </ns2:squareNumberResponse>
        </soap:Body>
</soap:Envelope>

--
View this message in context: 
http://cxf.547215.n5.nabble.com/CXF-Asynchronous-Webservices-WSA-Addressing-Problem-tp4788067p4795243.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to