SoapFault Class

com.bea.control
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

Constructor Summary

SoapFault(XmlObject fault)

 

Method Summary

public Fault
get11Fault()
public Fault
get12Fault()
public XmlObject
getDetail()
Returns the entire content of Detail element.
public XmlObject[]
getDetailContents()
Returns an array of XmlObjects that are the immediate children of the SOAP Fault Detail element.
public boolean
hasDetail()
public boolean
isSoap11()
public boolean
isSoap12()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

SoapFault

public SoapFault(XmlObject fault)
 

Method Detail

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()