org.apache.axis.wsdl.symbolTable
Class FaultInfo
java.lang.Object
org.apache.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.
FaultInfo(Fault fault, Use use, String namespace, SymbolTable symbolTable) - This constructor creates FaultInfo for a binding fault.
|
FaultInfo(SOAPHeaderFault fault, SymbolTable symbolTable) - This constructor creates FaultInfo for a soap:headerFault.
|
FaultInfo(QName faultMessage, String faultPart, String faultUse, String faultNamespaceURI, SymbolTable symbolTable) - Constructor FaultInfo
|
FaultInfo
public FaultInfo(Fault fault,
Use use,
String namespace,
SymbolTable 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.
fault
- use
- namespace
- symbolTable
-
FaultInfo
public FaultInfo(SOAPHeaderFault fault,
SymbolTable symbolTable)
throws IOException
This constructor creates FaultInfo for a soap:headerFault.
fault
- symbolTable
-
FaultInfo
public FaultInfo(QName faultMessage,
String faultPart,
String faultUse,
String faultNamespaceURI,
SymbolTable symbolTable)
throws IOException
Constructor FaultInfo
faultMessage
- faultPart
- faultUse
- faultNamespaceURI
- symbolTable
-
getMessage
public Message getMessage()
Method getMessage
getName
public String getName()
Return the name of the fault.
This is the name= attribute from a portType fault
or the localname of a header fault.
getQName
public QName 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.
getUse
public Use getUse()
Method getUse
getXMLType
public QName getXMLType()
Method getXMLType
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.