title: BizTalk 2016 - Debatch XML in XMLReceive pipeline don't Promote Properties
body: <p>We have this schema that was working in BizTalk 2009, debatching XML messages in a Receive Port. This schema and the receive location with a XMLReceive pipeline, debatch the messages and generating POLLINGSTMTRECORD messages with OperationType and ProcesoType properties promoted.</p>
  
  <p>But now, in BizTalk 2016 this don't happen, only debatch the messages, but not promote the properties.</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-16"?&gt;
  &lt;xs:schema xmlns:tns="http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns:ns0="https://ServicesPlatform.Common.Schemas.PropertySchema" elementFormDefault="qualified" targetNamespace="http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;xs:annotation&gt;
      &lt;xs:appinfo&gt;
        &lt;fileNameHint xmlns="http://schemas.microsoft.com/servicemodel/adapters/metadata/xsd"&gt;POLLINGSTMTCOMMON&lt;/fileNameHint&gt;
        &lt;b:schemaInfo is_envelope="yes" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" /&gt;
        &lt;b:imports&gt;
          &lt;b:namespace prefix="ns0" uri="https://ServicesPlatform.Common.Schemas.PropertySchema" location=".\propertyschema.xsd" /&gt;
        &lt;/b:imports&gt;
      &lt;/xs:appinfo&gt;
    &lt;/xs:annotation&gt;
    &lt;xs:complexType name="POLLINGSTMTRECORD"&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element minOccurs="0" maxOccurs="1" name="ID_SOLICITUD" nillable="true"&gt;
          &lt;xs:simpleType&gt;
            &lt;xs:restriction base="xs:string"&gt;
              &lt;xs:maxLength value="4000" /&gt;
            &lt;/xs:restriction&gt;
          &lt;/xs:simpleType&gt;
        &lt;/xs:element&gt;
        &lt;xs:element minOccurs="0" maxOccurs="1" name="OPERACION" nillable="true"&gt;
          &lt;xs:simpleType&gt;
            &lt;xs:restriction base="xs:string"&gt;
              &lt;xs:maxLength value="40" /&gt;
            &lt;/xs:restriction&gt;
          &lt;/xs:simpleType&gt;
        &lt;/xs:element&gt;
        &lt;xs:element minOccurs="0" maxOccurs="1" name="NUM_REINTENTOS" nillable="true"&gt;
          &lt;xs:simpleType&gt;
            &lt;xs:restriction base="xs:string"&gt;
              &lt;xs:maxLength value="4000" /&gt;
            &lt;/xs:restriction&gt;
          &lt;/xs:simpleType&gt;
        &lt;/xs:element&gt;
        &lt;xs:element name="PROCESO" type="xs:string" /&gt;
      &lt;/xs:sequence&gt;
    &lt;/xs:complexType&gt;
    &lt;xs:element name="POLLINGSTMTRECORD" nillable="true" type="tns:POLLINGSTMTRECORD"&gt;
      &lt;xs:annotation&gt;
        &lt;xs:appinfo&gt;
          &lt;b:properties&gt;
            &lt;b:property name="ns0:OperationType" xpath="/*[local-name()='POLLINGSTMTRECORD' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']/*[local-name()='OPERACION' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']" /&gt;
            &lt;b:property distinguished="true" xpath="/*[local-name()='POLLINGSTMTRECORD' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']/*[local-name()='ID_SOLICITUD' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']" /&gt;
            &lt;b:property distinguished="true" xpath="/*[local-name()='POLLINGSTMTRECORD' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']/*[local-name()='NUM_REINTENTOS' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']" /&gt;
            &lt;b:property name="ns0:ProcesoType" xpath="/*[local-name()='POLLINGSTMTRECORD' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']/*[local-name()='PROCESO' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']" /&gt;
            &lt;b:property distinguished="true" xpath="/*[local-name()='POLLINGSTMTRECORD' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']/*[local-name()='PROCESO' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']" /&gt;
            &lt;b:property distinguished="true" xpath="/*[local-name()='POLLINGSTMTRECORD' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']/*[local-name()='OPERACION' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']" /&gt;
          &lt;/b:properties&gt;
        &lt;/xs:appinfo&gt;
      &lt;/xs:annotation&gt;
    &lt;/xs:element&gt;
    &lt;xs:complexType name="ArrayOfPOLLINGSTMTRECORD"&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element minOccurs="0" maxOccurs="1" name="POLLINGSTMTRECORD" type="tns:POLLINGSTMTRECORD" /&gt;
      &lt;/xs:sequence&gt;
    &lt;/xs:complexType&gt;
    &lt;xs:element name="ArrayOfPOLLINGSTMTRECORD" nillable="true" type="tns:ArrayOfPOLLINGSTMTRECORD" /&gt;
    &lt;xs:element name="POLLINGSTMT"&gt;
      &lt;xs:annotation&gt;
        &lt;xs:documentation&gt;
          &lt;doc:action xmlns:doc="http://schemas.microsoft.com/servicemodel/adapters/metadata/documentation"&gt;http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMT&lt;/doc:action&gt;
        &lt;/xs:documentation&gt;
        &lt;xs:appinfo&gt;
          &lt;b:recordInfo body_xpath="/*[local-name()='POLLINGSTMT' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']/*[local-name()='POLLINGSTMTRECORD' and namespace-uri()='http://Microsoft.LobServices.OracleDB/2007/03/POLLINGSTMTCOMMON']" /&gt;
        &lt;/xs:appinfo&gt;
      &lt;/xs:annotation&gt;
      &lt;xs:complexType&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element minOccurs="0" maxOccurs="1" name="POLLINGSTMTRECORD" nillable="true" type="tns:ArrayOfPOLLINGSTMTRECORD" /&gt;
        &lt;/xs:sequence&gt;
      &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
  </code></pre>
  
  <p>But in BizTalk 2016 is not promoting this properties, any idea?</p>