Tuesday, December 15, 2009

Issues with Simple Type Definition

Yesterday afternoon I was working on my BizMock demo when I tried to validate a schema using the BizMock test (I know it is redundant now that BTS supports schema tests).  I got a very strange error  (System.Xml.Schema.XmlSchemaException) The content type of the base type must not be a simple type definition."

Huh?  My schema already passed using BizTalk's out of the box testing.  Did I mess up my artifacts? Doesn't look like it.

Time to check Bing.  I found these two links (I found 3 but suspense is good for the plot).

http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/1f7a3d32-2f31-4426-afe2-2a50b0792b46
http://support.microsoft.com/kb/957206

Wow, both of these have to do with a hotfix for .Net 1.1 - Do I really need these, and how do I get them anyways.
I think not, because I found this 3rd post by a colleague of mine Danile Sepp http://blogs.neudesic.com/blogs/daniel_sepp/default.aspx

In it he talks about a work around for dealing with Simple Types - I had to manually build an OTA schema which was no fun, but at least my testing now works.  It is strange that if this is a bug of sorts, that the BizTalk testing framework didn't find it, but a 3rd party testing framework did.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home