Beginner – Biztalk Question

Home Page Forums BizTalk 2004 – BizTalk 2010 Beginner – Biztalk Question

Viewing 2 reply threads
  • Author
    Posts
    • #18841

      This may seem very basic, but I think its a valid question.

       I have created a basic Biztalk Application that receives a message through an http (Passthru) port , and has a file (Passthru) send port which sends the received message to a file in a directory on the server.

       Every message I send to the port gets processed…

      My question is:

       How do I seperate different types of xml messages being sent to the http port? make the send pipeline xmlreceive and associate a schema? I am expecting quite a few different types of messages that are very different being sent to this one http receive port…

      I guess I will create a seperate send port with an xml schema that must be processed…?

      Any help is appreciated

       Thanks

    • #18849

      Also create a property schema and use it to direcet the message to each send port. for example if u r receive message from different partners…then create a prperty schema with partners node…promote it…and use it in the each send port-filter.

    • #18901

      Hi JavaK,

      Each different incoming message should have an associated schema. As long as you use the XmlReceive pipeline (or alternatively any pipeline with the XmlDisassembler in it) the MessageType property will get promoted automatically. The MessageType will be the default namespace concatenated with the root element name (separated by a #) e.g. http://my_default_target_namespace#root_element_name.

      You can therefore setup filters on the send ports (or orchestrations) that process the messages based upon the MessageType property. This way each different message will be directed to it’s relevant send port.

      Hope this helps.

      Mark 

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