Friday, February 10, 2006

Little Known Bug (BizTalk Envelope Schemas)

There is a little known bug in BizTalk 2004 when it comes to mapping schemas to a destination schema that is marked as an envelope schema.  This issue is only seen when trying to apply the map in a port.  There is always the work around of creating an orchestration to apply the map in.  The situation I was in this week was that we had 10 other projects that contained schemas that needed to be mapped to the envelope schema.  So to solve this issue I created a separate project that contained a copy of the envelope schema, with this copy I removed the envelope schema property and then with this new project I created a referenced from my other 10 projects and then completed my maps and then applied them on the send ports.