“It is the external ID types that dictate our shell game. Since WmEDIforTN uses these to determine the appropriate qualifiers for inbound and outbound X12 envelopes, each must be unique.”
Yes, that is a limiting factor.
“I think TN was recognizing each common ISA ID as a single profile and not able to drill down to the GS as the true identifier.”
I haven’t done this myself, but it is indeed supposed to be possible to route/process based on the GS identifiers instead of the ISA.
As for the TPA (just to make sure we’re on the same page and for other readers that may not be familiar with TPAs), there can be one TPA instance per partner connection per direction. For example, ABC to XYZ and XYZ to ABC. If one doesn’t exist and an interchange for ABC to QRS comes in, the Default TPA is used.
During enveloping, if you want to use the values from the TPA you have to get them yourself. There isn’t any automatic use of TPAs in the enveloping services. They are used by EDI for TN when an interchange is presented to TN for processing to determine splitting, FA generation, etc.
What I’ve done in a couple of places is to “reserve” the Default TPA for “inbound” traffic only. E.g. same TPA used for docs from the 50-100 partners to me. Then use partner specific TPAs for docs to be sent to the partners. This cuts down on the number of TPAs needed (half as many, ideally). If a particular interaction for inbound docs needs to behave differently from the Default TPA, then I created the partner-specific TPA as needed.
If you’re talking about creating your IS doc type that extends wm.b2b.editn.TPA:EDITPA, that’s a bigger monster. EDI for TN won’t be able to use any custom TPA (I think the doc type used is hard-coded but I may be wrong). Is that what your question is about?
#B2B-Integration#Integration-Server-and-ESB#webMethods