Class AxisMessage


  • public class AxisMessage
    extends Object
    Class encapsulating a SOAP envelope and an attachment map. This class is used by MockMessageReceiver because it is not safe to keep a reference to the MessageContext object.
    • Constructor Detail

      • AxisMessage

        public AxisMessage()
      • AxisMessage

        public AxisMessage​(org.apache.axis2.context.MessageContext msgContext)
                    throws Exception
        Throws:
        Exception
    • Method Detail

      • getMessageType

        public String getMessageType()
      • setMessageType

        public void setMessageType​(String messageType)
      • getEnvelope

        public org.apache.axiom.soap.SOAPEnvelope getEnvelope()
      • setEnvelope

        public void setEnvelope​(org.apache.axiom.soap.SOAPEnvelope envelope)
      • getAttachments

        public org.apache.axiom.attachments.Attachments getAttachments()
      • setAttachments

        public void setAttachments​(org.apache.axiom.attachments.Attachments attachments)