public static Endpoint create (Object implementor, WebServiceFeature… features)

Creates an endpoint with the specified implementor object and web service features. If there is a binding specified via a BindingType annotation then it MUST be used else a default of SOAP 1.1 / HTTP binding MUST be used.

The newly created endpoint may be published by calling one of the javax.xml.ws.Endpoint.publish(String) and javax.xml.ws.Endpoint.publish(Object) methods.

Parameters:
implementor    The endpoint implementor.
features    A list of WebServiceFeature to configure on the endpoint. Supported features not in the features parameter will have their default values.

Returns:  The newly created endpoint.

Since:  JAX-WS 2.2