blog
为了测试我的映射,但我刚刚尝试了我的第一个多输入映射,它失败了:-(
<ns0:Root xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003/aggschema">
<InputMessagePart_0>
...
</InputMessagePart_0>
<InputMessagePart_1>
...
</InputMessagePart_1>
</ns0:Root>
// This is the BizTalk Server 2006 way of calling
mapInstance.StreamingTransform.Transform(inputStream,
mapInstance.TransformArgs, outputStream, resolver);
// This is the R2 way of calling
XmlReader xmlRdr = new XmlTextReader(inputStream);
mapInstance.StreamingTransform.ScalableTransform(xmlRdr,
mapInstance.TransformArgs, outputStream,
resolver, whitespaceCorrect);
XPathDocument doc = new XPathDocument(inputStream);
mapInstance.Transform.Transform(doc, mapInstance.TransformArgs, outputStream);