Issues with TN deliver

I’m trying to deliver an xml document via Trading Networks. Protocol :HTTPS. There are no certificate issues. The xml format is non edi and client specific. However receiver is not able to read the document.
And I’m getting an error response from the client.

I tried to send the same doument through pub:client:http flow service and I was getting the same error response. However when I changed the loadAs parameter to the value stream , I got a valid response.
How do I do it through TN?

What is the error message you’re encountering? Describe the exact steps you’re following.