-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
According to the WS spec (5.0 Addressing Context) a JAXWS client is supposed to be able to specify AddressingProperties for a web method invocation by setting the CLIENT_ADDRESSING_PROPERTIES property of the request context obtained from the port (BindingProvider). After the invocation the same property on the response context should be populated with the response AddressingProperties.
The WS code is only detecting WSAddressingProperties if they are installed in the request context with key CLIENT_ADDRESSING_PROPERTIES_OUTBOUND and is only publishing WSAddressingProperties in the response context with key CLIENT_ADDRESSING_PROPERTIES_INBOUND. Although these are the valid keys for use in client side handlers they are incorrect for use in the client. These values need to be copied from/to the CLIENT_ADDRESSING_PROPERTIES value when inside the client call before/after handler processing.