An EDI doc(210) is sent to the TN and i have generated the FA using the generateFA service and i want to deliver it to the Trading Partner.what is the logic that has to be included to deliver it to the Trading partner which has sent the 210 EDI document.
The logic would be the same as you use to deliver any other EDI document.
You would set up a processing rule for the outbound 997 to invoke a service or queue it up, etc. The details will vary depending on the interface mechanism for each trading partner.