Let me make sure I understand:
- Service A gets an XML document with some data.
- Service A retrieves additional data from somewhere.
- Service submits the XML document and the additional data to TN for delivery.
If my understanding is correct, might I suggest an alternate approach?
- Service A gets an XML document with some data. We’ll call it doc type X.
- Service A retrieves additional data from somewhere.
- Service A populates a new document, doc type Y, with data from the original document and the additional data.
- Service submits the document of doc type Y to TN.
With this, no custom attributes are needed. All the data is within the basic document to be delivered by TN.
If you want to keep a record of the original document in TN:
- Document submitted to your gateway service. Pass that to TN.
- TN configured to invoke you Service A.
- Service A creates a new document from the submitted document and the data retrieved from whereever.
- Service A submits the new document (doc type Y) to TN for processing.
- TN configured to deliver.
This way you have a record of what came in and what went out.
Will this fit what you need to do?
#Integration-Server-and-ESB#B2B-Integration#webMethods