Another Correlation Question

Home Page Forums BizTalk 2004 – BizTalk 2010 Another Correlation Question Another Correlation Question

#12725

I wrote a simple two orchestration correlation demo to simulate a larger problem we were having at client.

So basically Orch-A sends a message, Orch-B receives it, remaps it, and sends it out, Orch-A should correlate on it based on an element in a SOAPHeader.

To simulate the client environment, all the ports (except the first activating file receive) use \”direct binding\”.

Orch-B has the following line of code in a message assignment after a map in a construct block:
msgServiceAgentCallResponse(*) = msgServiceAgentCallRequestIn(*);

That copies the SOAP Headers to the outgoing message, and I verified through tracing and HAT that the SOAP Headers are there and both the outgoing and incoming match the expected GUID using the BTSSubscriptionViewer.

So here’s the problem/question I have – if I don’t set any correlation in Orch-B, the messages don’t correlate. I have to use an \”Initalizing Correlation\” on the send shape of Orch-B to get it to work.

My thinking is that Orch-B should not require any knowledge of correlation, as it could theoretically be a web service, a Sharepoint file drop, or some human workflow.

Any ideas would be greatly appreciated.

Thanks,
Neal Walters
http://Biztalk-Training.com