Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Import Multiple Schemas in Map
- This topic has 2 replies, 1 voice, and was last updated 9 years, 1 month ago by
community-content.
-
AuthorPosts
-
-
February 5, 2007 at 11:41 PM #17573
Hi,
I have a requirement like this.
I have to create 3 source schemas. I have to extract information from these and should generate one destination message out of these, so destination is one schema. How can I achive this by using Map?
Please suggest.
Regards,
Sasidhar
-
February 6, 2007 at 3:55 AM #17576
Sasidhar,
By your explanation I understand that you need to make a destination message from multiple schemas in mapper of BizTalk. You cannot open multiple source schemas when you make a map file, can open only one. The work around to this is, drop a transform shape in an orchestration, double click it to launch Tranform Configuration, Give the map an appropriate name, Leave the default checked New Map, In the Source Schema, choose all the source schemas you want, select the destination schema, there is a check at the bottom (Launch mapper when I click OK) leave that checked and click ok, You'd be presented with a mapper file with all the selected source schemas and one destination schema. From now onwards you can delete that shape from orchestration as your map is in-place.
Hope that helps,
Regards,
Sajid.
-
February 6, 2007 at 3:53 PM #17581
I have used the same approach that Sajid has explained. What I have found though, is that the map often can't be moved after creation without breaking it. For example:
- I create a new map using the approach above that takes two source schemas.
- The map is created in the main directory of the BizTalk project.
- Within the project, I am keeping all map files in a directory named 'Maps'. I move the new map into this directory.
- When I build the project, I get an "This map contains a reference to a schema node that is not valid. Perhaps the schema has changed. Try reloading the map in the BizTalk Mapper…" exeption.
- I reload the map in the BizTalk Mapper and find that one of the source schemas is empty thus the links to it are broken.
Can anyone offer any suggestions here?- Is there a way to specify which directory the map gets created in?
- Should I leave the map in the directory where it gets created?
- Is this an issue with one of the source schemas, as only one of them is breaking?
Thanks in advance,Ryan.
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.