title: How to subscribe to messages created in a BizTalk orchestration?
body: <p>I have an orchestration that takes a message.  The target namespace is "<a href="http://microsoft.com/HealthCare/HL7/2X" rel="nofollow">http://microsoft.com/HealthCare/HL7/2X</a>" and the root element is "ORU_R01_23_GLO_DEF"</p>
  
  <p>In the orchestration, I map the message to an intermediate message type in a construct shape.  The target namespace is "<a href="http://mycompany.com/myapplication" rel="nofollow">http://mycompany.com/myapplication</a>" and the root element is "MyMessage".  The "MyMessage" message is then further mapped and then sent to a web service using a logical send port in the orchestration.  A WCF send port is then bound to the orchestration and everything works fine.  Everything works as expected.</p>
  
  <p>Without altering the orchestration,  I want to create a send port that subscribes to the intermediate "MyMessage" message and writes it to a file.  To do this, I have created a send port with a filter of BTS.MessageType = <a href="http://mycompany.com/myapplication#MyMessage" rel="nofollow">http://mycompany.com/myapplication#MyMessage</a>.</p>
  
  <p>Even though messages are flowing through the orchestration,  my send port isn't picking up the message.  Is this the incorrect filter to use?</p>