Re: Binary message creation in BizTalk Server

From: Christof ("Christof")
Date: 05/03/04


Date: Mon, 3 May 2004 22:12:54 +0200

Arun,

take a look at this piece please:
Public Sub CreateMyMessage(ByVal mydestmsg As XLANGMessage)
                           mydestmsg(0).LoadFrom(New MyStreamFactory("this
is my binary test data to construct message from"))

The XLANGMessage "mydestmsg" variable here is just an orchestration message.
Just call this method in an construct message shape and pass an
orchestration message as the parameter. XLANGMessage has a method
"LoadFrom", which allows it to be constructed programmatically.

Don't know whether this scenario will allow you to do unit testing, since I
believe you need the orchestration runtime. Let me know if things still
aren't clear please.

Best regards!
Christof

"Arun" <anonymous@discussions.microsoft.com> wrote in message
news:3D182AA3-4306-446A-80A1-983D91F27A89@microsoft.com...
> In my CreateMessage method, I need to pass a XLangMessage variable.
>
> How will I pass this and do a unit testing with a client application?
>
> I could not find much info in MSDN also
>
> Help needed
>
>