Use of unconstructed message

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Use of unconstructed message

Viewing 1 reply thread
  • Author
    Posts
    • #24744

      I really dont understand why it says that my  message is unconstructed and what I do wrong.

      1) Inside a Decide-shape I’ve got a transform-shape inside a message constructed shape. My transform maps message A to message B. I have checked message B as message to be constructed.

      2) Then I’ve got a loop which contains another message constructed shape with a transform shape and a message assigment shape. I’ve checked message D to be constructed.

      2a) The transform maps message C to message D.

      2b) My message assigment shape is a bit more complex: Message B is a multipart messagetype with distinguished fields. In this shape I set some values (simple strings) on these fields. Also, I call a .NET method which takes message B as input parameter and returns a string value back which I set on a distinguished field on my message D.

      When i compile this orchestration i’ve got an error in my message assigment shape (2b) saying “use of unconstructed message B”.?? But message B is the input to my .NET method, and it is already constructed in 1). Why can I not use it after the message is constructed?

    • #24745

      Hi!

      FYI, I found my answer for this!

      The problem was that i constructed my message B inside a Decide-shape, in only one of its branches. Of course I can not use my message B after my decide-shape without doing the construction in all the branches:)

       

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.