public ServiceDelegate createServiceDelegate(final URL wsdlDocumentLocation, final QName serviceName, final Class serviceClass) { ServiceDelegate serviceDelegate = delegate.createServiceDelegate(wsdlDocumentLocation, serviceName, serviceClass); // the PortRef list is bound to this thread when using @WebServiceRef injection // When using the JAX-WS API we don't need to wrap the ServiceDelegate if (threadPortRefs.get() != null) { serviceDelegate = new ServiceDelegateWrapper(serviceDelegate); } return serviceDelegate; }
public ServiceDelegate createServiceDelegate(final URL wsdlDocumentLocation, final QName serviceName, final Class serviceClass) { ServiceDelegate serviceDelegate = delegate.createServiceDelegate(wsdlDocumentLocation, serviceName, serviceClass); // the PortRef list is bound to this thread when using @WebServiceRef injection // When using the JAX-WS API we don't need to wrap the ServiceDelegate if (threadPortRefs.get() != null) { serviceDelegate = new ServiceDelegateWrapper(serviceDelegate); } return serviceDelegate; }
public ServiceDelegate createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class serviceClass) { ServiceDelegate serviceDelegate = delegate.createServiceDelegate(wsdlDocumentLocation, serviceName, serviceClass); // the PortRef list is bound to this thread when using @WebServiceRef injection // When using the JAX-WS API we don't need to wrap the ServiceDelegate if (threadPortRefs.get() != null) { serviceDelegate = new ServiceDelegateWrapper(serviceDelegate); } return serviceDelegate; }