【发布时间】:2011-03-17 22:41:31
【问题描述】:
我正在尝试创建一个基本的单向自定义 WCF LOB 适配器以用于 BizTalk,并且正在实现由 Visual Studio WCF LOB 适配器 SDK 项目向导创建的 Execute 方法。
该方法的文档总结了以下注释,该注释显示在该方法的正上方:
// Executes the request message on the target system and returns a response message.
// If there isn’t a response, this method should return null
但是,当返回 null 时,BizTalk 中会出现错误,并带有以下(大致翻译的)消息:
System.ServiceModel.CommunicationException: The server did not produce an appropriate response ; this may be due to non-matching contracts ; a premature end of the session or an internal error.
什么给了?
【问题讨论】: