Home » synapse-1.2-src » org.apache.synapse.mediators.transform » [javadoc | source]
public class: FaultMediator [javadoc | source]

All Implemented Interfaces:

This transforms the current message instance into a SOAP Fault message. The SOAP version for the fault message could be explicitly specified. Else if the original message was SOAP 1.1 the fault will also be SOAP 1.1 else, SOAP 1.2 This class exposes methods to set SOAP 1.1 and 1.2 fault elements and uses these as required. Directs the fault messages' "To" EPR to the "FaultTo" or the "ReplyTo" or to null of the original SOAP message
Field Summary
public static final  String WSA_ACTION     
public static final  int SOAP11    Make a SOAP 1.1 fault 
public static final  int SOAP12    Make a SOAP 1.2 fault 
public static final  int POX    Make a POX fault 
Fields inherited from org.apache.synapse.mediators.AbstractMediator:
log,  trace,  traceState
Method from org.apache.synapse.mediators.transform.FaultMediator Summary:
getFaultCodeExpr,   getFaultCodeValue,   getFaultDetail,   getFaultDetailExpr,   getFaultNode,   getFaultReasonExpr,   getFaultReasonValue,   getFaultRole,   getSoapVersion,   mediate,   setFaultCodeExpr,   setFaultCodeValue,   setFaultDetail,   setFaultDetailExpr,   setFaultNode,   setFaultReasonExpr,   setFaultReasonValue,   setFaultRole,   setSoapVersion
Methods from org.apache.synapse.mediators.AbstractMediator:
auditLog,   auditWarn,   getTraceState,   getType,   handleException,   handleException,   isTraceOn,   isTraceOrDebugOn,   setEffectiveTraceState,   setTraceState,   shouldTrace,   traceOrDebug,   traceOrDebugWarn
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.synapse.mediators.transform.FaultMediator Detail:
 public SynapseXPath getFaultCodeExpr() 
 public QName getFaultCodeValue() 
 public String getFaultDetail() 
 public SynapseXPath getFaultDetailExpr() 
 public URI getFaultNode() 
 public SynapseXPath getFaultReasonExpr() 
 public String getFaultReasonValue() 
 public URI getFaultRole() 
 public int getSoapVersion() 
 public boolean mediate(MessageContext synCtx) 
 public  void setFaultCodeExpr(SynapseXPath faultCodeExpr) 
 public  void setFaultCodeValue(QName faultCodeValue) 
 public  void setFaultDetail(String faultDetail) 
 public  void setFaultDetailExpr(SynapseXPath faultDetailExpr) 
 public  void setFaultNode(URI faultNode) 
 public  void setFaultReasonExpr(SynapseXPath faultReasonExpr) 
 public  void setFaultReasonValue(String faultReasonValue) 
 public  void setFaultRole(URI faultRole) 
 public  void setSoapVersion(int soapVersion)