Two message types coming in on one receive port

Home Page Forums BizTalk 2004 – BizTalk 2010 Two message types coming in on one receive port

Viewing 2 reply threads
  • Author
    Posts
    • #24059

      I am developing an orchestration that includes sending a request to an application which will respond with one of two different XML message types.  I know I can define two matching inbound maps on my receive port, but what do I do in the orchestration to handle two types of message coming in on the same port?

      The orchestration will perform transformations on either of the received message types and then send the transformed messages to the original requester.

      I just can’t see in the world of orchestration how to handle two mesage types coming on the same receive port.

      Thanks for anybody’s help on this.

      -Mark Green

    • #24061

      what about a loop? read the 1 msg and rout it to orchestration1  depend msgtyp, read the 2 msg and rout it to orchestration2  depend msgtyp.

      PaPaLeE

    • #24066

      I had the same situation.

      I created a message of type XmlDocument. Set my receive shape to expect that message. I put a filter on the receive shape to accept messages with the types I wanted.

      I then added a decide shape that decides based on the message type to do necessary transformation.

      I worked like a charm.

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