org.soap
Class SOAPFault
java.lang.Object
org.soap.SOAPFault
public class SOAPFault
- extends Object
A class to represent a SOAP fault
- Author:
- Eddie
SOAPFault
public SOAPFault()
getCode
public String getCode()
- Returns:
- the code
setCode
public void setCode(String code)
- Parameters:
code
- the code to set
getMsg
public String getMsg()
- Returns:
- the msg
setMsg
public void setMsg(String msg)
- Parameters:
msg
- the msg to set
getWsrfFault
public WSRFFault getWsrfFault()
- Returns:
- the wsrfFault
setWsrfFault
public void setWsrfFault(WSRFFault wsrfFault)
- Parameters:
wsrfFault
- the wsrfFault to set
toString
public String toString()
- Overrides:
toString
in class Object
isWsrf
public boolean isWsrf()
- Returns:
- the wsrf
setWsrf
public void setWsrf(boolean wsrf)
- Parameters:
wsrf
- the wsrf to set
createFromXML
public static SOAPFault createFromXML(Object xmlData)
throws MobyException
- Parameters:
xmlData
- the xml to parse into a SOAPFault object. One of byte[], File or String
- Returns:
- a SOAPFault object obtained by parsing the XML
- Throws:
MobyException
- if there was a problem parsing the xml
Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010