// new in 2.2 public Endpoint createEndpoint( String bindingId, Object implementor, WebServiceFeature... features) { EndpointImpl ep = null; if (EndpointUtils.isValidImplementor(implementor)) { Bus bus = BusFactory.getThreadDefaultBus(); ep = createEndpointImpl(bus, bindingId, implementor, features); return ep; } else { throw new WebServiceException(new Message("INVALID_IMPLEMENTOR_EXC", LOG).toString()); } }