Class WSATFaultFactory


  • public class WSATFaultFactory
    extends Object
    WS-C and WS-AT Fault factory. This class creates and throws WS-AT related faults

    The properties bind to a SOAP 1.2 fault as follows: http://schemas.xmlsoap.org/ws/2004/10/wscoor/fault [Code] [Subcode] [Reason] [Detail] ... The properties bind to a SOAP 1.1 fault as follows: [Subcode] [Reason]

    • Constructor Detail

      • WSATFaultFactory

        public WSATFaultFactory()
    • 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