Skip navigation links
oracle.webservices.soap
Interface Fault12
- All Superinterfaces:
- Element, Node, SOAPBodyElement, SOAPElement, SOAPFault
-
public interface Fault12
- extends SOAPFault
Represents a SOAP 1.2 Fault. This interface is an extension to the SAAJ 1.1 javax.xml.soap.SOAPFault. Due to changes in SOAP 1.2, the following methods defined in javax.xml.soap.SOAPFault are not supported for SOAP 1.2 messages: public String getFaultCode(); public Name getFaultCodeAsName(); public String getFaultString(); public Locale getFaultStringLocale(); public void setFaultCode(String faultCode); public void setFaultCode(Name faultCodeQName); public void setFaultString(String faultString); public void setFaultString(String faultString, Locale locale); These methods throw java.lang.UnsupportedOperationException.
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Methods inherited from interface javax.xml.soap.SOAPFault |
addDetail, addFaultReasonText, appendFaultSubcode, getDetail, getFaultActor, getFaultCode, getFaultCodeAsName, getFaultCodeAsQName, getFaultNode, getFaultReasonLocales, getFaultReasonText, getFaultReasonTexts, getFaultRole, getFaultString, getFaultStringLocale, getFaultSubcodes, hasDetail, removeAllFaultSubcodes, setFaultActor, setFaultCode, setFaultCode, setFaultCode, setFaultNode, setFaultRole, setFaultString, setFaultString |
Methods inherited from interface javax.xml.soap.SOAPElement |
addAttribute, addAttribute, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addChildElement, addNamespaceDeclaration, addTextNode, createQName, getAllAttributes, getAllAttributesAsQNames, getAttributeValue, getAttributeValue, getChildElements, getChildElements, getChildElements, getElementName, getElementQName, getEncodingStyle, getNamespacePrefixes, getNamespaceURI, getVisibleNamespacePrefixes, removeAttribute, removeAttribute, removeContents, removeNamespaceDeclaration, setElementQName, setEncodingStyle |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
addCode
FaultCode12 addCode()
throws SOAPException
- Adds a FaultCode12 element to the internal structure of the Fault12 element and returns it to the caller
-
- Returns:
- the FaultCode12 element that was created within the Fault12 element
- Throws:
SOAPException
- thrown if the Fault12 is unable to create a new FaultCode12
addReason
FaultReason12 addReason()
throws SOAPException
- Adds FaultReason12 element to the internal structure of the Fault12 element and returns it to the caller
-
- Returns:
- the FaultReason12 element that was created within the Fault12 element
- Throws:
SOAPException
- thrown if the Fault12 is unable to create a new FaultReason12
getCode
FaultCode12 getCode()
-
- Returns:
- the FaultCode12 element within the Fault12 element; if no FaultCode12 element has been added, method returns null to caller.
getReason
FaultReason12 getReason()
-
- Returns:
- the FaultReason12 element within the Fault12 element; if no FaultReason12 element has been added, method returns null to caller.
Skip navigation links