为什么我的消息类型不正确? [英] Why is my message type incorrect?

查看:90
本文介绍了为什么我的消息类型不正确?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


在Biztalk应用程序App1中,我有一个接收端口RP1,它使用pass -ru XML接收管道。当我在入站位置删除xml文件时,我收到错误说


执行接收管道时出现错误:"Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines,Version = 3.0.1.0,Culture = neutral,PublicKeyToken = 31bf3456ad765g35"资料来源:"XML反汇编程序"接收端口:"RP1" URI:
" c:\ In \ * .xml"原因:按消息类型" http://www.test.org/COMSponsors#Sponsor "查找文档规范。失败。验证是否正确部署了架构。 



传入文件的一部分:


-------- ------------开始-------


<?xml version =" 1.0" encoding =" utf-8"?>

< FNMessage xmlns:xsi =" http://www.w3.org/2001/XMLSchema-instance " xmlns:xsd =" http://www.w3.org/2001/XMLSchema " xmlns = http://www.test.org/COMSponsors >

  < FNHeader>

    < header>

            < txnType> BUS< / txnType>

          < / header>

    < body>

      < ListOfSponsors>

        <赞助商>                  < id> 56973< / id>


--------------------结束-------


我的问题是为什么不是MessageType
http://www.test.org/ COM赞助商
#FNMessage?


非常感谢任何帮助。我花了太多时间试图找出消息类型不正确的原因。


谢谢,




SRG

解决方案


当你遇到这种类型的错误时,你只需要执行以下操作..


1)验证  ;是否  xml正在匹配架构,如执行验证实例,如下所示。



2 )成功验证上述内容后,您需要执行以下操作。 [如果您输入的文件中的错误失败了]


3)重新部署程序集(Schema's)使用并确保重启所有主机。 [如果可能,请更改
的版本   &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP; &NBSP;程序]。


4)如果上面似乎没有解决,那么停止应用程序并从中删除程序集应用程序和GAC,然后重新部署新的
  &NBSP; &NBSP;组件


Hi,

In a Biztalk application App1, I have a receive port RP1 which uses pass thru XML receive pipeline. When I drop an xml file in the inbound location, I get an error saying

There was a failure executing the receive pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3456ad765g35" Source: "XML disassembler" Receive Port: "RP1" URI: "c:\In\*.xml" Reason: Finding the document specification by message type "http://www.test.org/COMSponsors#Sponsor" failed. Verify the schema deployed properly. 

part of incoming file:

--------------------begin-------

<?xml version="1.0" encoding="utf-8"?>
<FNMessage xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns=http://www.test.org/COMSponsors>
  <FNHeader>
    <header>
            <txnType>BUS</txnType>
          </header>
    <body>
      <ListOfSponsors>
        <Sponsor>
                   <id>56973</id>

--------------------end -------

My question is why isn't the MessageType http://www.test.org/COMSponsors#FNMessage ?

Any help is greatly appreciated. I spent too much time trying to figure out why the message type is not correct.

thanks,


SRG

解决方案

Hi,

When you run into this type of error you just perform the following..

1) Verify whether the xml you are dropping is matching the schema like performing the validate instance as shown below.

2) Once the above is validated successfully, you need to do the below. [ If failed the error in the Input file you are dropping]

3) redeploy the assemblies (Schema's) you are using and make sure you are restarting all the hosts. [If possible change the version of the                           assemblies].

4) If the above seems to be not solving then stop the Application and delete the assemblies from the application and GAC and then redeploy the new      assemblies.


这篇关于为什么我的消息类型不正确?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆