BizTalk Server Orchestration - Error: Message has not been initialised in a construct statement.

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > July 2004 > Error: Message has not been initialised in a construct statement.





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 Error: Message has not been initialised in a construct statement.
Eva

2004-07-29, 7:50 am

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!



Mangi

2004-07-29, 8:07 am

I have the same problem.

"Eva" wrote:

> 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!
>
>
>
>

Mangi

2004-07-29, 5:50 pm

I have the same problem.

"Eva" wrote:

> 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!
>
>
>
>

Matt Milner

2004-07-29, 5: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!
>
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com