Soap ws-addressing headers not read by SoapActionAnnotationMethodEndpointMapping
Hi
Does anyone have a sample working example of soap webservices with ws-addressing headers, i checkout SoapActionAnnotationMethodEndpointMapping but it didn't seem to do the job right.
I added an interceptor to read the headers but am not sure about handling sending the response (replyTo) , i.e do i open a new connection to this url and post the response etc etc.
Also shouldn't sending the repsponse back to where the request came from or to a different url be a framework job
So basically, is there a class provided by spring which handles these headers for us
Sample message from the spring tutorials
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope"
xmlns:wsa="http://www.w3.org/2005/08/addressing">
<SOAP-ENV::Header>
<wsa:MessageID>urn:uuid:21363e0d-2645-4eb7-8afd-2f5ee1bb25cf</wsa:MessageID>
<wsa:ReplyTo>
<wsa:Address>http://example.com/business/client1</wsa:Address>
</wsa:ReplyTo>
<wsa:To S:mustUnderstand="true">http://example/com/fabrikam</wsa:To>
<wsa:Action>http://example.com/fabrikam/mail/Delete</wsa:Action>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<f:Delete xmlns:f="http://example.com/fabrikam">
<f:maxCount>42</f:maxCount>
</f:Delete>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>