Package com.sun.xml.ws.tx.at
Class WSATFaultFactory
- java.lang.Object
-
- com.sun.xml.ws.tx.at.WSATFaultFactory
-
public class WSATFaultFactory extends Object
WS-C and WS-AT Fault factory. This class creates and throws WS-AT related faultsThe properties bind to a SOAP 1.2 fault as follows:
<S:Envelope> <S:Header> <wsa:Action> http://schemas.xmlsoap.org/ws/2004/10/wscoor/fault </wsa:Action> <!-- Headers elided for clarity. --> </S:Header> <S:Body> <S:Fault> <S:Code> <S:Value>[Code]</S:Value> <S:Subcode> <S:Value>[Subcode]</S:Value> </S:Subcode> </S:Code> <S:Reason> <S:Text xml:lang="en">[Reason]</S:Text> </S:Reason> <S:Detail> [Detail] ... </S:Detail> </S:Fault> </S:Body> </S:Envelope> The properties bind to a SOAP 1.1 fault as follows: <S11:Envelope> <S11:Body> <S11:Fault> <faultcode>[Subcode]</faultcode> <faultstring xml:lang="en">[Reason]</faultstring> </S11:Fault> </S11:Body> </S11:Envelope>
-
-
Constructor Summary
Constructors Constructor Description WSATFaultFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidthrowAlreadyRegisteredFault()4.6 Already Registered This fault is sent to a participant if the coordinator detects that the participant attempted to register for the same protocol of the same activity more than once.static voidthrowContextRefusedFault()4.5.static voidthrowInconsistentInternalStateFault()5.1 InconsistentInternalState This fault is sent by a participant to indicate that it cannot fulfill its obligations.static voidthrowInvalidParametersFault()4.3.static voidthrowInvalidProtocolFault()4.2.static voidthrowInvalidStateFault()4.1.static voidthrowNoActivityFault()4.4.
-
-
-
Method Detail
-
throwInvalidStateFault
public static void throwInvalidStateFault()
4.1. Invalid State This fault is sent by either the coordinator or a participant to indicate that the endpoint that generates the fault has received a message that is not valid for its current state. This is an unrecoverable condition. Properties: [Code] Sender [Subcode] wscoor:InvalidState [Reason] The message was invalid for the current state of the activity. [Detail] unspecified
-
throwInvalidProtocolFault
public static void throwInvalidProtocolFault()
4.2. Invalid Protocol This fault is sent by either the coordinator or a participant to indicate that the endpoint that generates the fault received a message from an invalid protocol. This is an unrecoverable condition. Properties: [Code] Sender [Subcode] wscoor:InvalidProtocol [Reason] The protocol is invalid or is not supported by the coordinator. [Detail] unspecified
-
throwInvalidParametersFault
public static void throwInvalidParametersFault()
4.3. Invalid Parameters This fault is sent by either the coordinator or a participant to indicate that the endpoint that generated the fault received invalid parameters on or within a message. This is an unrecoverable condition. Properties: [Code] Sender [Subcode] wscoor:InvalidParameters [Reason] The message contained invalid parameters and could not be processed. [Detail] unspecified
-
throwNoActivityFault
public static void throwNoActivityFault()
4.4. No Activity This fault is sent by the coordinator if the participant has been quiet for too long and is presumed to have ended. Properties: [Code] Sender [Subcode] wscoor:NoActivity [Reason] The participant is not responding and is presumed to have ended. [Detail] unspecified
-
throwContextRefusedFault
public static void throwContextRefusedFault()
4.5. Context Refused This fault is sent to a coordinator to indicate that the endpoint cannot accept a context which it was passed: Properties: [Code] Sender [Subcode] wscoor:ContextRefused [Reason] The coordination context that was provided could not be accepted. [Detail] unspecified
-
throwAlreadyRegisteredFault
public static void throwAlreadyRegisteredFault()
4.6 Already Registered This fault is sent to a participant if the coordinator detects that the participant attempted to register for the same protocol of the same activity more than once. Properties: [Code] Sender [Subcode] wscoor:AlreadyRegistered [Reason] The participant has already registered for the same protocol. [Detail] unspecified
-
throwInconsistentInternalStateFault
public static void throwInconsistentInternalStateFault()
5.1 InconsistentInternalState This fault is sent by a participant to indicate that it cannot fulfill its obligations. This indicates a global consistency failure and is an unrecoverable condition. Properties: [Code] Sender [Subcode] wsat:InconsistentInternalState [Reason] A global consistency failure has occurred. This is an unrecoverable condition. [Detail] unspecified
-
-