|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.wsinfra.util.FaultCreator
public class FaultCreator
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 | |
|---|---|
void |
copyFaultIntoSOAPBody(EnvelopeDocument envelopeDocument,
FaultDocument faultDocument)
Copies the content of the Fault element into the SOAP Body |
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)
|
FaultDocument |
getFaultDocument(QName faultCodeQName,
String reason)
Initializes a fault document and returns it |
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 |
| Method Detail |
|---|
public static FaultCreator getInstance()
public EnvelopeDocument createFault(QName faultCodeQName,
String reason,
EndpointReferenceType faultTo)
public EnvelopeDocument createFault(QName faultCodeQName,
String reason,
XmlObject detailObject,
EndpointReferenceType faultTo)
public EnvelopeDocument createFault(QName faultCodeQName,
String reason,
String faultActor,
EndpointReferenceType faultTo)
public EnvelopeDocument createFault(QName faultCodeQName,
String reason,
XmlObject detailObject,
String faultActor,
EndpointReferenceType faultTo)
public FaultDocument getFaultDocument(QName faultCodeQName,
String reason)
public void copyFaultIntoSOAPBody(EnvelopeDocument envelopeDocument,
FaultDocument faultDocument)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||