Skip navigation links

Java API Reference for Oracle Infrastructure Web Services
11
Release 1 (11.1.1)

E10654-02


oracle.webservices
Class ServiceClientFactory

java.lang.Object
  extended by oracle.webservices.ServiceClientFactory


public class ServiceClientFactory
extends Object

ServiceClientFactory creates JAX-WS client objects, including dispatches and proxies, with Oracle JRF proprietary features.


Constructor Summary
ServiceClientFactory()
          The standard constructor for an ServiceClientFactory
ServiceClientFactory(Class<?> serviceClass)
          The standard constructor for an ServiceClientFactory
ServiceClientFactory(URL wsdlDocumentLocation, QName serviceName, Class<?> serviceClass)
          The standard constructor for an ServiceClientFactory
ServiceClientFactory(URL wsdlDocumentLocation, QName serviceName, Definition definition, ConnectionConfig connectionConfig, Class<?> serviceClass)
          The constructor for an ServiceClientFactory

 

Method Summary
 void addPort(QName portName, String bindingId, String endpointAddress)
           
static
<T> T
create(Class<T> serviceClass)
           
static
<T> T
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)
           
<T> T
getPort(Class<T> serviceEndpointInterface)
           
<T> T
getPort(QName portName, Class<T> serviceEndpointInterface)
           
<T> T
getPort(QName portName, Class<T> serviceEndpointInterface, javax.xml.ws.WebServiceFeature... features)
           
static void setServiceDelegate(Object service, Class<?> serviceClass)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

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.

Method Detail

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

Copyright © 2006, 2009 Oracle. All Rights Reserved.