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; }
public <T> T getPort(final Class<T> serviceEndpointInterface) { final T t = serviceDelegate.getPort(serviceEndpointInterface); QName qname = null; if (serviceEndpointInterface.isAnnotationPresent(WebService.class)) { final WebService webService = serviceEndpointInterface.getAnnotation(WebService.class); final String targetNamespace = webService.targetNamespace(); final String name = webService.name(); if (targetNamespace != null && targetNamespace.length() > 0 && name != null && name.length() > 0) { qname = new QName(targetNamespace, name); } } setProperties((BindingProvider) t, qname); return customizePort(t); }
public <T> T getPort(final Class<T> serviceEndpointInterface) { final T t = serviceDelegate.getPort(serviceEndpointInterface); QName qname = null; if (serviceEndpointInterface.isAnnotationPresent(WebService.class)) { final WebService webService = serviceEndpointInterface.getAnnotation(WebService.class); final String targetNamespace = webService.targetNamespace(); final String name = webService.name(); if (targetNamespace != null && targetNamespace.length() > 0 && name != null && name.length() > 0) { qname = new QName(targetNamespace, name); } } setProperties((BindingProvider) t, qname); return customizePort(t); }
@SuppressWarnings({"unchecked"}) public <T> T getPort(final EndpointReference endpointReference, final Class<T> serviceEndpointInterface, final WebServiceFeature... features) { return customizePort((T) invoke21Delegate(serviceDelegate, serviceGetPortByEndpointReference, endpointReference, serviceEndpointInterface, features)); }
public <T> T getPort(Class<T> serviceEndpointInterface) { T t = serviceDelegate.getPort(serviceEndpointInterface); QName qname = null; if (serviceEndpointInterface.isAnnotationPresent(WebService.class)) { WebService webService = serviceEndpointInterface.getAnnotation(WebService.class); String targetNamespace = webService.targetNamespace(); String name = webService.name(); if (targetNamespace != null && targetNamespace.length() > 0 && name != null && name.length() > 0) { qname = new QName(targetNamespace, name); } } setProperties((BindingProvider) t, qname); return t; }
@SuppressWarnings({"unchecked"}) public <T> T getPort(final Class<T> serviceEndpointInterface, final WebServiceFeature... features) { return customizePort((T) invoke21Delegate(serviceDelegate, serviceGetPortByInterface, serviceEndpointInterface, features)); }
@SuppressWarnings({"unchecked"}) public <T> T getPort(final Class<T> serviceEndpointInterface, final WebServiceFeature... features) { return customizePort((T) invoke21Delegate(serviceDelegate, serviceGetPortByInterface, serviceEndpointInterface, features)); }
@SuppressWarnings({"unchecked"}) public <T> T getPort(final QName portName, final Class<T> serviceEndpointInterface, final WebServiceFeature... features) { return customizePort((T) invoke21Delegate(serviceDelegate, serviceGetPortByQName, portName, serviceEndpointInterface, features)); }
public Dispatch<Object> createDispatch(QName portName, JAXBContext context, Service.Mode mode) { Dispatch<Object> dispatch = serviceDelegate.createDispatch(portName, context, mode); setProperties(dispatch, portName); return dispatch; }
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; }
@SuppressWarnings({"unchecked"}) public <T> T getPort(final EndpointReference endpointReference, final Class<T> serviceEndpointInterface, final WebServiceFeature... features) { return customizePort((T) invoke21Delegate(serviceDelegate, serviceGetPortByEndpointReference, endpointReference, serviceEndpointInterface, features)); }
@SuppressWarnings({"unchecked"}) public <T> T getPort(final QName portName, final Class<T> serviceEndpointInterface, final WebServiceFeature... features) { return customizePort((T) invoke21Delegate(serviceDelegate, serviceGetPortByQName, portName, serviceEndpointInterface, features)); }
public <T> Dispatch<T> createDispatch(final QName portName, final Class<T> type, final Service.Mode mode) { final Dispatch<T> dispatch = serviceDelegate.createDispatch(portName, type, mode); setProperties(dispatch, portName); return dispatch; }
public <T> Dispatch<T> createDispatch(final QName portName, final Class<T> type, final Service.Mode mode) { final Dispatch<T> dispatch = serviceDelegate.createDispatch(portName, type, mode); setProperties(dispatch, portName); return dispatch; }
public <T> T getPort(final QName portName, final Class<T> serviceEndpointInterface) { final T t = serviceDelegate.getPort(portName, serviceEndpointInterface); setProperties((BindingProvider) t, portName); return customizePort(t); }
public <T> Dispatch<T> createDispatch(QName portName, Class<T> type, Service.Mode mode) { Dispatch<T> dispatch = serviceDelegate.createDispatch(portName, type, mode); setProperties(dispatch, portName); return dispatch; }
public Dispatch<Object> createDispatch(final QName portName, final JAXBContext context, final Service.Mode mode) { final Dispatch<Object> dispatch = serviceDelegate.createDispatch(portName, context, mode); setProperties(dispatch, portName); return dispatch; }
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 <T> T getPort(QName portName, Class<T> serviceEndpointInterface) { T t = serviceDelegate.getPort(portName, serviceEndpointInterface); setProperties((BindingProvider) t, portName); return t; }
public <T> T getPort(final QName portName, final Class<T> serviceEndpointInterface) { final T t = serviceDelegate.getPort(portName, serviceEndpointInterface); setProperties((BindingProvider) t, portName); return customizePort(t); }