简体   繁体   English

没有 Disassemble 阶段组件可以识别数据。 管道默认值:XMLRECEIVE

[英]No Disassemble stage components can recognize the data. Pipeline default: XMLRECEIVE

I have Biztalk app with 1 send port and 1 receive port(RP).我有带有 1 个发送端口和 1 个接收端口(RP)的 Biztalk 应用程序。 Receive port has default pipeline: XMLRecieve with validate Document= true and picked correct path to my schema (in correct format like that BizTalk_Server_Project1.Schema1, BizTalk Server Project1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b64a0508dbe93103).接收端口具有默认管道:XMLRecieve 与 validate Document=true 并选择了我的架构的正确路径(以正确的格式,如 BizTalk_Server_Project1.Schema1、BizTalk Server Project1、Version=1.0.0.0、Culture=neutral、PublicKeyToken=b64a0508dbe93103)。 Also i have simple xsd schema: [![enter image description here][1]][1]我也有简单的 xsd 架构:[![在此处输入图像描述][1]][1]

and simple xml file [![enter image description here][2]][2]和简单的 xml 文件 [![在此处输入图像描述][2]][2]

I put the original XML in the Receive Port folder and run the app.我将原来的 XML 放在 Receive Port 文件夹中并运行应用程序。 The App took the original XML from the folder but don't put in the output folder.该应用程序从文件夹中取出原始 XML 但不要放入 output 文件夹中。

In BizTalk Admin Console i see two errors.在 BizTalk 管理控制台中,我看到两个错误。 [![enter image description here][3]][3] [![enter image description here][4]][4] [![在此处输入图像描述][3]][3] [![在此处输入图像描述][4]][4]

Please somebody help me with this problem.请有人帮我解决这个问题。 PS I haven't any orchestration, in my simple project. PS 在我的简单项目中,我没有任何编排。 [1]: https://i.stack.imgur.com/8VNm9.png [2]: https://i.stack.imgur.com/m1mqe.png [3]: https://i.stack.imgur.com/Dx75F.png [4]: https://i.stack.imgur.com/k77yv.png [1]: https://i.stack.imgur.com/8VNm9.png [2]: https://i.stack.imgur.com/m1mqe.png [3]: Z5E056Z115://i.stack.imgur.com/8VNm9.png imgur.com/Dx75F.png [4]: https://i.stack.imgur.com/k77yv.png

<!--xsd schema-->
<?xml version="1.0" encoding="UTF-16"?>
<xs: schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="MyTargetNameSpace...etc"
xmlns:b="http://schemas.microsoft.com/BizTalk/2003" xmlns="http:/MyServersName...etc"
xmlns:ns0="http://MyServersName...etc">
    <xs:import namespace ="http://MyServersName...etc" schemaLocation=".\SchemaEnvelope1.xsd"/>
    <xs:annotation>
        <xs:appinfo>
            <b:references>
                <b:reference targetNamespace = "http://MyServersName..SchemaEnvelope1"/>
            </b:references> 
        </xs:appinfo>
    </xs:annotation>
    <xs:element name="Car">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="Color" type="xs:string"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>
</xs:schema>

<!--xml document-->
<?xml version="1.0" encoding="UTF-8"?>
<Car xsi: noNamespaceSchemaLocation="CarTestSchema1.xsd" xmlns:xsi="http://www,w3,org/2001/XMLSchema">
    <Color>Red</Color>
</Car>

Error错误

There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelnes.XMLReceive, Microsoft.BizTalk.DefaultPipelnes, Version=3.0.1.0, Culture=neural, PublicKeyToken =*****d364e35" Source:"XML disassembler" Receive Port:"ReceivePort1" URI:"Path to receive xml file" Reason: No Disassemble stage components can recognize the data.执行接收管道失败:“Microsoft.BizTalk.DefaultPipelnes.XMLReceive,Microsoft.BizTalk.DefaultPipelnes,版本=3.0.1.0,Culture=neural,PublicKeyToken =*****d364e35”来源:“XML 反汇编程序”接收端口:“ReceivePort1” URI:“接收 xml 文件的路径” 原因:没有 Disassemble 阶段组件可以识别数据。

I have 2 mistakes.我有2个错误。

  1. I wrote Path to my schema in receive port incorrect.我在接收端口中写入了我的模式的路径不正确。 I forgot to write the name of my schema.我忘了写我的模式的名称。
  2. I didn't write xmlns in my XML document.我没有在我的 XML 文档中写 xmlns。 Didn't relationship between XSD schema and XML doc. XSD 架构和 XML 文档之间没有关系。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM