|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 boolean |
containsFault(Block b)
|
static javax.xml.soap.SOAPFault |
createSAAJFault(XMLFault xmlFault,
javax.xml.soap.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(Block b,
Protocol p)
|
static XMLFault |
createXMLFault(javax.xml.soap.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(javax.xml.soap.SOAPFault soapFault,
Block[] detailBlocks)
Create an XMLFault object from a SOAPFault and detail Blocks |
static boolean |
isFault(javax.xml.soap.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(javax.xml.soap.SOAPEnvelope envelope)
throws javax.xml.soap.SOAPException
envelope - javax.xml.soap.SOAPEnvelope
javax.xml.soap.SOAPExceptionpublic static boolean isFault(org.apache.axiom.soap.SOAPEnvelope envelope)
envelope - org.apache.axiom.soap.SOAPEnvelope
public static boolean containsFault(Block b)
block - representing a message payload
public static XMLFault createXMLFault(org.apache.axiom.soap.SOAPFault soapFault,
Block[] detailBlocks)
throws javax.xml.ws.WebServiceException
soapFault - detailBlocks -
javax.xml.ws.WebServiceException
public static XMLFault createXMLFault(javax.xml.soap.SOAPFault soapFault)
throws javax.xml.ws.WebServiceException
soapFault -
javax.xml.ws.WebServiceException
public static XMLFault createXMLFault(javax.xml.soap.SOAPFault soapFault,
Block[] detailBlocks)
throws javax.xml.ws.WebServiceException
soapFault - detailBlocks -
javax.xml.ws.WebServiceException
public static XMLFault createXMLFault(Block b,
Protocol p)
public static org.apache.axiom.soap.SOAPFault createSOAPFault(XMLFault xmlFault,
org.apache.axiom.soap.SOAPBody body,
boolean ignoreDetailBlocks)
throws javax.xml.ws.WebServiceException
xmlFault - body - - Assumes that the body is emptyignoreDetailBlocks - true or fals
javax.xml.ws.WebServiceException
public static javax.xml.soap.SOAPFault createSAAJFault(XMLFault xmlFault,
javax.xml.soap.SOAPBody body)
throws javax.xml.soap.SOAPException,
javax.xml.ws.WebServiceException
xmlFault - body -
javax.xml.soap.SOAPException
javax.xml.ws.WebServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||