title: How to output the generated request and response from Groovy RestClient?
body: <p>i am currently using the RestClient and cannot seem to figure out how to output the request xml and response xml for debugging and informational purpose...</p>
  
  <p>I tried the solution mentioned here:
  <a href="http://agileice.blogspot.com/2009/09/pretty-printing-xml-results-returned.html" rel="noreferrer">http://agileice.blogspot.com/2009/09/pretty-printing-xml-results-returned.html</a></p>
  
  <p>But that fails to work, any other suggestions?</p>