org.apache.axis2.fault
Interface SoapFaultSource


public interface SoapFaultSource

This is an interface to be implemented by exceptions that can generate their own SOAPFault directly. Axis2 can extract the body and any headers and use them in the response.


Method Summary
 Iterator getHeaders()
          Get any Headers to include in the message.
 org.apache.ws.commons.soap.SOAPFault getSOAPFault()
          The full SOAPFault to send back.
 

Method Detail

getHeaders

public Iterator getHeaders()
Get any Headers to include in the message. Most

Returns:
an iterator over headers, or null for no headers of interest.

getSOAPFault

public org.apache.ws.commons.soap.SOAPFault getSOAPFault()
The full SOAPFault to send back. This will become the body of a message.

Returns:
the SOAPFault to return as the body of a message.