1

I've been using Savon as my SOAP client to request different APIs from Rails application. I've noticed that sometimes the response xmls are showing in multiple lines[see the pic] in console. But I want to get the response xml shown in one line. I've disabled pretty_print_xml and using debug_level :info. I've also tried with increasing buffer size(for lines) in rubymine but still is a no go. Please suggest me how can I get the xml response showing in one line.

xml response in multiple lines

user5756014
  • 301
  • 4
  • 16
  • 1
    _"sometimes the response xmls are showing in multiple lines"_ – try to narrow down "sometimes". There's probably a reason for that. – Stefan Jul 01 '19 at 12:54
  • Thanks a lot for your comment. By 'sometime' I meant to say, when the response xml size is very big compared to others. But I maybe wrong as I don't know the exact reason. The size issue maybe a problem to break down to xml to new lines. – user5756014 Jul 01 '19 at 13:01
  • are you getting this output in logs or where? – lacostenycoder Jul 01 '19 at 16:14
  • @lacostenycoder I'm getting this output in rubymine console. – user5756014 Jul 02 '19 at 01:00

0 Answers0