I am using CXF inside JBoss Web Services 3.1.0 which is based on CXF 2.1.4. I have a client which uses WSAddressing. It attaches an AddressingProperties object to the outgoing request context in order to specify From, To, ReplyTo, FaultTo etc addresses. My server successfully retrieves the incoming AddressingProperties from the message context. However, I was surprised to find that on the server end the From address was not set even though I had supplied a value on the client side.

On looking at the code for MAPCodec I noticed that the encode (outbound) method inserts a From header but the decode(inbound) method does attempt to retrieve the From header. Is this accidental or deliberate?

If the former then has it been fixed in a later release?

If the latter any rationale for this behaviour?

regards,


Andrew Dinn
-----------


Reply via email to