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…
I tried the solution mentioned here:
http://agileice.blogspot.com/2009/09/pretty-printing-xml-results-returned.html
But that fails to work, any other suggestions?
Since it depends on HTTPClient, you could try enabling header and wire logging for your script.
http://blog.techstacks.com/2009/12/configuring-wire-logging-in-groovy-httpbuilder.html
http://hc.apache.org/httpcomponents-client-ga/logging.html