I have a SOAP based web service running using Apache CXF. I have WS-Addressing configured in my Spring configuration and everything is working fine. Now, i need to get access to the WS-Addressing values in my web service method…basically i want to insert the ws-addressing messageId in a database.
I do not see anyway to get the WS-Addressing data in my code. Anyone have an idea?
You can get the current CXF message via something like:
the AddressingProperties object is stored on there someplace. For incoming on the server side, I think it would be the key “javax.xml.ws.addressing.context.inbound”.