I am having a flat file which I am trying to send it to my partner Via TN. Below is what I tried.
I am trying to use EDIINT send for this as I can have option of data encryption. I have created a processing rule which takes the flat file and calls the sendEDIINT service. First time when I route the flat file I am routing it using wm.tn.doc.ff:routeFlatFile service with SenderID, ReceiverID, DoctypeName and $contentType fields in TNParms. I see that processing rule it kicking off and I see the content too. It says that sendEDIINT service is called and completed too. But the next log it is doing to TN after calling sendEDIINT service gets Aborted and says ffdata is not found in the pipeline. In the sendEDIINT service I am taking input as bizdoc and Content from it can passing it to wm.EDIINT:send service. I see that All the inputs are passed to the wm.EDIINT:send service. Content is mapped to Stream in the input but I also tried to map it to ffdata and pass it as it was complaining tha ffdata is not found in the pipeline which was of no use.
Can I know if this approach is correct in the first place ? I tried to do direct Delivery By Preffered protocol in the processing rule which is sending the file but receing error as Client cannot recognize it without Header and also I cannot encrypt the data. If it can be done this way can I can anyone tell me what peice I am missing.