title: Biztalk 2013 - Promoted schema property is getting dropped?
body: <p>I have configured a WCF-WebHttp BizTalk Request/Response Static pipeline adaptor with the following URL mapping</p>
  
  <pre><code>&lt;BtsHttpUrlMapping&gt;
  &lt;Operation Name="Query_ADM" Method="GET" Url="{MYVARIABLE}" /&gt;
  &lt;/BtsHttpUrlMapping&gt;
  </code></pre>
  
  <p>In the Variable Mapping I have set the variable name MYVARIABLE to a property called id in the defining schema of the message. I have set the property namespace of the defining schema - in the variable mapping - which is also published to the same application.</p>
  
  <p>The id has been promoted in the schema and I can see this promotion if I trace this through the tracked message events.</p>
  
  <p>However at the point there the logical send/receive port sends the message through the physical port - it appears the promotion of the id field is dropped.</p>
  
  <p>There is a transmission failure message with</p>
  
  <blockquote>
    <p>The adapter failed to transmit message going to send port "MY_PORT"
    with URL
    "<a href="http://myurl.dev.application.com/api/v2/crm/accounts/" rel="nofollow noreferrer">http://myurl.dev.application.com/api/v2/crm/accounts/</a>". It
    will be retransmitted after the retry interval specified for this Send
    Port. Details:"System.ArgumentException: The path variable
    'MYVARIABLE' in the UriTemplate must be bound to a non-empty string
    value.</p>
  </blockquote>
  
  <p>Everything looks setup okay? Does anyone have any ideas?
  Thanks.</p>
  
  <p>Here's the schema with promoted (and distinguished) id property field.</p>
  
  <p><img src="https://i.stack.imgur.com/vQHUw.gif" alt="Schema"></p>
  
  <p><img src="https://i.stack.imgur.com/vQHUw.gif" alt="enter image description here"></p>