Search in sources :

Example 1 with BindingID

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);
}
Also used : WSBinding(com.sun.xml.ws.api.WSBinding) ServiceChannelWSImpl(com.sun.xml.ws.transport.tcp.servicechannel.ServiceChannelWSImpl) QName(javax.xml.namespace.QName) BindingID(com.sun.xml.ws.api.BindingID)

Aggregations

BindingID (com.sun.xml.ws.api.BindingID)1 WSBinding (com.sun.xml.ws.api.WSBinding)1 ServiceChannelWSImpl (com.sun.xml.ws.transport.tcp.servicechannel.ServiceChannelWSImpl)1 QName (javax.xml.namespace.QName)1