Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Port Mapping and multiple Maps with the same source schema
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Dan Rosanova  
View profile  
 More options Dec 18 2008, 4:11 pm
Newsgroups: microsoft.public.biztalk.general
From: Dan Rosanova <dno...@gmail.com>
Date: Thu, 18 Dec 2008 13:11:10 -0800 (PST)
Local: Thurs, Dec 18 2008 4:11 pm
Subject: Port Mapping and multiple Maps with the same source schema
BizTalk doesn’t allow multiple maps with the same source schema to be
mapped at the port level and I really want to do this.  Can anyone
help me figure out how to or why I shouldn’t?  Let me explain.

Say I have an Orchestration that communicates several times with a
service (or Database for that matter).  Each request has a different
message type as does each response.  Since I don’t like to let
external dependencies get into my applications I always make (nearly)
matching internal schemas and map at the port anyway.  But this leaves
me still mapping in my Orchestration (to get to my internal format).
I just don’t really like this and when I do it I put these maps in an
Internal Maps project to separate them out from internal to external
maps (I’m picky about dependencies:
http://www.novaenterprisesystems.com/Blog/post/BizTalk-Visual-Studio-...).

Basically I’d like to be able to send a canonical message out from the
Orchestration and be able to drive the mapping on the Operation.  I’ve
thought about using a pipeline for this, but then I need to setup a
place to store these operation-to-map configurations and I need to
execute the map, which seems fraught with danger (lot’s of smart
people spent a lot of time to make it work right, I don’t want to mess
it up).  This just leads to more layers and it keeps getting deeper.
The only easy solution I’ve seen is to use a different port for each
request and then use a map in each, but I don’t like having many ports
that all lead to the same service.

Anyone have any ideas?

Kind Regards,
-Dan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Rosanova  
View profile  
 More options Dec 23 2008, 10:47 am
Newsgroups: microsoft.public.biztalk.general
From: Dan Rosanova <dno...@gmail.com>
Date: Tue, 23 Dec 2008 07:47:41 -0800 (PST)
Local: Tues, Dec 23 2008 10:47 am
Subject: Re: Port Mapping and multiple Maps with the same source schema
Why does no one answer my posts :(  I spend so much time answers
others.
-Dan

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Bradley  
View profile  
 More options Dec 24 2008, 5:15 am
Newsgroups: microsoft.public.biztalk.general
From: Peter Bradley <pbrad...@uwic.ac.uk>
Date: Wed, 24 Dec 2008 10:15:41 +0000
Local: Wed, Dec 24 2008 5:15 am
Subject: Re: Port Mapping and multiple Maps with the same source schema

Dan Rosanova wrote:
> Why does no one answer my posts :(  I spend so much time answers
> others.
> -Dan

Hi Dan,

I'm afraid it's because you know more than the rest of us.  So if you
can't figure it out, the rest of us have next to no chance.

Bummer!

Peter


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Bradley  
View profile  
 More options Dec 24 2008, 5:28 am
Newsgroups: microsoft.public.biztalk.general
From: Peter Bradley <pbrad...@uwic.ac.uk>
Date: Wed, 24 Dec 2008 10:28:24 +0000
Local: Wed, Dec 24 2008 5:28 am
Subject: Re: Port Mapping and multiple Maps with the same source schema

Dan Rosanova wrote:

> Anyone have any ideas?

'Fraid not, but I am interested.  Seems to me your choice is to
duplicate ports or to duplicate schemas: neither of which is very elegant.

How can your port determine which map to use from amongst the choices?
Is there something in the message context, for example, that can be used
to differentiate?

I always thought that that was why ports behaved in the way you
describe.  If there is a choice of maps, it doesn't know which one to
apply: so it gives a strange message saying that none apply IIRC.

You probably already explained this in your post, and I just failed to
understand what you were saying.

Cheers

Peter


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stefan  
View profile  
 More options Dec 24 2008, 5:45 am
Newsgroups: microsoft.public.biztalk.general
From: Stefan <ma...@itsconsulting.fr>
Date: Wed, 24 Dec 2008 02:45:33 -0800 (PST)
Local: Wed, Dec 24 2008 5:45 am
Subject: Re: Port Mapping and multiple Maps with the same source schema
Dan,

The basic idea of using the mappings inside a port is well described
in your post. However I still don't understand your problem very well.

Here is what I understood.
- You want to have multiple mappings inside a port? ok faire enough
- You want that these mappings match the same schema? Why?, I mean if
you were BizTalk, what would you do with the received message? apply
all the mappings? no way, what would be the exit of the receive
location?

According to my experience here is what I used to do:
- Apply mappings to the same receive port (only if the schema of the
received messages is different)
- Many things could be done in the receive pipeline considering that
the schemas are different: you could for instance define in you
receive pipeline all the possibilities of the received schemas: you
could define many XML schemas, as well as many FlatFile Schemas inside
your single recieve pipeline. At the exit of the pipeline, you would
have your correct schema that corresponds to your message, and this
schema could be mapped to any of your predefined mappings, all this
used in a single received port.

Hope I was clear enough

Regards,
Stefan
http://www.itsconsulting.fr
http://www.itsconsulting.fr/blog


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Rosanova  
View profile  
 More options Dec 29 2008, 9:29 am
Newsgroups: microsoft.public.biztalk.general
From: Dan Rosanova <dno...@gmail.com>
Date: Mon, 29 Dec 2008 06:29:52 -0800 (PST)
Local: Mon, Dec 29 2008 9:29 am
Subject: Re: Port Mapping and multiple Maps with the same source schema
Thank you everyone for the feedback, I really do appreciate it.  As
Stefan pointed out the receive side works exactly how I expect (and
love) from BizTalk.  The issue is really on the send side and as Peter
pointed out I seem to either have to duplicate ports or schemas and
neither is very attractive.  Ultimately I’d like to use the BTS
Operation property to drive which map is used.  The only ways I can
see this happening would be Pipeline component or a separate
Orchestration, neither of which appeal very much to me.  I’ll keep
kicking around ideas and keep everyone posted with what I find.

Kind Regards,
-Dan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »