Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
GeneralRe: please forgive me for i know this is basic but i simply don't know how to add stuff a list like this Pin
tonyonlinux18-Feb-10 9:19
tonyonlinux18-Feb-10 9:19 
NewsBookStore GPLv3 Project Pin
User 691845417-Feb-10 14:22
User 691845417-Feb-10 14:22 
GeneralRe: BookStore GPLv3 Project Pin
Not Active17-Feb-10 14:50
mentorNot Active17-Feb-10 14:50 
GeneralRe: BookStore GPLv3 Project Pin
Mycroft Holmes17-Feb-10 17:15
professionalMycroft Holmes17-Feb-10 17:15 
GeneralRe: BookStore GPLv3 Project Pin
User 691845417-Feb-10 17:35
User 691845417-Feb-10 17:35 
GeneralRe: BookStore GPLv3 Project Pin
Anubhava Dimri17-Feb-10 17:37
Anubhava Dimri17-Feb-10 17:37 
Questioncustom pipeline - biztalk 2009 - how to loop through Ibasemessage.bodypart Pin
challa_praveena17-Feb-10 13:02
challa_praveena17-Feb-10 13:02 
AnswerRe: custom pipeline - biztalk 2009 - how to loop through Ibasemessage.bodypart Pin
Mirko198017-Feb-10 22:48
Mirko198017-Feb-10 22:48 
This format is simply an XML file.

To manipulate the message body into a BizTalk pipeline, you have to change the BodyPart of your message object to another stream you populate with modified data.


Essentially, you must do the following in the component Execute method:

1. Save the original BodyPart value in a variable (e.g. origBody)
2. Assign a new instance of VirtualStream to the BodyPart property
3. Create an XmlReader from origBody
4. Create an XmlWriter to populate the new BodyPart stream
5. Loop through the nodes using the XmlReadr and write data to the XmlWriter according to your logic.
6. Return the modified message.

Still, if you only want to translate a message to a schema to another I strongly suggest you to create a Map and apply it to your receive port. You can implement your translation logic more easily by using the BizTalk map designer or a custom XSL transform.
QuestionMessage Removed Pin
17-Feb-10 11:38
JimBob SquarePants17-Feb-10 11:38 
AnswerRe: Trouble deleting items using generic xml provider. Pin
AspDotNetDev17-Feb-10 12:11
protectorAspDotNetDev17-Feb-10 12:11 
QuestionTreeView Pin
mbangh17-Feb-10 10:58
mbangh17-Feb-10 10:58 
AnswerRe: TreeView Pin
PIEBALDconsult17-Feb-10 12:09
mvePIEBALDconsult17-Feb-10 12:09 
GeneralRe: TreeView Pin
mbangh17-Feb-10 15:02
mbangh17-Feb-10 15:02 
AnswerRe: TreeView Pin
Dan Mos17-Feb-10 17:16
Dan Mos17-Feb-10 17:16 
GeneralRe: TreeView Pin
mbangh18-Feb-10 4:15
mbangh18-Feb-10 4:15 
GeneralRe: TreeView Pin
Dan Mos18-Feb-10 9:59
Dan Mos18-Feb-10 9:59 
QuestionSqlite with c# unsigned long problem Pin
abhinish17-Feb-10 8:09
abhinish17-Feb-10 8:09 
AnswerRe: Sqlite with c# unsigned long problem Pin
Dimitri Witkowski17-Feb-10 9:03
Dimitri Witkowski17-Feb-10 9:03 
GeneralRe: Sqlite with c# unsigned long problem Pin
abhinish17-Feb-10 19:14
abhinish17-Feb-10 19:14 
GeneralRe: Sqlite with c# unsigned long problem Pin
Dimitri Witkowski17-Feb-10 19:29
Dimitri Witkowski17-Feb-10 19:29 
GeneralRe: Sqlite with c# unsigned long problem Pin
abhinish17-Feb-10 22:46
abhinish17-Feb-10 22:46 
QuestionShell Extention Pin
aurelcly17-Feb-10 6:44
aurelcly17-Feb-10 6:44 
AnswerRe: Shell Extention Pin
Keith Barrow17-Feb-10 6:53
professionalKeith Barrow17-Feb-10 6:53 
QuestionWindows Application Management Pin
Ankur .K. Vishwakarma17-Feb-10 6:35
professionalAnkur .K. Vishwakarma17-Feb-10 6:35 
AnswerRe: Windows Application Management Pin
Keith Barrow17-Feb-10 6:43
professionalKeith Barrow17-Feb-10 6:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.