SoapFault Class
- public class SoapFault
extends Object
implements Serializable
Web service developers can use the SoapFault class to control the shape of the
detail of SOAP fault data.
-
Hierarchy
-
Object
SoapFault
-
All Implemented Interfaces
-
Serializable
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoapFault
public SoapFault(XmlObject
fault)
get11Fault() Method
public Fault
get11Fault()
get12Fault() Method
public Fault
get12Fault()
getDetail() Method
public XmlObject
getDetail()
Returns the entire content of Detail element. Clients can use the
XmlCursor API to extract complex content from the Detail, including
attributes.
Returns
- the SOAP Fault Detail content
getDetailContents() Method
public XmlObject
[] getDetailContents()
Returns an array of XmlObjects that are the immediate children of
the SOAP Fault Detail element.
If the schema for the elements has been compiled as XBeans, the
XmlObjects can be casted to the Java type associated with the XML Schema
type. If there are no immediate children, then an empty XmlObject array
is returned.
Returns
- the immediate children of the SOAP Faul Detail element
hasDetail() Method
public boolean hasDetail()
isSoap11() Method
public boolean isSoap11()
isSoap12() Method
public boolean isSoap12()