Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
One of the CTS tests for JAX-WS 2.2 calls BindingProvider.getEndpointReference when the associated WSDL has reference parameters in the EPR for the port. The test replaces the values of the reference parameters with different values, calls Service.getPort with that EPR, and then checks the values of the reference parameters in the request message to make sure the new values are used.
The test is currently failing because BindingProvider.getEndpointReference does not use the reference parameters in the WSDL, and the test code to replace the values doesn't work because the reference parameters don't already exist. There is code in AddressingOutHandler that uses the reference parameters from the WSDL though, so they are sent in the request with the values from the WSDL instead of the new values from the test code.