Binary file in orchestration

Home Page Forums BizTalk 2004 – BizTalk 2010 Binary file in orchestration

Viewing 1 reply thread
  • Author
    Posts
    • #16449

      The scenario is the following. I need to create an orchestration that will receive a file of any kind (from .doc, xml, .zip, to executable). I have set the pipeline to passthrough. The orchestration should be simple. It will redirect, after some process, the same incoming file to a different file send port. So my question is what will be the message type of the mesage that will come in my received shape? Should it be "binaryReader" or something similar?

       Thanks

    • #16451

      Even simpler.  Use the message type "System.Xml.XmlDocument" which allows *any* type of content (it'll show up under .NET types when you choose a message type).  Naturally you can't do anything with the message (like open it up) unless you write some custom code, but if you just want to use it in an orchestration for routing, that's the easiest way.

      Check this out too .. http://blogs.msdn.com/richardbpi/archive/2005/10/27/485696.aspx

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