Multiple rootnodes in one schema in BizTalk 2004
BizTalk 2004 allows you to have multiple rootnodes in one schema. I thought that this was a nice way to capture a contract having multiple messagetypes in one document, so I use this in my current project. Since BizTalk identifies a messagetype by it's namespace/rootnode combination, I didn't really expect any problems with that.
But I just keep on running into issues that makes me wonder. The latest one I discovered just now.
I receive all message through the same receiveport and I want to map those messages to some central datamodel. Turns out that I can't. As soon as I specify one of the maps, the other ones dissappear from the list! Incredible. And I had more of such issues. I don't have the time to dive in now, but I hope to blog about those soon as well.
I just wonder if I misunderstand the value of multiple rootnodes and I shouldn't be wanting this or my approach in itself is good, but BizTalk is limited (and if so I like to know why). Any comments very appreciated.