|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary |
Fields inherited from interface org.apache.axiom.om.OMNode |
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
Method Summary | |
SOAPFaultCode |
getCode()
|
SOAPFaultDetail |
getDetail()
|
java.lang.Exception |
getException()
Returns Exception if there is one in the SOAP fault. |
SOAPFaultNode |
getNode()
|
SOAPFaultReason |
getReason()
|
SOAPFaultRole |
getRole()
|
void |
setCode(SOAPFaultCode soapFaultCode)
SOAPFaultCode is a mandatory item in a Fault, in SOAP 1.2 specification |
void |
setDetail(SOAPFaultDetail detail)
SOAPFaultRoleImpl is an optional item in a Fault, in SOAP 1.2 specification |
void |
setException(java.lang.Exception e)
|
void |
setNode(SOAPFaultNode node)
SOAPFaultNode is an optional item in a Fault, in SOAP 1.2 specification |
void |
setReason(SOAPFaultReason reason)
SOAPFaultReason is a mandatory item in a Fault, in SOAP 1.2 specification |
void |
setRole(SOAPFaultRole role)
SOAPFaultRoleImpl is an optional item in a Fault, in SOAP 1.2 specification |
Methods inherited from interface org.apache.axiom.om.OMNode |
build, detach, discard, getNextOMSibling, getOMFactory, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume |
Methods inherited from interface org.apache.axiom.om.OMContainer |
addChild, buildNext, getChildren, getChildrenWithName, getFirstChildWithName, getFirstOMChild, isComplete |
Method Detail |
public void setCode(SOAPFaultCode soapFaultCode) throws SOAPProcessingException
soapFaultCode
-
SOAPProcessingException
public SOAPFaultCode getCode()
public void setReason(SOAPFaultReason reason) throws SOAPProcessingException
reason
-
SOAPProcessingException
public SOAPFaultReason getReason()
public void setNode(SOAPFaultNode node) throws SOAPProcessingException
node
-
SOAPProcessingException
public SOAPFaultNode getNode()
public void setRole(SOAPFaultRole role) throws SOAPProcessingException
role
-
SOAPProcessingException
public SOAPFaultRole getRole()
public void setDetail(SOAPFaultDetail detail) throws SOAPProcessingException
detail
-
SOAPProcessingException
public SOAPFaultDetail getDetail()
public java.lang.Exception getException() throws OMException
OMException
public void setException(java.lang.Exception e) throws OMException
OMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |