Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
|
Biztalk General discussion about Biztalk server.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Biztalk section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 7th, 2006, 09:56 AM
Registered User
 
Join Date: Jun 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Execute multiple Biztalk 2004 messages from .NET

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







Similar Threads
Thread Thread Starter Forum Replies Last Post
Biztalk server 2004 schanda Biztalk 1 March 3rd, 2006 11:23 AM
question:biztalk 2004 subscription/orchestration pratdevil Biztalk 1 February 21st, 2006 05:11 AM
Query regarding BizTalk 2004 debsoft Biztalk 0 August 2nd, 2005 12:53 AM
Pipelines and ports for Biztalk 2004 PeterMathro Biztalk 0 May 14th, 2005 05:06 PM
problem with caracter > and biztalk 2004 pilar Biztalk 0 September 2nd, 2004 06:46 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.