Home Page › Forums › BizTalk 2004 – BizTalk 2010 › 2 receive ports
- This topic has 5 replies, 1 voice, and was last updated 8 years, 4 months ago by
community-content.
-
AuthorPosts
-
-
February 9, 2007 at 7:34 AM #17615
Hi,
Can i have 2 kinds of schemas activate an instance of an orchestration. This is my situation. I have an orchestration already designed and running. and i am trying to use the same to process the request from a new system. So the schemas from the new system would be slight different. in terms of namespace etc; but obviously i cant use the same maps. So can this orchestration accept 2 different schemas on the same shape etc?
-
February 9, 2007 at 8:47 AM #17616
It appears you don't want to modify your orchestration at all. In that case you can create a new map that transforms the new schema into the old schema and add that map to the receive location. Messages in the new schema will be transformed to the old schema before they reach the orchestration.
-
February 9, 2007 at 9:00 AM #17617
Thanks for the response. But i still need to provide support for the other client with the old schema too.
-
-
February 22, 2007 at 2:36 PM #17769
This is possible with some adjustments to your orchestration. At first you'll need 3 types of messages: one for the old system (say msgOldSystem), one for the new system (say msgNewSystem) and one you will use to map to from both other message types (say msgCommon).
Your orchestration must start with a Listen-shape with 2 branches. This is necessary because you'll have to receive different kinds of messages. The first branch will receive messages from the old system, the second one from the new system.
Now add activatable Receive-shapes on both branches and set the message types to msgOldSystem and msgNewSystem. Next, each branch will contain a map from the given message type to msgCommon, which you will use later in the orchestration.
After performing the transformations you can exit the Listen-shape and continue processing with the msgCommon message type.Hope this helps!
-
February 22, 2007 at 10:27 PM #17771
If multiple flat files are comming from the source system with different formats(predifined but not possible to sniff by filename which flat file adhere to which schema) then how it is possible within orchestration to validate the files against schemas?
-
February 22, 2007 at 10:50 PM #17772
Hi All,
Is it possible to receive multiple flat files conforming different schema using a single receive pipeline in BTS 2006? In other words can a FlatFileDisassembler can be used for multiple document schema? Suppose I have Schema1, Schema2, Schema3 and the Flat file disassembler will disasseble flat files conforming any one of them – Is it possible using single receive pipeline?
-
-
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.