how I uncompress the xml data after get the response from navision through NAS in reply queue.?

I am currently working on Employee portal. The idea behind is to create orders, customers and invoices by supplying xml files to Application server and get the response out of it in the form of xml. Now first part of the whole procedure is working fine that is I created a customer in the Navision by supplying xml file. Now when I get the response back from Navision through Application server in reply queue then xml shows tags and compressed everything in there. It shows me perfectly fine xml if I save it in some folder. Keep in mind that I am using Employee portal code units for this exercise. Now my question is if someone has got any idea how I uncompress this xml data. The xml looks like this.

adfhadfhkashfkashfkhsdfhsdhkf</ COMPRESSED>

</ EMPLOYEEPORTAL>

Thanks.

What version of Navision are you using?