xsul.wsif.impl
Class WSIFServiceImpl

java.lang.Object
  extended byxsul.wsif.impl.WSIFServiceImpl
All Implemented Interfaces:
WSIFService

public class WSIFServiceImpl
extends java.lang.Object
implements WSIFService

An entry point to dynamic WSDL invocations.

Author:
Alekander Slominski, Sanjiva Weerawarana, Owen Burroughs , Ant Elder , Jeremy Hughes , Mark Whitlock

Method Summary
 WSIFPort getPort()
          Returns an appropriate WSIFPort for the portType that this factory supports.
 WSIFPort getPort(java.lang.String portName)
          Return dynamic port instance selected by port name.
 void setPreferredPort(java.lang.String portName)
          Set the preferred port
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPort

public WSIFPort getPort()
                 throws WSIFException
Description copied from interface: WSIFService
Returns an appropriate WSIFPort for the portType that this factory supports. If the service had multiple ports, which one is returned depends on the specific factory - the factory implementation may use whatever heuristic it feels like to select an "appropriate" one.

Specified by:
getPort in interface WSIFService
Returns:
the new WSIFPort
Throws:
WSIFException - if a suitable port cannot be located.

getPort

public WSIFPort getPort(java.lang.String portName)
                 throws WSIFException
Return dynamic port instance selected by port name.

Specified by:
getPort in interface WSIFService
Parameters:
portName - name of the port (local part of the name).
Returns:
the new WSIFPort
Throws:
WSIFException - if the named port is not known or available

setPreferredPort

public void setPreferredPort(java.lang.String portName)
                      throws WSIFException
Set the preferred port

Specified by:
setPreferredPort in interface WSIFService
Parameters:
portName - The name of the port to use
Throws:
WSIFException - if something goes wrong


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