|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.jaxws.message.util.XMLFaultUtils
public class XMLFaultUtils
Collection of utilities used by the Message implementation to process XMLFaults.
XMLFault
Constructor Summary | |
---|---|
XMLFaultUtils()
|
Method Summary | |
---|---|
static SOAPFault |
createSAAJFault(XMLFault xmlFault,
SOAPBody body)
Create a SOAPFault representing the XMLFault. |
static org.apache.axiom.soap.SOAPFault |
createSOAPFault(XMLFault xmlFault,
org.apache.axiom.soap.SOAPBody body,
boolean ignoreDetailBlocks)
Create a SOAPFault representing the XMLFault and attach it to body. |
static XMLFault |
createXMLFault(SOAPFault soapFault)
Create XMLFault |
static XMLFault |
createXMLFault(org.apache.axiom.soap.SOAPFault soapFault,
Block[] detailBlocks)
Create an XMLFault object from a SOAPFault and detail Blocks |
static XMLFault |
createXMLFault(SOAPFault soapFault,
Block[] detailBlocks)
Create an XMLFault object from a SOAPFault and detail Blocks |
static boolean |
isFault(SOAPEnvelope envelope)
|
static boolean |
isFault(org.apache.axiom.soap.SOAPEnvelope envelope)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLFaultUtils()
Method Detail |
---|
public static boolean isFault(SOAPEnvelope envelope) throws SOAPException
envelope
- javax.xml.soap.SOAPEnvelope
SOAPException
public static boolean isFault(org.apache.axiom.soap.SOAPEnvelope envelope)
envelope
- org.apache.axiom.soap.SOAPEnvelope
public static XMLFault createXMLFault(org.apache.axiom.soap.SOAPFault soapFault, Block[] detailBlocks) throws WebServiceException
soapFault
- detailBlocks
-
WebServiceException
public static XMLFault createXMLFault(SOAPFault soapFault) throws WebServiceException
soapFault
-
WebServiceException
public static XMLFault createXMLFault(SOAPFault soapFault, Block[] detailBlocks) throws WebServiceException
soapFault
- detailBlocks
-
WebServiceException
public static org.apache.axiom.soap.SOAPFault createSOAPFault(XMLFault xmlFault, org.apache.axiom.soap.SOAPBody body, boolean ignoreDetailBlocks) throws WebServiceException
xmlFault
- body
- - Assumes that the body is emptyignoreDetailBlocks
- true or fals
WebServiceException
public static SOAPFault createSAAJFault(XMLFault xmlFault, SOAPBody body) throws SOAPException, WebServiceException
xmlFault
- body
-
SOAPException
WebServiceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |