com.wingfoot.soap
Class Fault

java.lang.Object
  |
  +--com.wingfoot.soap.Fault

public class Fault
extends java.lang.Object

Encapsulates a Fault element in a SOAP message.

Since:
0.90

Constructor Summary
Fault(com.wingfoot.soap.XmlParser parser)
          Creates a new instance of Fault.
 
Method Summary
 java.util.Vector getDetail()
          Retrieves the element in the Fault element of a SOAP message.
 java.lang.String getFaultCode()
          Retrieves the element in the Fault element of a SOAP message.
 java.lang.String getFaultString()
          Retrieves the element in the Fault element of a SOAP message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fault

public Fault(com.wingfoot.soap.XmlParser parser)
      throws java.io.IOException
Creates a new instance of Fault. This is the only constructor. The constructor initiates the process of parsing the Soap Fault.
Parameters:
parser - instance of XmlParser to parse the Fault
Since:
0.90
Method Detail

getFaultCode

public java.lang.String getFaultCode()
Retrieves the element in the Fault element of a SOAP message.
Returns:
String with the faultcode. null if not faultcode is detected.
Since:
0.90

getFaultString

public java.lang.String getFaultString()
Retrieves the element in the Fault element of a SOAP message.
Returns:
String with the faultstring, null if not faultstring is detected.
Since:
0.90

getDetail

public java.util.Vector getDetail()
Retrieves the element in the Fault element of a SOAP message.
Returns:
Vector with each element of the vector an instance of org.kxml.parser.ParseEvent. Convert each element of the Vector to a String using the toString method to get the Fault detail.
Since:
0.90


Copyright(c) Wingfoot Software (www.wingfoot.com). All Rights Reserved.

KXML is a XML parser by Lutris Technologies