By settng a EndpointContext, JAX-WS runtime knows about
addresses of other endpoints in an application. If multiple endpoints
share different ports of a WSDL, then the multiple port addresses
are patched when the WSDL is accessed.
This needs to be set before publishing the endpoints.
ctxt | that is shared for multiple endpoints |
java.lang.IllegalStateException
| If the endpoint has been published already or it has been stopped. |
Diagram: Endpoint