Class MailSender

  • All Implemented Interfaces:
    java.io.Serializable, Handler

    public class MailSender
    extends BasicHandler
    This is meant to be used on a SOAP Client to call a SOAP server via SMTP/POP3
    Author:
    Davanum Srinivas (dims@yahoo.com)
    See Also:
    Serialized Form
    • Field Detail

      • log

        protected static org.apache.commons.logging.Log log
    • Constructor Detail

      • MailSender

        public MailSender()
    • Method Detail

      • invoke

        public void invoke​(MessageContext msgContext)
                    throws AxisFault
        invoke creates a socket connection, sends the request SOAP message and then reads the response SOAP message back from the SOAP server
        Parameters:
        msgContext - the messsage context
        Throws:
        AxisFault