Error: Message has not been initialised in a construct statement.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Error: Message has not been initialised in a construct statement.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Error: Message has not been initialised in a construct statement.  
Eva


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-04 12:50 PM

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 ]



    RE: Error: Message has not been initialised in a construct statement.  
Mangi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-04 01:07 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!
>
>
>
>





[ Post a follow-up to this message ]



    RE: Error: Message has not been initialised in a construct statement.  
Mangi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-29-04 10: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!
>
>
>
>





[ Post a follow-up to this message ]



    Re: Error: Message has not been initialised in a construct statement.  
Matt Milner


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:31 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register