org.apache.wsif
Class WSIFResponse

java.lang.Object
  extended byorg.apache.wsif.WSIFResponse
All Implemented Interfaces:
java.io.Serializable

public class WSIFResponse
extends java.lang.Object
implements java.io.Serializable

This class represents a service response coming out of WSIF. It contains the outgoing message or fault message, context information as well as other information.

Author:
Sanjiva Weerawarana , Paul Fremantle
See Also:
Serialized Form

Constructor Summary
WSIFResponse(javax.xml.namespace.QName serviceID)
          Constructor.
 
Method Summary
 WSIFMessage getContextMessage()
          Get the context message.
 WSIFMessage getFaultMessage()
          Get the fault message.
 java.lang.String getInputName()
          Gets the inputName
 boolean getIsFault()
          Get the value of the isFault flag.
 java.lang.String getOperationName()
          Get the operation name.
 WSIFMessage getOutgoingMessage()
          Get the outgoing message.
 java.lang.String getOutputName()
          Gets the outputName
 java.lang.String getPortName()
          Gets the portName
 javax.xml.namespace.QName getServiceID()
          Get the service ID.
 void setContextMessage(WSIFMessage contextMessage)
          Set the context message.
 void setFaultMessage(WSIFMessage faultMessage)
          Set the fault message.
 void setInputName(java.lang.String inputName)
          Sets the inputName
 void setIsFault(boolean isFault)
          Indicate whether this response contains a a fault message or an ok response message.
 void setOperationName(java.lang.String operationName)
          Set the operation name.
 void setOutgoingMessage(WSIFMessage outgoingMessage)
          Set the outgoing message.
 void setOutputName(java.lang.String outputName)
          Sets the outputName
 void setPortName(java.lang.String portName)
          Sets the portName
 java.lang.String toString()
          Printable version.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WSIFResponse

public WSIFResponse(javax.xml.namespace.QName serviceID)
Constructor.

Method Detail

getServiceID

public javax.xml.namespace.QName getServiceID()
Get the service ID.


setOperationName

public void setOperationName(java.lang.String operationName)
Set the operation name.


getOperationName

public java.lang.String getOperationName()
Get the operation name.


setIsFault

public void setIsFault(boolean isFault)
Indicate whether this response contains a a fault message or an ok response message. Defaults to ok (i.e., the value of the flag is false).


getIsFault

public boolean getIsFault()
Get the value of the isFault flag. True if response contains a fault and false otherwise.


setOutgoingMessage

public void setOutgoingMessage(WSIFMessage outgoingMessage)
Set the outgoing message. The outgoing message or the fault message must be set for any given response.


getOutgoingMessage

public WSIFMessage getOutgoingMessage()
Get the outgoing message.


setFaultMessage

public void setFaultMessage(WSIFMessage faultMessage)
Set the fault message. The outgoing message or the fault message must be set for any given response.


getFaultMessage

public WSIFMessage getFaultMessage()
Get the fault message.


setContextMessage

public void setContextMessage(WSIFMessage contextMessage)
Set the context message.


getContextMessage

public WSIFMessage getContextMessage()
Get the context message.


toString

public java.lang.String toString()
Printable version.


getPortName

public java.lang.String getPortName()
Gets the portName

Returns:
Returns a String

setPortName

public void setPortName(java.lang.String portName)
Sets the portName

Parameters:
portName - The portName to set

getInputName

public java.lang.String getInputName()
Gets the inputName

Returns:
Returns a String

setInputName

public void setInputName(java.lang.String inputName)
Sets the inputName

Parameters:
inputName - The inputName to set

getOutputName

public java.lang.String getOutputName()
Gets the outputName

Returns:
Returns a String

setOutputName

public void setOutputName(java.lang.String outputName)
Sets the outputName

Parameters:
outputName - The outputName to set


Copyright ? 2002, 2006 Apache XML Project. All Rights Reserved.