Geeks With Blogs
Solution Architecture, Strategy eCommerce and Omni Channel Thought at the end of the day

Here is something I’m sure I’ll come across again. So this is a note to self (I’m very forgetful), and a little helper if anyone out there gets the same issue.

 

If you have multiple messages in your BizTalk map ( if you don’t know how then Google for “biztalk map multiple schema”), and then you need to update one of the messages’ schema, the schema in the source pane does not show the add fields! I think this mainly happens if you update the schema of the second, third, etc but not for the first message (The one that has the ns0 prefix).

 

The simplest way to correct this is to open the map in another editor, say the HTML/XML editor, or notepad if you are feeling lucky! Then fine the “import” lines. The should look like this:

 

<xs:import schemaLocation="..\schemas\[[FileName]].xsd" namespace="http://YourNamespace\Whatever1"/>

<xs:import schemaLocation="..\schemas\[[FileName]].xsd" namespace="http://YourNamespace\Whatever2"/>

<xs:import schemaLocation="..\schemas\[[FileName]].xsd" namespace="http://YourNamespace\Whatever3"/>

 

Depending on the number of imports you have in your map, you should have a few of these. All you have to do is swap them around, save the map file and reopen it in the BizTalk editor. By swapping them around I mean move the import line using cut and paste. This seems to “magically” refresh the map file. I know! Sad but true!

Posted on Friday, February 24, 2006 2:38 PM About BizTalk | Back to top


Comments on this post: Multiple source messages in BizTalk maps and updating schemas schemas don’t refresh

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Tamer Shaaban | Powered by: GeeksWithBlogs.net