EDI VAN Reports

I’m trying to get TN recognize an OrderNet VAN report.
I’m doing a streamToBytes, bytesToString, I then map the output to string variable in data record in ftp. I set the content-type to text/xml. I can then view the document content in TN and see my report but am unable to get TN to recognize it.

If I set the content-type to text/plain nothing shows up in TN.

I’ve also tried adding stringToDocument, documentToRecord, and recordToDocument after the bytesToString. This gets me an xml document with all the white space removed from the report therefore making it unreadable.

The goal is to have the report recognized by TN and be able to view the formatted report in TN under view document.

Looking for ideas.