Execute multiple Biztalk 2004 messages from .NET

Home Page Forums BizTalk 2004 – BizTalk 2010 Execute multiple Biztalk 2004 messages from .NET Execute multiple Biztalk 2004 messages from .NET

#13826

Hi

I am using .NET component to execute a Biztalk 2004 rules policy which takes an input xml message and returns me updated xml message, as explained in Case A.

Case A:
Input xml with ID value:
<Emp>
<ID>1002</ID>
<Income/>
</Emp>

Output xml with ID and Income value:

<Emp>
<ID>1002</ID>
<Income>50000</Income>
</Emp>

Case B:
Input xml with IDs of multiple employees:
<Employees>
<Emp>
<ID>1000</ID>
<Income/>
</Emp>
<Emp>
<ID>1001</ID>
<Income/>
</Emp>
<Emp>
<ID>1002</ID>
<Income/>
</Emp>
</Employees>

Output desired:
<Employees>
<Emp>
<ID>1000</ID>
<Income>40000</Income>
</Emp>
<Emp>
<ID>1001</ID>
<Income>50000</Income>
</Emp>
<Emp>
<ID>1002</ID>
<Income>60000</Income>
</Emp>
</Employees>

My question is: How can I acheive the desired output using .NET components? I want to execute policy only through C# code and get back the result.

Please advise. Thanks in advance.

Pankaj[code:1:7ff55824ef][/code:1:7ff55824ef][code:1:7ff55824ef][/code:1:7ff55824ef]