Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 7th, 2006, 09:56 AM
Registered User
 
Join Date: Jun 2006
Location: , , .
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


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Biztalk server 2004 schanda Biztalk 1 March 3rd, 2006 10:23 AM
question:biztalk 2004 subscription/orchestration pratdevil Biztalk 1 February 21st, 2006 04: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



All times are GMT -4. The time now is 04:47 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.