xsul.wsif
Class WSIFServiceFactory

java.lang.Object
  extended byxsul.wsif.WSIFServiceFactory
Direct Known Subclasses:
WSIFServiceFactoryImpl

public abstract class WSIFServiceFactory
extends java.lang.Object

Abstract factory class to create instances of WSIFService. Call newInstance to get a instance of the factory.
Note: this API is based on Apache WSIF API.

Author:
Aleksander Slominski, Mark Whitlock, Owen Burroughs

Constructor Summary
WSIFServiceFactory()
           
 
Method Summary
abstract  WSIFService getService(java.lang.String wsdlLoc, java.lang.String serviceNS, java.lang.String serviceName, java.lang.String portTypeNS, java.lang.String portTypeName)
          Create a WSIFService from WSDL document URL.
abstract  WSIFService getService(WsdlDefinitions def)
          Returns a new WSIFService.
abstract  WSIFService getService(WsdlDefinitions def, WsdlService service, WsdlPortType portType)
          Returns a new WSIFService.
static WSIFServiceFactory newInstance()
          Creates a new instance of an implementation the abstract WSIFServiceFactory class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSIFServiceFactory

public WSIFServiceFactory()
Method Detail

newInstance

public static WSIFServiceFactory newInstance()
Creates a new instance of an implementation the abstract WSIFServiceFactory class.


getService

public abstract WSIFService getService(java.lang.String wsdlLoc,
                                       java.lang.String serviceNS,
                                       java.lang.String serviceName,
                                       java.lang.String portTypeNS,
                                       java.lang.String portTypeName)
                                throws WSIFException
Create a WSIFService from WSDL document URL.
If serviceName or serviceNS is null, then WSDL document must have exactly one service in it.
If portTypeName or portTypeNS is null, then WSDL document must have exactly one portType in it and all ports of the selected service must implement the same portType.

Throws:
WSIFException

getService

public abstract WSIFService getService(WsdlDefinitions def)
                                throws WSIFException
Returns a new WSIFService.

Throws:
WSIFException

getService

public abstract WSIFService getService(WsdlDefinitions def,
                                       WsdlService service,
                                       WsdlPortType portType)
                                throws WSIFException
Returns a new WSIFService.

Throws:
WSIFException


IU Extreme! Lab (http://www.extreme.indiana.edu)