lib/ews/soap/exchange_web_service.rb
def do_soap_request(soapmsg, opts = {})
      @log.debug <<-EOF.gsub(/^ {8}/, '')
        Sending SOAP Request:
        ----------------
        #{soapmsg}
        ----------------
      EOF
      connection.dispatch(self, soapmsg, opts)
    end
def do_soap_request(soapmsg, opts = {})
      @log.debug <<-EOF.gsub(/^ {8}/, '')
        Sending SOAP Request:
        ----------------
        #{soapmsg}
        ----------------
      EOF
      connection.dispatch(self, soapmsg, opts)
    end
Send the SOAP request to the endpoint and parse it.
 @param [String] soapmsg an XML formatted string
 @todo make this work for Viewpoint (imported from SPWS)
 @param [Hash] opts misc options
 @option opts [Boolean] :raw_response if true do not parse and return
   the raw response string.