I created a BizTalk solution that receives and XML file, sends it to a SQL adapter. The SQL adapter adds data from the XML file to a SQL database and returns the unique ID of the recently added table entry to BizTalk.
I need to update the original XML document (sent to the SQL adapter) with the ID returned from the SQL stored procedure but was told that the XML message cannot be changed after it enters the BizTalk message box.
I am very new to BizTalk and need help selecting the best solution for my problem. For example, can the XML message be copied by an orchestration and updated the the SQL generated ID, then placed in a folder where the calling application can pick it up. Or, do I have to call a Fetch routine (i.e.orchestration) immediately after the the SQL routine is completed? Or…please make a sugestion – thanks.