getResponseText() method returns value is not complete

When the Restful return value is XML and the XML contains the namespaceuse using code:

println response.getResponseText(),

just the first line of content can be printed:

<?xml version="1.0" encoding="UTF-8"?>

<xxxxxx:view name=“xxx_xxx_xxx_xxx_xxx” xmlns=“http://xxx.xxx.xxx/restful/xxx” xmlns:xxxxx=“xxxxxx.com - xxx sex videos free hd porn Resources and Information.” xmlns:atom=“Atom Syndication Format namespace” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
<xxx_xxx_xxx_xxx_xxx>
XXX


X-XXXX

Fxxxxx Fxx - Sxxx Fxx


Mxxxxx Fxxxx









.

Duplicate of