07-29-04 12:50 PM
Raj,
There are 2 parts to your question:
how to call a C# class from inside of an orchestration, see the methodcall
sample in the sdk
C:\Program Files\Microsoft BizTalk Server
2004\SDK\Samples\Orchestrations\MethodCa
ll
how to pass the incoming message to that is:
create a variable in the orchestration view window of type
System.Xml.XmlDocument
create a variable in the orchestration view window of type System.String
then use the code below
xmlDoc = (System.Xml.XmlDocument) MessageIn;
strDoc = xmlDoc.OuterXml;
you now have the xml document in a string that you can pass to your C#
method.
Bill Chesnut
BizTalk MVP
"Raj" <Raj@discussions.microsoft.com> wrote in message
news:C681E0AF-384F-4964-8474-AA69AAD4411D@microsoft.com...
> Hi,
> How do I allow my orchestration to pass the incoming message to another c#
class which is part of the project?
> None of the items under biztalk orchestration allows me to do that!
> :-(
> Raj
[ Post a follow-up to this message ]
|