WSIFOperation interface
WSIFOperation is the runtime representation of an operation. It is responsible for invoking a service based on a particular binding. It provides methods to create input, output and fault messages, and to invoke the operation.
Here is the Javadoc for the WSIFOperation interface.
The createInputMessage, createOutputMessage, and createFaultMessage methods are factory methods to create the messages required by the invocation methods. All invocation methods require an input message.
The executeRequestResponseOperation invokes "In Out" operations.
The executeInputOnlyOperation invokes "In only" operations.
If the invocation method is executeRequestResponseOperation then an output and a fault message are instantiated and passed on the call to the executeRequestResponseOperation method. The output message contains the response message when the executeRequestResponseOperation returns true. If executeRequestResponseOperation returns false, then a fault occurred and is returned in the fault message.
All of these executeNnnn methods fail with an exception if there is an error in processing the request in the WSIF provider.
The executeRequestResponseAsync is a feature that allows "In Out" operations to be invoked with the reply handled using an alternate thread.
Use of the setContext and getContext methods is discussed in WSIFOperation - Context.
Use of the executeRequestResponseAsync feature is discussed further in WSIFOperation - Asynchronous interactions.
Set the timeouts for synchronous and asynchronous operations is discussed in WSIFOperation - Synchronous and asynchronous timeouts.