cgl.narada.wsinfra.util
Class FaultCreator
java.lang.Object
cgl.narada.wsinfra.util.FaultCreator
- public class FaultCreator
- extends Object
This class enables the creation of faults. Note that currently this class
creates on SOAP 1.1 faults, it should be no big deal to have a similar
capability for SOAP 1.2. If a need arises one will be provided.
|
Method Summary |
EnvelopeDocument |
createFault(QName faultCodeQName,
String reason,
EndpointReferenceType faultTo)
|
EnvelopeDocument |
createFault(QName faultCodeQName,
String reason,
String faultActor,
EndpointReferenceType faultTo)
|
EnvelopeDocument |
createFault(QName faultCodeQName,
String reason,
XmlObject detailObject,
EndpointReferenceType faultTo)
|
EnvelopeDocument |
createFault(QName faultCodeQName,
String reason,
XmlObject detailObject,
String faultActor,
EndpointReferenceType faultTo)
|
static FaultCreator |
getInstance()
Get an instance of the FaultCreator |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static FaultCreator getInstance()
- Get an instance of the FaultCreator
createFault
public EnvelopeDocument createFault(QName faultCodeQName,
String reason,
EndpointReferenceType faultTo)
createFault
public EnvelopeDocument createFault(QName faultCodeQName,
String reason,
XmlObject detailObject,
EndpointReferenceType faultTo)
createFault
public EnvelopeDocument createFault(QName faultCodeQName,
String reason,
String faultActor,
EndpointReferenceType faultTo)
createFault
public EnvelopeDocument createFault(QName faultCodeQName,
String reason,
XmlObject detailObject,
String faultActor,
EndpointReferenceType faultTo)