public abstract void publish (String address)

Publishes this endpoint at the given address. The necessary server infrastructure will be created and configured by the JAX-WS implementation using some default configuration. In order to get more control over the server configuration, please use the javax.xml.ws.Endpoint.publish(Object) method instead.

Parameters:
address    A URI specifying the address to use. The address MUST be compatible with the binding specified at the time the endpoint was created.

Exceptions:
java.lang.IllegalArgumentException     If the provided address URI is not usable in conjunction with the endpoint's binding.
java.lang.IllegalStateException     If the endpoint has been published already or it has been stopped.
java.lang.SecurityException     If a java.lang.SecurityManger is being used and the application doesn't have the WebServicePermission("publishEndpoint") permission.