Integrating ZWriter with my Application

Integrating ZWriter with my Application

Hi,

Im trying to integrate ZWriter inside my application in an IFrame using Remote API. 

I made a post call to   https://exportwriter.zoho.com/remotedoc.im   with output as "url" and got the reponse back.

Further i made another post call to https://exportwriter.zoho.com/editor.im?doc=<doc id>&top=true and passed the response inside the Iframe. However i just see the Loading image and nothing else.

On writing the response to a file i noticed the following

<button id="quickFixedView" name="docview" data="{'text':false,'appData':{'action':'Toolbar.switchView','params':'FixedView'},'label':'Fixed View','icons':{'primary':'ui-writer-toolbar<html>
<body><p><span> Error occurred while processing your request. Please write to us at :  </span><a href="mailto:support@zohowriter.com">support@zohowriter.com</a></p>
</body></html>

What am i missing. Is Zwriter not accessible inside an IFrame. 
I was succesful in opening ZWriter in a new Window but i want to have Zwriter inside my application so that i can provide navigation in my application to my users.