How to invoke tn:receive service using pub.client:http

Currently we send BizDoc to partner by invoking service.
However, we don’t plan to use TN on our side while the partner still uses TN to accept msg from us.
We cannot use tn services or BizDoc.
So, I was thinking we could use pub.client:http service and provide the url to invoke
The receive service takes a node and TNParams as input.

I tried converting BizDoc into string and to node and map it to the tn:receive’s node argument.
I got 200 http response, but the body content had “Bad Request” message.

What xml format (before converting to node) does the tn:receive expect in order to successfully process the request?

you can send the actual xml message content as http post using pub.client:http. no need of using bizdoc etc.