Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Error handling and message constructing problem
- This topic has 3 replies, 1 voice, and was last updated 9 years, 4 months ago by
community-content.
-
AuthorPosts
-
-
November 8, 2007 at 12:22 AM #18364
Hello, I am unable to solve the following problem: In my long running orchestration in a parallel action shape I receive three different correlating messages from three different ports. Because of the possibility one of the messages could be missing I put this parallel action shape into a scope and added error compensation, catching a timeout exception. The problem is: The moment the catch block starts, no existing messages can be used to trigger mapping. In the compensation block I construct an XML message with a simple string in it. Normally I use a transform shape for mapping. Because of the missing message at this point I’m forced to use message assignment, but I can’t seem to get it to work. No matter what I write, when building the project I always get an “Unconstructed Message”-error even though I did construct exactly the message I was trying to modify (write a string into the only existing node).
This seems like a simple problem, but I just can’t get around it. Can anyone help me with this ?
Thanks in advance, Michael
-
November 12, 2007 at 5:12 AM #18391
Hello again,
I still couldn’t solve my problem. To put it simple, I want to send a special message whenever a timeout occurs while receiving one of many messages in a parallel shape. I don’t know how to initialize this special message without anything to “start” it. That’s because in the catch block none of the “parallel” messages from the preceding error scope exist.
Has anyone done this yet ?
Regards, Michael
-
November 12, 2007 at 8:03 AM #18393
Check out Matt Meleski’s blog which discusses your options when creating a new message from scratch:
http://objectsharp.com/cs/blogs/matt/archive/2004/11/09/1009.aspx
-
November 13, 2007 at 6:31 AM #18404
Yes ! Finally It works – thank you so much ! Additionally I stumbled over an incredible mass of info I couldn’t find ’till now. Because of the link in your answer I could complete a (test-) project that was very important to me.
Thanks again, Michael
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.