Friday, 3 October 2014

BizTalk Send port wont enlist

Leaving some white-space in the binding file of a send port filter will make the port unable to enlist. Opening the send port from the admin console will reveal a disabled filter section.





Incorrect:

<Filter>
        &lt;?xml version="1.0" encoding="utf-16"?&gt;
        &lt;Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
        &lt;Group&gt;
        &lt;Statement Property="BTS.ReceivePortName" Operator="0" Value="GetContacts" /&gt;
        &lt;/Group&gt;
        &lt;/Filter&gt;
   </Filter>

Correct:

<Filter>&lt;?xml version="1.0" encoding="utf-16"?&gt;
        &lt;Filter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
        &lt;Group&gt;
        &lt;Statement Property="BTS.ReceivePortName" Operator="0" Value="GetContacts" /&gt;
        &lt;/Group&gt;
        &lt;/Filter&gt;
   </Filter>

No comments:

Post a Comment