07-29-04 10:50 PM
There are several ways to create a schema based message in an orchestration
1) use a transform shape and map to it from another message you have
received/created
2) load an xml document with a valid instance of your message and then
assign the xmldocument to the message
3) assign to your message from another message of the same schema type.
4) create a message or xmldocument in a .Net component and return it to be
assigned to your message.
Matt
"Eva" <Eva@discussions.microsoft.com> wrote in message
news:658201c4755d$88eda320$a401280a@phx.gbl...
> Hallo, can somebody help?
> I would like to create a new message in my orchestration.
>
> I use ConstructMessage and MessageAssign shapes.
> I defined the message by the ConstructMessage property,
> what I would like to create (myMessage).
>
> In the MessageAssign shape I set all of the Values of this
> message.
> MyMessage.ID = "5";
> MyMessage.status = "status1";
>
> But I got the error:
> Message has not been initialised in a construct statement.
>
> How can I construct a new message? myMessage = new (?)
> (The MessageType is a simple shema: myShema).
> Thanks!
>
>
>
[ Post a follow-up to this message ]
|