au.gov.nehta.vendorlibrary.ws
Class WebServiceClientUtil

java.lang.Object
  extended by au.gov.nehta.vendorlibrary.ws.WebServiceClientUtil

public final class WebServiceClientUtil
extends java.lang.Object

Creates ports for web service clients.


Method Summary
static
<T> T
getPort(java.lang.Class<T> serviceInterface, java.lang.Class<? extends javax.xml.ws.Service> serviceClass, javax.net.SocketFactory sslSocketFactory)
          Returns a Web Service client port based on the parameters passed.
static
<T> T
getPort(java.lang.Class<T> serviceInterface, java.lang.Class<? extends javax.xml.ws.Service> serviceClass, javax.net.SocketFactory sslSocketFactory, java.util.List<javax.xml.ws.handler.Handler> handlerChain)
          Returns a Web Service client port based on the parameters passed.
static
<T> T
getPort(java.lang.Class<T> serviceInterface, java.lang.Class<? extends javax.xml.ws.Service> serviceClass, javax.net.SocketFactory sslSocketFactory, java.lang.String endpoint)
          Returns a Web Service client port based on the parameters passed.
static
<T> T
getPort(java.lang.Class<T> serviceInterface, java.lang.Class<? extends javax.xml.ws.Service> serviceClass, javax.net.SocketFactory sslSocketFactory, java.lang.String endpoint, java.util.List<javax.xml.ws.handler.Handler> handlerChain)
          Returns a Web Service client port based on the parameters passed.
static
<T> T
getPort(java.lang.Class<T> serviceInterface, java.lang.Class<? extends javax.xml.ws.Service> serviceClass, javax.net.SocketFactory sslSocketFactory, java.lang.String endpoint, java.util.List<javax.xml.ws.handler.Handler> handlerChain, boolean addressingFeature)
          Returns a Web Service client port based on the parameters passed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPort

public static <T> T getPort(java.lang.Class<T> serviceInterface,
                            java.lang.Class<? extends javax.xml.ws.Service> serviceClass,
                            javax.net.SocketFactory sslSocketFactory,
                            java.lang.String endpoint,
                            java.util.List<javax.xml.ws.handler.Handler> handlerChain)
Returns a Web Service client port based on the parameters passed.

Type Parameters:
T - the Web Service's Java Service interface type
Parameters:
serviceInterface - the Web Server's Java Service interface class (Mandatory)
serviceClass - the Web Server's Java Service service class (Mandatory)
sslSocketFactory - the SSL Socket Factory to be used (Mandatory)
endpoint - the Web Service endpoint URL (Mandatory)
handlerChain - the handler chain to be used with the port (Mandatory)
Returns:
the Web Service client port

getPort

public static <T> T getPort(java.lang.Class<T> serviceInterface,
                            java.lang.Class<? extends javax.xml.ws.Service> serviceClass,
                            javax.net.SocketFactory sslSocketFactory,
                            java.lang.String endpoint)
Returns a Web Service client port based on the parameters passed.

Type Parameters:
T - the Web Service's Java Service interface type
Parameters:
serviceInterface - the Web Server's Java Service interface class (Mandatory)
serviceClass - the Web Server's Java Service interface class (Mandatory)
sslSocketFactory - the SSL Socket Factory to be used (Mandatory)
endpoint - the Web Service endpoint URL (Mandatory)
Returns:
the Web Service client port

getPort

public static <T> T getPort(java.lang.Class<T> serviceInterface,
                            java.lang.Class<? extends javax.xml.ws.Service> serviceClass,
                            javax.net.SocketFactory sslSocketFactory,
                            java.lang.String endpoint,
                            java.util.List<javax.xml.ws.handler.Handler> handlerChain,
                            boolean addressingFeature)
Returns a Web Service client port based on the parameters passed.

Type Parameters:
T - the Web Service's Java Service interface type
Parameters:
serviceInterface - the Web Server's Java Service interface class (Mandatory)
serviceClass - the Web Server's Java Service interface class (Mandatory)
sslSocketFactory - the SSL Socket Factory to be used (Mandatory)
endpoint - the Web Service endpoint URL (Mandatory)
addressingFeature - addressing web service feature setting true/false (Mandatory)
Returns:
the Web Service client port

getPort

public static <T> T getPort(java.lang.Class<T> serviceInterface,
                            java.lang.Class<? extends javax.xml.ws.Service> serviceClass,
                            javax.net.SocketFactory sslSocketFactory,
                            java.util.List<javax.xml.ws.handler.Handler> handlerChain)
Returns a Web Service client port based on the parameters passed.

Type Parameters:
T - the Web Service's Java Service interface type
Parameters:
serviceInterface - the Web Server's Java Service interface class (Mandatory)
serviceClass - the Web Server's Java Service service class (Mandatory)
sslSocketFactory - the SSL Socket Factory to be used (Mandatory)
handlerChain - the handler chain to be used with the port (Mandatory)
Returns:
the Web Service client port

getPort

public static <T> T getPort(java.lang.Class<T> serviceInterface,
                            java.lang.Class<? extends javax.xml.ws.Service> serviceClass,
                            javax.net.SocketFactory sslSocketFactory)
Returns a Web Service client port based on the parameters passed.

Type Parameters:
T - the Web Service's Java Service interface type
Parameters:
serviceInterface - the Web Server's Java Service interface class (Mandatory)
serviceClass - the Web Server's Java Service interface class (Mandatory)
sslSocketFactory - the SSL Socket Factory to be used (Mandatory)
Returns:
the Web Service client port