jax-ws
  1. jax-ws
  2. JAX_WS-937

Add EndpointContext section in the spec

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.2
    • Fix Version/s: not determined
    • Component/s: spec
    • Labels:
      None

      Description

      Spec pdf doesn't mention about EndpointContext. There is a brief reference to it in section 6.6 (HTTP SPI). API's javadoc has the necessary info but it would be nice if the spec reflects it.

        Activity

        Hide
        jitu added a comment -

        Will add the following to spec
        ----------------------------
        5.2.9 javax.xml.ws.EndpointContext

        EndpointContext allows an application to associate multiple endpoints and this enables a JAX-WS implementation to share any runtime information about those endpoints with one another. For example, if an application has multiple endpoints corresponding to multiple ports in a WSDL, an implementation can publish the WSDL with the addresses of those ports. An application need to call setEndpointContext(EndpointContext) method to set the context on all the related endpoints before publishing those endpoints.

        • Conformance (Use of EndpointContext): An implementation MUST publish WSDL with correct addresses if the corresponding endpoints are associated with an EndpointContext.
          --------------
        Show
        jitu added a comment - Will add the following to spec ---------------------------- 5.2.9 javax.xml.ws.EndpointContext EndpointContext allows an application to associate multiple endpoints and this enables a JAX-WS implementation to share any runtime information about those endpoints with one another. For example, if an application has multiple endpoints corresponding to multiple ports in a WSDL, an implementation can publish the WSDL with the addresses of those ports. An application need to call setEndpointContext(EndpointContext) method to set the context on all the related endpoints before publishing those endpoints. Conformance (Use of EndpointContext): An implementation MUST publish WSDL with correct addresses if the corresponding endpoints are associated with an EndpointContext. --------------

          People

          • Assignee:
            Unassigned
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: