Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Schema Reuse with Records and "Data Structure Type"
- This topic has 1 reply, 1 voice, and was last updated 9 years, 10 months ago by
community-content.
-
AuthorPosts
-
-
November 14, 2007 at 3:38 PM #18427
I am re-recording my training videos using BT2006 R2 which I just installed Friday. I apologize for reposting this in BT2006, but I have not got any responses in the BT2006 R2, and I don’t know if this is a problem with R2 or if I am just doing something dumb. I know I’ve done this technique before and it has worked fine, but I can’t get it to work today on R2.
I’m doing a straight forward demo that I have done many times before in prior releases.
1) Created POAddress.xsd
2) Go to POSchema.xsd
3) Click on “Properties” then “Imports”.
4) Default – Import new schema as “XSD Import”, then added my POAddress schema (from same project) and changed default namespace to “addr”.
5) Added a “record”, set the “Data Structure Type” of that record “addr:POAddress”.
6) The record name in the GUI tree structure now shows “addr:POAddress” but the PROBLEM IS that I CANNOT RENAME IT.Am I missing something obvious here, or did R2 change the way imported schemas work?
When I right click on the record name “addr:POAddress” the “rename” option is dimmed (grayed out).
Likewise, if I go to “nodename” in the properties window, I cannot overtype it.I want to have two records “shipTo” and “billTO” that both conform to the POAddress schema.
-
November 29, 2007 at 9:05 AM #18529
I got an answer from MS Community Newsgroup. I’m still trying to determine if this was a change from 2004 to 2006 or not, or maybe in R2.
————————————————————————————–
1, Select the root node in POAddress.xsd2, In the Properties window, type a name in the Data Structure Type list
that will be used as the global name for the complex type, such as
“POAddressType” and then press ENTER.3, In POSchema.xsd, Added a “record”, set the “Data Structure Type” of that
record
“addr:POAddressType” instead of “addr:POAddress”.Then you should rename it as you like.
Kerrey
http://blogs.msdn.com/kerreybpiNeal Walters
http://Biztalk-Training.com
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.