Home » axiom-1.2.8-src » org.apache.axiom.soap » [javadoc | source]
org.apache.axiom.soap
public interface: SOAPFault [javadoc | source]

All Implemented Interfaces:
    OMElement

All Known Implementing Classes:
    SOAPFaultImpl, SOAP11FaultImpl, SOAPFaultImpl, SOAP12FaultImpl, SOAP12FaultImpl, SOAP11FaultImpl

An element in the SOAPBody object that contains error and/or status information. This information may relate to errors in the OMMessage object or to problems that are not related to the content in the message itself. Problems not related to the message itself are generally errors in processing, such as the inability to communicate with an upstream server.

The SOAPFault interface provides methods for retrieving the information contained in a SOAPFault object and for setting the fault code, the fault actor, and a string describing the fault. B fault code is one of the codes defined in the SOAP 1.1 specification that describe the fault. An actor is an intermediate recipient to whom a message was routed. The message path may include one or more actors, or, if no actors are specified, the message goes only to the default actor, which is the final intended recipient.
Method from org.apache.axiom.soap.SOAPFault Summary:
getCode,   getDetail,   getException,   getNode,   getReason,   getRole,   setCode,   setDetail,   setException,   setNode,   setReason,   setRole
Method from org.apache.axiom.soap.SOAPFault Detail:
 public SOAPFaultCode getCode()
 public SOAPFaultDetail getDetail()
 public Exception getException() throws OMException
    Returns Exception if there is one in the SOAP fault.

    If the exception is like; stack trace goes here

 public SOAPFaultNode getNode()
 public SOAPFaultReason getReason()
 public SOAPFaultRole getRole()
 public  void setCode(SOAPFaultCode soapFaultCode) throws SOAPProcessingException
    SOAPFaultCode is a mandatory item in a Fault, in SOAP 1.2 specification
 public  void setDetail(SOAPFaultDetail detail) throws SOAPProcessingException
    SOAPFaultRoleImpl is an optional item in a Fault, in SOAP 1.2 specification
 public  void setException(Exception e) throws OMException
 public  void setNode(SOAPFaultNode node) throws SOAPProcessingException
    SOAPFaultNode is an optional item in a Fault, in SOAP 1.2 specification
 public  void setReason(SOAPFaultReason reason) throws SOAPProcessingException
    SOAPFaultReason is a mandatory item in a Fault, in SOAP 1.2 specification
 public  void setRole(SOAPFaultRole role) throws SOAPProcessingException
    SOAPFaultRoleImpl is an optional item in a Fault, in SOAP 1.2 specification