Previous Thread:   Custom Adapter Upgrade from 2004 to 2006 Error.

6/8/2006 5:58:02 AM    Custom flat file disassembler
Hi,  
  
In BizTalk 2006,  I've created a custom pipeline disassembly component,  
  
which takes a Zip file containing N files, decompresses the files into N  
  
streams and calls the flat file disassembler for each file using a different  
  
schema.  
  
i.e the zip file contains 7 different pipe separated messages.  
  
The decompression works fine, I end up with N files however I'm having  
  
trouble getting the flat file disassembler to work with the new messages I  
  
have created.  
  
In  
  
public void Disassemble(IPipelineContext pContext, IBaseMessage pInMsg)  
  
I  create a new FFDASM object for each file (is this right ?) and call  
  
zipMessage.disassembler.Disassemble(pContext, outMsg);  
  
My problem is in the GetNext() function, the call to disassembler.GetNext()  
  
fails with an excpetion and the event log shows  
  
"The Disassembler cannot retrieve the document specification using this name:  
  
"http://test_FF#test".  
  
The schema is in the BizTalk application and in the GAC  
  
I have created other custom pipeline components which work with a single  
  
stream and a flat file disasembler,  
  
I’ve used Reflector and looked at the BizTalk code, my objects seem  
  
configured ok, but I’m unable to trace exactly where my code fails inside  
  
BizTalk  
  
I'm missing some configuration of my objects I believe. Any clues ?  
  
Thanks.