Skip navigation links
oracle.webservices
Class ServiceClientFactory
java.lang.Object
oracle.webservices.ServiceClientFactory
-
public class ServiceClientFactory
- extends Object
ServiceClientFactory creates JAX-WS client objects, including dispatches and proxies, with Oracle JRF proprietary features.
Method Summary |
void |
addPort(QName portName, String bindingId, String endpointAddress)
|
static
|
create(Class<T> serviceClass)
|
static
|
create(URL wsdl, QName serviceName, Class<T> serviceClass)
|
javax.xml.ws.Dispatch<SOAPMessage> |
createDispatch()
|
<T> javax.xml.ws.Dispatch<T> |
|
createDispatch(QName portName, Class<T> type, javax.xml.ws.Service.Mode mode)
|
<T> javax.xml.ws.Dispatch<T> |
|
createDispatch(QName portName, Class<T> type, javax.xml.ws.Service.Mode mode, javax.xml.ws.WebServiceFeature... features)
|
|
getPort(Class<T> serviceEndpointInterface)
|
|
getPort(QName portName, Class<T> serviceEndpointInterface)
|
|
getPort(QName portName, Class<T> serviceEndpointInterface, javax.xml.ws.WebServiceFeature... features)
|
static void |
setServiceDelegate(Object service, Class<?> serviceClass)
|
ServiceClientFactory
public ServiceClientFactory(URL wsdlDocumentLocation,
QName serviceName,
Definition definition,
ConnectionConfig connectionConfig,
Class<?> serviceClass)
- The constructor for an ServiceClientFactory
- Parameters:
wsdlDocumentLocation
- The location of the wsdl document.
serviceName
- A service name in the wsdl document, if null the first service in the wsdl will be used.
definition
- The definition for the wsdl document, if null then the wsdlDocumentLocation will be used to create a definition, if not null then the wsdl document location will not be parsed.
connectionConfig
- The connection configuration used when creating the a definition from the wsdlDocumentLocation. This parameter can be null.
serviceClass
- The generated service class.
ServiceClientFactory
public ServiceClientFactory()
- The standard constructor for an ServiceClientFactory
- Parameters:
serviceClass
- The generated service class.
ServiceClientFactory
public ServiceClientFactory(Class<?> serviceClass)
- The standard constructor for an ServiceClientFactory
- Parameters:
serviceClass
- The generated service class.
ServiceClientFactory
public ServiceClientFactory(URL wsdlDocumentLocation,
QName serviceName,
Class<?> serviceClass)
- The standard constructor for an ServiceClientFactory
- Parameters:
wsdlDocumentLocation
- The location of the wsdl document.
serviceName
- A service name in the wsdl document.
serviceClass
- The generated service class.
getPort
public <T> T getPort(Class<T> serviceEndpointInterface)
getPort
public <T> T getPort(QName portName,
Class<T> serviceEndpointInterface)
getPort
public <T> T getPort(QName portName,
Class<T> serviceEndpointInterface,
javax.xml.ws.WebServiceFeature... features)
addPort
public void addPort(QName portName,
String bindingId,
String endpointAddress)
createDispatch
public javax.xml.ws.Dispatch<SOAPMessage> createDispatch()
createDispatch
public <T> javax.xml.ws.Dispatch<T> createDispatch(QName portName,
Class<T> type,
javax.xml.ws.Service.Mode mode)
createDispatch
public <T> javax.xml.ws.Dispatch<T> createDispatch(QName portName,
Class<T> type,
javax.xml.ws.Service.Mode mode,
javax.xml.ws.WebServiceFeature... features)
create
public static <T> T create(URL wsdl,
QName serviceName,
Class<T> serviceClass)
create
public static <T> T create(Class<T> serviceClass)
setServiceDelegate
public static void setServiceDelegate(Object service,
Class<?> serviceClass)
Skip navigation links