org.jboss.axis.wsdl.symbolTable
Class FaultInfo

java.lang.Object
  extended byorg.jboss.axis.wsdl.symbolTable.FaultInfo

public class FaultInfo
extends java.lang.Object

Fault information object. This should probably really be FaultEntry and it should be a subclass of SymTabEntry, but faults aren't first-class objects in WSDL, so I'm not sure what the FaultEntry should contain and how it should be constructed, so for now leave it as a simple object.


Constructor Summary
FaultInfo(Fault fault, Use (src)  use, java.lang.String namespace, SymbolTable (src)  symbolTable)
          This constructor creates FaultInfo for a binding fault.
FaultInfo(QName (src)  faultMessage, java.lang.String faultPart, java.lang.String faultUse, java.lang.String faultNamespaceURI, SymbolTable (src)  symbolTable)
           
FaultInfo(SOAPHeaderFault fault, SymbolTable (src)  symbolTable)
          This constructor creates FaultInfo for a soap:headerFault.
 
Method Summary
 Message getMessage()
           
 java.lang.String getName()
          Return the name of the fault.
 QName (src) getQName()
          Return the QName of a fault.
 Use (src) getUse()
           
 QName (src) getXMLType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultInfo

public FaultInfo(Fault fault,
                 Use (src)  use,
                 java.lang.String namespace,
                 SymbolTable (src)  symbolTable)
This constructor creates FaultInfo for a binding fault.

If the part of the fault is a type, then the QName is derived from the element name and the provided namespace (this namespace SHOULD come from the binding).

If the part of the fault is an element, then the QName is the QName of the element, and the given namespace is ignored.


FaultInfo

public FaultInfo(SOAPHeaderFault fault,
                 SymbolTable (src)  symbolTable)
          throws java.io.IOException
This constructor creates FaultInfo for a soap:headerFault.


FaultInfo

public FaultInfo(QName (src)  faultMessage,
                 java.lang.String faultPart,
                 java.lang.String faultUse,
                 java.lang.String faultNamespaceURI,
                 SymbolTable (src)  symbolTable)
          throws java.io.IOException
Method Detail

getMessage

public Message getMessage()

getXMLType

public QName (src)  getXMLType()

getUse

public Use (src)  getUse()

getQName

public QName (src)  getQName()
Return the QName of a fault. This method may return null if no parts are in the fault message.

If the part of the fault is a type, then the QName is derived from the element name and the provided namespace (this namespace SHOULD come from the binding).

If the part of the fault is an element, then the QName is the QName of the element, and the given namespace is ignored.


getName

public java.lang.String getName()
Return the name of the fault. This is the name= attribute from a portType fault or the localname of a header fault.