Hi all, I have been experiencing some problems trying to use addressing feature for asynchronous ws. I am using CXF bundled with JBOSS 6; the issue is relating to the reception of a reply message. As in http://www.w3.org/Submission/ws-addressing/#_Toc77464324, the "relates to" tag should contain the id of the originating message; but, doing so, it seems that CXF stack is not able to correlate the message. This is the error log:
16:53:33,179 WARN [org.apache.cxf.ws.addressing.soap.MAPCodec] Failed to correlate message, aborting dispatch. and here is the dump of message exchanged: 1 - one way message to http://localhost:8080/OTWServer/WaveServiceEJB: <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <Action xmlns="http://www.w3.org/2005/08/addressing"> http://www.floridawaves.com/waveservice/WaveService/monitorWaves</Action> <MessageID xmlns="http://www.w3.org/2005/08/addressing"> urn:uuid:10dedbc8-8e36-46d6-a8a3-3b4e6d01bccd</MessageID> <To xmlns="http://www.w3.org/2005/08/addressing"> http://localhost:8080/OTWServer/WaveServiceEJB</To> <ReplyTo xmlns="http://www.w3.org/2005/08/addressing"> <Address> http://localhost:8080/OTSkateServer/WaveServiceCallbackEJB</Address> </ReplyTo> <From xmlns="http://www.w3.org/2005/08/addressing"> <Address> http://localhost:8080/OTSkateServer/WaveServiceCallbackEJB</Address> </From> </soap:Header> <soap:Body> <ns2:monitorWaves xmlns:ns2="http://www.floridawaves.com/waveservice"> <period> 12</period> </ns2:monitorWaves> </soap:Body> </soap:Envelope> 2 - reply message ( please notice that RelatesTo has the same value as MessageID of originating message ) <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <Action xmlns="http://www.w3.org/2005/08/addressing"> http://www.floridawaves.com/waveservice/WaveServiceCallback/monitorWavesCallback</Action> <MessageID xmlns="http://www.w3.org/2005/08/addressing"> urn:uuid:57e86f23-b48f-4404-9def-c2ff7cb22de4</MessageID> <To xmlns="http://www.w3.org/2005/08/addressing"> http://localhost:8080/OTSkateServer/WaveServiceCallbackEJB</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"> urn:uuid:10dedbc8-8e36-46d6-a8a3-3b4e6d01bccd</RelatesTo> </soap:Header> <soap:Body> <ns2:monitorWavesCallback xmlns:ns2="http://www.floridawaves.com/waveservice"> <wave> <height> 4.45</height> <length> 12.0</length> <period> 17.21</period> <propagation> longitudinal</propagation> </wave> </ns2:monitorWavesCallback> </soap:Body> </soap:Envelope> am I doing something wrong? -- View this message in context: http://cxf.547215.n5.nabble.com/WS-Addressing-Formulating-a-reply-message-tp4978223p4978223.html Sent from the cxf-user mailing list archive at Nabble.com.