+

Search Tips   |   Advanced Search

WSIFOperation interface


You use the WSIFOperation interface to invoke a service based on a particular binding.

The WSIFOperation interface is the runtime representation of an operation. This interface provides methods to create input, output, and fault messages, and to invoke the operation.

See about the WSIFOperation interface (/wsi/org/apache/wsif/WSIFOperation.html) see the generated API information for additional APIs.

createInputMessage, createOutputMessage and createFaultMessage

These are factory methods to create the messages required by the invocation methods. All invocation methods require an input message.

executeRequestResponseOperation

This method invokes "In Out" operations.

executeInputOnlyOperation

This method invokes "In only" operations.

executeRequestResponseOperation

If this method is used for invocation, then an output and a fault message are instantiated and passed on the call to the method. If the method returns true, then the output message contains the response message. If the message returns false, then a fault occurred and is returned in the fault message.

executeRequestResponseAsync

This method allows "In Out" operations to be invoked with the reply handled using an alternate thread. Use of this method is discussed further in WSIFOperation - Asynchronous interactions reference.

setContext and getContext

Use of these methods is discussed in WSIFOperation - Context.

All of the executeNnnn methods fail with an exception if there is an error in processing the request in the WSIF provider.

Set the timeouts for synchronous and asynchronous operations is discussed in WSIFOperation - Synchronous and asynchronous timeouts reference.



Subtopics


WSIFOperation - Context
WSIFOperation - Asynchronous interactions reference
WSIFOperation - Synchronous and asynchronous timeouts reference

 

Related tasks


Invoking a WSDL-based Web service through the WSIF API

 

Related


WSIFPort interface
WSIFService interface
WSIFServiceFactory class
Generated API information for additional APIs