code: public Endpoint publishEndpoint(EndpointBuilder endpointBuilder) {
          checkArgument(endpointBuilder != null, "EndpointBuilder is null");
          return this.jaxwsEnvironment.publishEndpoint(endpointBuilder);
      }
docs: Publish JAX-WS endpoint. Endpoint will be published relative to the CXF servlet path.
  @param endpointBuilder EndpointBuilder.
  @return javax.xml.ws.Endpoint