use of com.sun.xml.ws.api.BindingID in project Payara by payara.
the class V3Module method createServiceChannelEndpoint.
@Override
public WSEndpoint<ServiceChannelWSImpl> createServiceChannelEndpoint() {
Class<ServiceChannelWSImpl> serviceEndpointClass = ServiceChannelWSImpl.class;
final QName serviceName = WSEndpoint.getDefaultServiceName(ServiceChannelWSImpl.class);
final QName portName = WSEndpoint.getDefaultPortName(serviceName, ServiceChannelWSImpl.class);
final BindingID bindingId = BindingID.parse(ServiceChannelWSImpl.class);
final WSBinding binding = bindingId.createBinding();
return WSEndpoint.create(serviceEndpointClass, false, null, serviceName, portName, Container.NONE, binding, null, null, (EntityResolver) null, true);
}
Aggregations