Monday, July 13, 2009

Message Construction inside Orchestration

1. In the Orchestration View Create a variable of System.XML.XMLDocument
2. Add a construct shape with message assignment to the orchestration
3. Set the Message Constructed property
4. Inside the Message Assignment, Use the xmldocument variable as shown in the below example
varXMLDom.LoadXml(@"<ns0:OrderInfo xmlns:ns0=""http:// Construction.OrderInfo"">
<A>1</A>
<B>2</B>
<C>3</C>
</ns0: OrderInfo >");
Msg1 = varXMLDom;

5. Now you are ready to send the Msg1 to the send port.

HTH

No comments:

Post a Comment