xsul.wsif_xsul_soap_http
Class XsulSoapOperation

java.lang.Object
  extended byxsul.wsif_xsul_soap_http.XsulSoapOperation
All Implemented Interfaces:
java.io.Serializable, WSIFOperation

public class XsulSoapOperation
extends java.lang.Object
implements WSIFOperation

Handle invocations of one of WSDL operations

Version:
$Revision: 1.6 $
Author:
Aleksander Slominski
See Also:
Serialized Form

Method Summary
 WSIFMessage createFaultMessage()
          Create a fault message that may be received into via this port.
 WSIFMessage createInputMessage()
          Create an input message that will be sent via this port.
 WSIFMessage createOutputMessage()
          Create an output message that will be received into via this port.
 void executeInputOnlyOperation(WSIFMessage input)
          Execute an input-only operation.
 boolean executeRequestResponseOperation(WSIFMessage input, WSIFMessage output, WSIFMessage fault)
          Execute a request-response operation.
 WsdlBindingOperation getBindingOperation()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getBindingOperation

public WsdlBindingOperation getBindingOperation()
                                         throws WSIFException
Specified by:
getBindingOperation in interface WSIFOperation
Throws:
WSIFException

createInputMessage

public WSIFMessage createInputMessage()
Description copied from interface: WSIFOperation
Create an input message that will be sent via this port. It is responsibility of caller to set message name.

Specified by:
createInputMessage in interface WSIFOperation
Returns:
a new message

createOutputMessage

public WSIFMessage createOutputMessage()
Description copied from interface: WSIFOperation
Create an output message that will be received into via this port. It is responsibility of caller to set message name.

Specified by:
createOutputMessage in interface WSIFOperation
Returns:
a new message

createFaultMessage

public WSIFMessage createFaultMessage()
Description copied from interface: WSIFOperation
Create a fault message that may be received into via this port. It is responsibility of caller to set message name.

Specified by:
createFaultMessage in interface WSIFOperation
Returns:
a new message

executeRequestResponseOperation

public boolean executeRequestResponseOperation(WSIFMessage input,
                                               WSIFMessage output,
                                               WSIFMessage fault)
                                        throws WSIFException
Description copied from interface: WSIFOperation
Execute a request-response operation. The signature allows for input, output and fault messages. WSDL in fact allows one to describe the set of possible faults an operation may result in, however, only one fault can occur at any one time.

Specified by:
executeRequestResponseOperation in interface WSIFOperation
Parameters:
input - input message to send to the operation
output - an empty message which will be filled in if the operation invocation succeeds. If it does not succeed, the contents of this message are undefined. (This is a return value of this method.)
fault - an empty message which will be filled in if the operation invocation fails. If it succeeds, the contents of this message are undefined. (This is a return value of this method.)
Returns:
true indicating that operation succeded and result is output message, if false the fault is int the fault message.
Throws:
WSIFException - if something goes wrong.

executeInputOnlyOperation

public void executeInputOnlyOperation(WSIFMessage input)
                               throws WSIFException
Description copied from interface: WSIFOperation
Execute an input-only operation.

Specified by:
executeInputOnlyOperation in interface WSIFOperation
Parameters:
input - input message to send to the operation
Throws:
WSIFException - if something goes wrong.


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