def dump_soap_response(service_url, response_xml)
      return unless @soap_dump
      response_xml.gsub(/<email[^>]*>.+<\/email>/, "<email>**censured**</email>")
      str = ""
      str << "<!-- response -->\n" unless @soap_dump_dir
      str << xml_to_s(response_xml) << "\n"
      str << "<!-- end -->" unless @soap_dump_dir
      dump(service_url, "res", str)
    end
def dump_soap_response(service_url, response_xml)
      return unless @soap_dump
      response_xml.gsub(/<email[^>]*>.+<\/email>/, "<email>**censured**</email>")
      str = ""
      str << "<!-- response -->\n" unless @soap_dump_dir
      str << xml_to_s(response_xml) << "\n"
      str << "<!-- end -->" unless @soap_dump_dir
      dump(service_url, "res", str)
    end
TODO: response_xml might be a doc object as Nokogiri::doc