BizTalk Server Orchestration - Mapping two source schemas to one destination schema

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > March 2006 > Mapping two source schemas to one destination schema





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Mapping two source schemas to one destination schema
anetasalomonsen@hotmail.com

2006-03-10, 7:53 am

In my orchestration I have two schemas A and B. I would like to
construct a third message C wich I would like to contain some values
from A and some values from B.

I have tried to use a Construct-message-shape with two transform-shapes
: transform A-C and transform B-C. But the resulting C-xml ends up
containing values from B only.

I would appreciate any hints and tips on this issue.

Greg Forsythe

2006-03-10, 7:53 am

Add a Transform shape.
Select New Map and give it a name
Add both A and B messages to the Source
Add C to the Destination

When you click OK a new map is created and opened.
The source schema is a concatenation of the two input schemas defined
Complete the map as appropriate.

Greg

<anetasalomonsen@hotmail.com> wrote in message
news:1141983108.587457.37450@i39g2000cwa.googlegroups.com...
> In my orchestration I have two schemas A and B. I would like to
> construct a third message C wich I would like to contain some values
> from A and some values from B.
>
> I have tried to use a Construct-message-shape with two transform-shapes
> : transform A-C and transform B-C. But the resulting C-xml ends up
> containing values from B only.
>
> I would appreciate any hints and tips on this issue.
>



BA

2006-03-10, 7:53 am


You should be using a multi-part map.

In BizTalk you can map A+B >> C directly within one mapping.

What you need to do is this:

-add a transform shape
-In the source schemas add BOTH your schemas
-Choose your destination schemas
-Make sure the radio button that lauches the mapper is selected
-Make sure your map is named the way you want it

Once you complete those steps you'll have the mapper open and you should
see both your source schemas on the right side. From there you can map and
should see the result of both input messages on the output.

BA
http://biztalkia.blogspot.com



> In my orchestration I have two schemas A and B. I would like to
> construct a third message C wich I would like to contain some values
> from A and some values from B.
>
> I have tried to use a Construct-message-shape with two
> transform-shapes : transform A-C and transform B-C. But the resulting
> C-xml ends up containing values from B only.
>
> I would appreciate any hints and tips on this issue.
>



Suneet

2006-03-11, 7:47 am

Hi,

when i create mapper. Source Schema link allows me to add only one
schema.
How can i add both A abd B schemas at the same time.

Suneet

2006-03-11, 7:47 am

Hi,
How do you create multipart map in 2004 version?

Greg Forsythe

2006-03-11, 5:50 pm

Add a Transform shape.
Edit Transform shape properties
Select New Map and give it a name
Add both A and B messages to the Source
Add C to the Destination

When you click OK a new map is created and opened.
The source schema is a concatenation of the two input schemas defined
Complete the map as appropriate.


"Suneet" <suneetmohan@gmail.com> wrote in message
news:1142071013.292364.199800@e56g2000cwe.googlegroups.com...
> Hi,
>
> when i create mapper. Source Schema link allows me to add only one
> schema.
> How can i add both A abd B schemas at the same time.
>



anetasalomonsen@hotmail.com

2006-03-13, 7:49 am

Thanks a lot for the replies!
I actually found out how to solve my case prior to your answeres.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com