Uploaded image for project: 'Axis2'
  1. Axis2
  2. AXIS2-4938

JAX-WS 2.2 CTS - BindingProvider.getEndpointReference should put reference parameters from WSDL in returned EPR

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.1, 1.7.0
    • Component/s: Addressing
    • Labels:
      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.

        Attachments

        1. AXIS2-4938.patch
          7 kB
          Katherine Sanders

          Activity

            People

            • Assignee:
              barrettj Jeff Barrett
              Reporter:
              sanderka Katherine Sanders
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: