Class SoapMessage

java.lang.Object
com.aquima.interactions.communication.impl.SoapMessage
All Implemented Interfaces:
ISoapMessage, Serializable

public final class SoapMessage extends Object implements ISoapMessage
Soap message implementation.
Since:
9.0
Author:
Arjan Pragt
See Also:
  • Constructor Details

    • SoapMessage

      public SoapMessage(String envelope, String action)
      Construct a soap message with an action and envelope.
      Parameters:
      envelope - The soap envelope, may not be null.
      action - The soap action, may be null.
    • SoapMessage

      public SoapMessage(String envelope, String action, boolean validated)
      Construct a soap message with an action and envelope.
      Parameters:
      envelope - The soap envelope, may not be null.
      action - The soap action, may be null.
      validated - If attributes should be validated after the soap message is parsed
  • Method Details

    • getAction

      public String getAction()
      Description copied from interface: ISoapMessage
      This method return the soap action.
      Specified by:
      getAction in interface ISoapMessage
      Returns:
      The soap action, may be null.
    • getEnvelope

      public String getEnvelope()
      Description copied from interface: ISoapMessage
      This method returns the soap envelope.
      Specified by:
      getEnvelope in interface ISoapMessage
      Returns:
      The soap envelope, never null or empty.
    • isValidated

      public boolean isValidated()
      Description copied from interface: ISoapMessage
      This method returns whether the attributes should be validated after the soap message is parsed
      Specified by:
      isValidated in interface ISoapMessage
      Returns:
      if the attributes should be validated after the soap message is parsed