简体   繁体   中英

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. 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.

Now I am trying to do give the input to the WCF Service via a sample applcation I am getting an error which says

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.

I am using the wcf-custom adapter for binding. 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. Try and setup WCF tracing/diagnostics to see what exactly your web service is responding. Most likely, if this is a SOAP-bases web service for example, it might be a typed SOAP fault.

Valuable links:

Diagnostic Tracing and Message Logging - https://msdn.microsoft.com/en-us/library/cc185303(v=bts.10).aspx

How to Handle Typed Fault Contracts in Orchestrations - 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/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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