Issue Details (XML | Word | Printable)

Key: JAX_WS-937
Type: Improvement Improvement
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: jitu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
jax-ws

Add EndpointContext section in the spec

Created: 31/Mar/11 02:43 PM   Updated: 23/Aug/11 12:02 PM
Component/s: spec
Affects Version/s: 2.2
Fix Version/s: not determined

Time Tracking:
Not Specified

Tags:
Participants: jitu


 Description  « Hide

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.



jitu added a comment - 06/Apr/11 06:15 PM

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.
    --------------