简体   繁体   English

BizTalk:使用WCF服务-执行响应(接收)管道失败

[英]BizTalk : Consuming WCF Service - There was a failure executing the response(receive) pipeline

I am creating a sample biztalk application which consumes a WCFService for learning purpose. 我正在创建一个示例biztalk应用程序,该应用程序使用WCFService进行学习。 I had no problem in consuming the WCF Service and using that to in BizTalk Application in which I give an input xml file in the input folder and and an Output xml file is generated in the output folder. 在使用WCF服务并将其用于BizTalk Application中时,我没有问题,在BizTalk Application中,我在输入文件夹中提供了输入xml文件,在输出文件夹中生成了输出xml文件。

Now I am trying to do give the input to the WCF Service via a sample applcation I am getting an error which says 现在,我尝试通过示例应用程序将输入提供给WCF服务,但出现错误提示

There was a failure executing the response(receive) pipeline: "Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Send Port: "******Send Port Name****" URI: "*********" Reason: No Disassemble stage components can recognize the data. 执行响应(接收)管道失败:“ Microsoft.BizTalk.DefaultPipelines.XMLReceive,Microsoft.BizTalk.DefaultPipelines,Version = 3.0.1.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35”源:“ XML反汇编程序”发送端口: “ ******发送端口名称****” URI:“ *********”原因:无反汇编平台组件可以识别数据。

I am using the wcf-custom adapter for binding. 我正在使用wcf-custom适配器进行绑定。 What could be the error here? 这可能是什么错误?

The error you are receiving lets you know that the message you received (indeed, the response) is not valid according to any known schema within your BizTalk application domain. 根据BizTalk应用程序域中的任何已知架构,收到的错误使您知道收到的消息(实际上是响应)无效。 Try and setup WCF tracing/diagnostics to see what exactly your web service is responding. 尝试并设置WCF跟踪/诊断以查看您的Web服务究竟在响应什么。 Most likely, if this is a SOAP-bases web service for example, it might be a typed SOAP fault. 例如,最有可能的情况是,如果这是基于SOAP的Web服务,则可能是类型化的SOAP错误。

Valuable links: 有价值的链接:

Diagnostic Tracing and Message Logging - https://msdn.microsoft.com/en-us/library/cc185303(v=bts.10).aspx 诊断跟踪和消息记录-https://msdn.microsoft.com/zh-cn/library/cc185303( v= bts.10) .aspx

How to Handle Typed Fault Contracts in Orchestrations - https://msdn.microsoft.com/en-us/library/bb246117.aspx 如何处理业务流程类型化的故障合同- https://msdn.microsoft.com/en-us/library/bb246117.aspx

Best practices for handling web service exceptions in BizTalk Server - http://www.codit.eu/blog/2012/01/13/best-practices-for-handling-web-service-exceptions-in-biztalk-server/ 在BizTalk Server中处理Web服务异常的最佳做法-http: //www.codit.eu/blog/2012/01/13/best-practices-for-handling-web-service-exceptions-in-biztalk-server/

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

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