BizTalk Server - Message Passing to an Assembly. How to do it.

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > October 2004 > Message Passing to an Assembly. How to do it.





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Message Passing to an Assembly. How to do it.
Eduardo Sobrino

2004-10-15, 9:11 pm

I have not been able to find any information on how I pass a message from an
orchestration into a "Method Call" the samples in Bt SDK don't provide such
sample. The idea is to get some info from the message and react upon it on
an external method on an assembly. Can anyone point me to one (or more), or
can provide one?

Help is appreciated.




Gilles [MSFT]

2004-10-15, 9:11 pm

Hello,

>I have not been able to find any information on how I pass a message from an
>orchestration into a "Method Call" the samples in Bt SDK don't provide such
>sample. The idea is to get some info from the message and react upon it on
>an external method on an assembly. Can anyone point me to one (or more), or
>can provide one?


Perhaps this page is what you need: http://msdn.microsoft.com/library/d...g_orch_btam.asp
You should pass messages as XLANGMessage:

MyMethod(XLANGMessage myMsg)
{
XLANGPart myPart = myMsg["Part1"];
XmlDocument xmlDoc = (XmlDocument) myPart.RetrieveAs(typeof(XmlDocument));
}

Thanks,
-Gilles.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com