BizTalk Server Orchestration - Use Of Unconstructed Message Error

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > January 2005 > Use Of Unconstructed Message Error





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 Use Of Unconstructed Message Error
fheinema

2005-01-13, 5:51 pm

This should be a simple thing to fix but I have not been able to figure it
out. I have a very simple orchestration, at this point, which just takes in
a message transforms it to the same message type then sends. We are just
manipulating some of the data within the map so the in and out schemas are
the same. I continue to get the "use of unconstructed message" error when I
attempt to build it. I have created the message in the orchestration view.
The receive port uses File Transport. The Receive Shape specifies the
message. I have a construct shape with a transform. The "Messages
Constructed" in the construct shape specifes the message. The transform
specifies the map and schemas. I do not know what else to do. I have looked
at the article Matt Meleski's .Net Blog - The ABC's of .NET
ASP.NET/ADO.NET/Biztalk 2004/C#
Constructing BizTalk 2004 XML Messages (In an Orchestration) - Choices
and it states that a port or map should take care of this error. I have
both. I am at a loss. Are there any settings that I am missing? I compared
this to the tutorial orchestrations that I have gone through and do not see
what I have missed. Any suggestions are appreciated. It seems like this
should be so simple.
--
Fred Heinemann
Richard Blewett [DevelopMentor]

2005-01-13, 5:51 pm

Have you accidently stated that you construct bother the new and original message in the ConstructMessage shape? You only need to specify the resulting message.

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

This should be a simple thing to fix but I have not been able to figure it
out. I have a very simple orchestration, at this point, which just takes in
a message transforms it to the same message type then sends. We are just
manipulating some of the data within the map so the in and out schemas are
the same. I continue to get the "use of unconstructed message" error when I
attempt to build it. I have created the message in the orchestration view.
The receive port uses File Transport. The Receive Shape specifies the
message. I have a construct shape with a transform. The "Messages
Constructed" in the construct shape specifes the message. The transform
specifies the map and schemas. I do not know what else to do. I have looked
at the article Matt Meleski's .Net Blog - The ABC's of .NET
ASP.NET/ADO.NET/Biztalk 2004/C#
Constructing BizTalk 2004 XML Messages (In an Orchestration) - Choices
and it states that a port or map should take care of this error. I have
both. I am at a loss. Are there any settings that I am missing? I compared
this to the tutorial orchestrations that I have gone through and do not see
what I have missed. Any suggestions are appreciated. It seems like this
should be so simple.
--
Fred Heinemann

fheinema

2005-01-13, 5:51 pm

That was it. Thank you for the help. I am still trying to pickup the basics
here. I guess that means that I have to create two Messages in the
Orchestration View even though the in and the out are using the exact same
schema?

"Richard Blewett [DevelopMentor]" wrote:

> Have you accidently stated that you construct bother the new and original message in the ConstructMessage shape? You only need to specify the resulting message.
>
> Regards
>
> Richard Blewett - DevelopMentor
> http://www.dotnetconsult.co.uk/weblog
> http://www.dotnetconsult.co.uk
>
> This should be a simple thing to fix but I have not been able to figure it
> out. I have a very simple orchestration, at this point, which just takes in
> a message transforms it to the same message type then sends. We are just
> manipulating some of the data within the map so the in and out schemas are
> the same. I continue to get the "use of unconstructed message" error when I
> attempt to build it. I have created the message in the orchestration view.
> The receive port uses File Transport. The Receive Shape specifies the
> message. I have a construct shape with a transform. The "Messages
> Constructed" in the construct shape specifes the message. The transform
> specifies the map and schemas. I do not know what else to do. I have looked
> at the article Matt Meleski's .Net Blog - The ABC's of .NET
> ASP.NET/ADO.NET/Biztalk 2004/C#
> Constructing BizTalk 2004 XML Messages (In an Orchestration) - Choices
> and it states that a port or map should take care of this error. I have
> both. I am at a loss. Are there any settings that I am missing? I compared
> this to the tutorial orchestrations that I have gone through and do not see
> what I have missed. Any suggestions are appreciated. It seems like this
> should be so simple.
> --
> Fred Heinemann
>
>

Richard Blewett [DevelopMentor]

2005-01-13, 5:51 pm

Absolutely. Even though the messages are of the same type they are in fact two different messages (as far as BizTalk is concerned all messages are immutable once they enter the messagebox). So you use an existing message as input and create a new message
of the same type.

Regards

Richard Blewett - DevelopMentor
http://www.dotnetconsult.co.uk/weblog
http://www.dotnetconsult.co.uk

That was it. Thank you for the help. I am still trying to pickup the basics
here. I guess that means that I have to create two Messages in the
Orchestration View even though the in and the out are using the exact same
schema?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com