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

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

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

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

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.