Hi Sasanka,
I had a similar requirement and ended up creating a “header” component to which Sender, Receiver, and a few other attributes are mapped. So the document posted to TN contains the custom header followed by the original XML. The TN order XML document type is configured to extract the header values from the resulting XML in order to determine Sender and Receiver.
In configuring the TN XML document, you select one of the built-in transformations (we use User Defined 1) to derive the TN sender and receiver profiles from the XML values.
Mapping values to TN_parms did not work for me (at 8.2) for routing XML documents.
#Integration-Server-and-ESB#B2B-Integration#webMethods