com.bea.control
Class SoapFault

java.lang.Object
  extended by com.bea.control.SoapFault
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form

Constructor Summary
SoapFault(weblogic.wsee.jws.wlw.SoapFaultException sfe)
           
 
Method Summary
 weblogic.wsee.jws.wlw.schemas.soap11.Fault get11Fault()
           
 weblogic.wsee.jws.wlw.schemas.soap12.Fault get12Fault()
           
 org.apache.xmlbeans.XmlObject getDetail()
          Returns the entire content of Detail element.
 org.apache.xmlbeans.XmlObject[] getDetailContents()
          Returns an array of XmlObjects that are the immediate children of the SOAP Fault Detail element.
 boolean hasDetail()
           
 boolean isSoap11()
           
 boolean isSoap12()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SoapFault

public SoapFault(weblogic.wsee.jws.wlw.SoapFaultException sfe)
Method Detail

hasDetail

public boolean hasDetail()

getDetail

public org.apache.xmlbeans.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

public org.apache.xmlbeans.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

isSoap11

public boolean isSoap11()

isSoap12

public boolean isSoap12()

get11Fault

public weblogic.wsee.jws.wlw.schemas.soap11.Fault get11Fault()

get12Fault

public weblogic.wsee.jws.wlw.schemas.soap12.Fault get12Fault()