+

Search Tips   |   Advanced Search


Work with the WSIF API >

 

WSIFPort interface

 

The port implements a factory method for the WSIFOperation interface.

For detailed information about the WSIFPort interface (/wsi/org/apache/wsif/WSIFPort.html) see the generated API information.

The createOperation(String) method returns a new instance of a WSIFOperation object. If the operationName value is not valid or the operation is overloaded, then the method throws an exception.

The createOperation(String, String, String) method supports overloaded WSDL operations. You can overload based on the input parameters, but not on the output parameters.

It is the duty of the client to call the close method when a port is no longer in use. In many cases, where the transport is sessionless, like HTTP, this has no effect. However, if the port is using a session-based protocol such as MQSeries, JMS, or External Call Interface (ECI), this supports the port in caching an open connection to the server and then closing it as required. Responsibly-written applications will call the close method if appropriate.


 

Related Reference


WSIFOperation interface
WSIFService interface
WSIFServiceFactory class
WSIF API reference: Using ports

 

Reference topic