08-30-04 10:55 PM
Hi,
I have a set of orchestrations responsible for taking an order and
fulfilling it. These orchestrations are chained using direct, message-box
ports. The first orchestration receives a customer payload and transforms i
t
into a standard order payload. The second orchestation receives this order
payload and delivers it to appropriate fulfillment systems. Another
orchestration is responsible for receiving fulfillment responses and
delivering results.
The issue is that I have some metadata (like security credentials,
correlation ids, etc.) that I need to pass along to all of these
orchestrations. I don't want to modify the schema of the payloads to add
this metadata. What is the best way to pass this data? One option I've
found is to create an envelope schema that would contain the metadata in the
Header section and the payload in the Body section, but it seems like there
should be a better way? Can we pass arbitary .NET objects between
orchestrations in addition to the XML payload?
Thanks,
Don Tian
[ Post a follow-up to this message ]
|