xsul.wsif
Interface WSIFPort

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
XsulSoapPort

public interface WSIFPort
extends java.io.Serializable

A WSIFPort represents the handle by which the operations from the of the of this WSIFPort can be executed. This is an interface which must implemented by specific implementations for the ports. That is, the actual logic is dependent on the binding associated with this port. An interface is used to enable dynamic implementation generation using JDK1.3 dynamic proxy stuff.
Note: this API is based on Apache WSIF API.

Author:
Aleksander Slominski, Paul Fremantle, Matthew J. Duftler, Sanjiva Weerawarana, Nirmal Mukhi

Method Summary
 void close()
          Close this port; indicates that the user is done using it.
 WSIFOperation createOperation(java.lang.String operationName)
          Create a new WSIFOperation.
 WsdlPort getWsdlServicePort()
           
 

Method Detail

getWsdlServicePort

public WsdlPort getWsdlServicePort()
                            throws WSIFException
Throws:
WSIFException

createOperation

public WSIFOperation createOperation(java.lang.String operationName)
                              throws WSIFException
Create a new WSIFOperation. There must be exactly one operation in this port's portType with this name. For overloaded operations see #createOperation(String,String,String).

Parameters:
operationName - the name of an operation in this port's portType
Returns:
the new WSIFOperation
Throws:
WSIFException - if something goes wrong

close

public void close()
           throws WSIFException
Close this port; indicates that the user is done using it. This is only essential for WSIFPorts that are being used in a stateful or resource-shared manner. Responsible stubs will call this if feasible at the right time.

Throws:
WSIFException - if something goes wrong


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