Log result.body over result.xml in case XML is invalid