The problem is that I don’t get a handle on the bizdoc before the TN engine does its pre-processing (before even the processing rule). The only service that can possible get invoked is the transformation service. That transformation service only gets the xquery in “values”, isArray and arg (wm.tn.rec:StringAttributeTransformService).
One way I could do this is by parsing every different XML structure before I route to TN and identify the sender and receiver ID. But this will be a nightmare as there are many different XML documents being exchanged.
#Integration-Server-and-ESB#webMethods#B2B-Integration