Priya:
Hello rmg,
Thanks for your quick reply. I have preserved "custom document " in wrapper service which sends an EDI data to TN since below fields are required in processing rule service to update the DB status for each transaction.
- requestID(unique Id for each transaction. ie its same like UUID). you may call it as transactionId too…
- SenderID
3.ReceiverId
fyi, requestId is nowhere related to TN transaction. Purpose of requestId are:
1.requestId is for tracking each transaction in database.
2. requestId is the primary key in database and its maintains the transaction details in DB.
Flow:
-
Wrapper service sends an edi data to TN
i) consider we have 855 edi document and we are sending the same to TN and doc structure is
ii) edidata has formed with all Segments (without header details since header document is for internal purpose and not to be sent to partner)
iii) preservation of doument/string has done to Header document and edidata respectively. The reason for preserved header document is to carry the requestId in processing rule service to update the Status of transaction.
iii) used tn:receive service to send an edidata to tn
-
Processing rule service
i) bizdoc is coming with all required documents and i can manipulate the edidata.
ii) used ediint:send service to send an edi data to defined partner for AS2 connection.
iii) herewhere i required requestId (exists under preserved header document) to track status of partner delivery details in database.
As per my understanding, preserved documents/string should be there as a pipeline data in processing rule service when the execution mode is synchronous.
will the execution mode change to Async when AS2 connection is involved?
Hope I am clear enough to provide required information. Please suggest me on getting a custom document in processing rule service when the connection is AS2.
#edi#Integration-Server-and-ESB#webMethods