BizTalk Server Orchestration - Instantiating a Message

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2004 > Instantiating a Message





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 Instantiating a Message
Gary

2004-03-25, 8:47 am

How can you instantiate a Message in an Assignment Shape?

I know that you can perform a Transform (with a Transform
Shape), to move the contents from one message type to
another....

I also know that you can you can assign one Message to
another of the same type (in an Assignment Shape)....

but how do I take a Message declared in the Orchestration
Viewer and instantiate it in an Assignment Shape, so that
I can set it's promoted/distinguished properties
individually.

Thank-you
John Plummer [MSFT]

2004-03-25, 12:54 pm

From Online Help (ms-help://BTS_2004/SDK/htm/ebiz_prog_orch_abfe.htm)

"You construct a message any time that you introduce a message into your
orchestration, either by receiving it or by assigning values to a message
variable. Any message that you construct must have a message type, so that
the runtime engine has a complete description of the object that it is
working with. The multi-part message type can be user-defined, it can be a
..NET class, or it can be a schema. You can construct messages in various
ways: you can invoke a .NET class to create a message, assign one message to
another, or use a transform to map certain values within a message to values
within another message. Messages are also constructed by a receive action or
when your orchestration accepts a message as a parameter."

So in your case, if you are not using a map or assigning the new message
from an existing message, then you need to use a helper class.

hth

--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm


"Gary" <anonymous@discussions.microsoft.com> wrote in message
news:132c301c41269$b76f0970$a301280a@phx
.gbl...
How can you instantiate a Message in an Assignment Shape?

I know that you can perform a Transform (with a Transform
Shape), to move the contents from one message type to
another....

I also know that you can you can assign one Message to
another of the same type (in an Assignment Shape)....

but how do I take a Message declared in the Orchestration
Viewer and instantiate it in an Assignment Shape, so that
I can set it's promoted/distinguished properties
individually.

Thank-you


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com