![]() ![]() ![]() ![]() ![]() ![]() |
The
javax.xml.ws.Endpoint
API enables you to create a Web Service endpoint at runtime without deploying the Web Service to a WebLogic Server instance.
The following table summarizes the steps to publish a Web Service endpoint.
Use the
javax.xml.ws.Endpoint create() method to create the endpoint, specify the implementor (that is, the Web Service implementation) to which the endpoint is associated, and optionally specify the binding type. If not specified, the binding type defaults to SOAP1.1/HTTP . The endpoint is associated with only one implementation object and one
javax.xml.ws.Binding , as defined at runtime; these values cannot be changed.
|
||||
Use the
javax.xml.ws.Endpoint publish() method to specify the server context, or the address and optionally the implementor of the Web Service endpoint.
|
||||
Use the
javax.xml.ws.Endpoint stop() method to shut down the endpoint and stop accepting incoming requests. Once stopped, an endpoint cannot be republished.
|
For an example of publishing a Web Service endpoint within the context of a callback example, see Programming Guidelines for the Callback Client Web Service.
In addition to the steps described in the previous table, you can defined the following using the javax.xml.ws.Endpoint
API methods:
java.util.concurrent.Executor
that will be used to dispatch incoming requests to the application.
For more information, see the
javax.xml.ws.Endpoint
Javadoc.
![]() ![]() ![]() |