org.ow2.petals.binding.soap.util
Class SOAPFaultHelper

java.lang.Object
  extended by org.ow2.petals.binding.soap.util.SOAPFaultHelper

public final class SOAPFaultHelper
extends java.lang.Object

The SOAP Fault Helper.

Author:
Frederic Gardes

Method Summary
static org.apache.axiom.soap.SOAPFault createSOAPFault(org.apache.axiom.soap.SOAPFactory soapFactory)
          Create a SOAP fault.
static org.apache.axiom.soap.SOAPFault createSOAPFault(org.apache.axiom.soap.SOAPFactory soapFactory, org.apache.axiom.om.OMElement bodyContent)
          Create a SOAP fault from the provided body content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createSOAPFault

public static org.apache.axiom.soap.SOAPFault createSOAPFault(org.apache.axiom.soap.SOAPFactory soapFactory)
                                                       throws SOAPFaultHelperException
Create a SOAP fault.

Parameters:
soapFactory - The factory used to create the fault and identify the version
Returns:
the soap fault
Throws:
SOAPFaultHelperException - the class exception

createSOAPFault

public static org.apache.axiom.soap.SOAPFault createSOAPFault(org.apache.axiom.soap.SOAPFactory soapFactory,
                                                              org.apache.axiom.om.OMElement bodyContent)
                                                       throws SOAPFaultHelperException
Create a SOAP fault from the provided body content.

Parameters:
soapFactory - The factory used to create the fault and identify the version
Returns:
the soap fault
Throws:
SOAPFaultHelperException - the class exception


Copyright © 2005-2012 Petals Link (EBM Websourcing). All Rights Reserved.