Re: send/receive xml message question

Home Page Forums BizTalk 2004 – BizTalk 2010 send/receive xml message question Re: send/receive xml message question

#22561

You can create an Envelop Schema call <ArrayOfItem>, then the receive pipeline will split the ArrayOfItem in into multiple <Item>.

Here is an example of envelop schema:

<?xml version=”1.0″ encoding=”utf-16″?>

<xs:schema xmlns:tns=”http://ArielBPM.Biztalk.RequestManagement.Schemas&#8221; xmlns:b=”http://schemas.microsoft.com/BizTalk/2003&#8243; elementFormDefault=”qualified” targetNamespace=”http://ArielBPM.Biztalk.RequestManagement.Schemas&#8221; xmlns:xs=”http://www.w3.org/2001/XMLSchema”&gt;

  <xs:annotation>

    <xs:appinfo>

      <schemaInfo is_envelope=”yes” root_reference=”QueueUpAndNotifyRequests” xmlns=”http://schemas.microsoft.com/BizTalk/2003&#8243; />

    </xs:appinfo>

  </xs:annotation>

  <xs:element name=”QueueUpAndNotifyRequests” type=”tns:QueueUpAndNotifyRequests”>

    <xs:annotation>

      <xs:appinfo>

        <recordInfo body_xpath=”/*[local-name()=’QueueUpAndNotifyRequests’ and namespace-uri()=’http://ArielBPM.Biztalk.RequestManagement.Schemas’%5D&#8221; xmlns=”http://schemas.microsoft.com/BizTalk/2003&#8243; />

      </xs:appinfo>

    </xs:annotation>

  </xs:element>

  <xs:complexType name=”QueueUpAndNotifyRequests”>

    <xs:sequence>

      <xs:any />

    </xs:sequence>

  </xs:complexType>

</xs:schema>