1. Axis2
  2. AXIS2-4938

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


    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.1, 1.7.0
    • Component/s: Addressing
    • Labels:


      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.

      1. AXIS2-4938.patch
        7 kB
        Katherine Sanders


        Andreas Veithen made changes -
        Fix Version/s 1.6.1 [ 12316466 ]
        Fix Version/s 1.7.0 [ 12316136 ]
        Jeff Barrett made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Jeff Barrett made changes -
        Assignee Jeff Barrett [ barrettj ]
        Katherine Sanders made changes -
        Field Original Value New Value
        Attachment AXIS2-4938.patch [ 12469163 ]
        Katherine Sanders created issue -


          • Assignee:
            Jeff Barrett
            Katherine Sanders
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created: