2 receive ports

Home Page Forums BizTalk 2004 – BizTalk 2010 2 receive ports

Viewing 2 reply threads
  • Author
    Posts
    • #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?

    • #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.

      • #17617

        Thanks for the response. But i still need to provide support for the other client with the old schema too.

    • #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!

      • #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? 

        • #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?

Viewing 2 reply threads
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.