Wednesday, November 07, 2007 10:24 PM
Sometimes when you're working, late at night, hunched over the BizTalk Schema Editor, things just don't seem to work right.
Case in point: right now.
I have a map with a section in the middle of it that looks something like:
<Project id="4">
<ContractId>GS1</ContractId>
<CustPO>DXXXXX</CustPO>
<ContractType>TM</ContractType>
<Owner></Owner>
</Project>
...
While working with the project containing this schema definition I started running into errors. Specifically, <ContractId> was okay, but <CustPO> seemed to be suddenly invalid. Messages start blowing up coming into the system.
The fix for this:
- open your offending schema definition with the editor.
- delete all of the nodes inside the record
- re-create all of the nodes you just deleted
- validate - now it works!
- redeploy 'new' schema definition and be on your merry way.
The schema in questoin does import a couple of definitions from a 'global' schema project, but <Project> isn't a part of any of those other than being part of the schema that uses the definitions...