|
Home > Archive > BizTalk Server General > June 2006 > "Unparsed Interchange"
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 |
"Unparsed Interchange"
|
|
| Anil Kripalani 2006-06-29, 1:17 pm |
| I have created a pipeline with a customer Decoder. After the decoder I run
the standard Flat file disassembler. Then, of course, an orchestration is
supposed to pick up the message. The issue I have is that the Orchestration
is never starting. I have no idea why.
I have verified that my custom decoder code is running (and even written the
MemoryStream to a file to verify its contents). I'm not sure if the
disassembler is running or not. Here's the code at the end of the decoder's
Execute method:
inmsg.BodyPart.Data = myOutStrm;
pc.ResourceTracker.AddResource(myOutStrm);
return inmsg;
The HAT reports an "Unparsed Interchange" message.
Anyone have any ideas on how to debug this issue? What am I missing?
Thanks,
Krip
| |
| Anil Kripalani 2006-06-30, 1:19 pm |
| Fixed it! You must rewind the streams at end of the decode stage, before
the next stage will run. Sample code:
// rewind both streams!
strmIn.Seek(0, SeekOrigin.Begin);
myOutMemStrm.Seek(0, SeekOrigin.Begin);
Thanks to Gilles for the tip:
http://groups.google.co.uk/group/mi...82465e8c43b067e
-Krip
|
|
|
|
|