我正在尝试创建一个基本的单向自定义 WCF LOB 适配器以用于 BizTalk,并且正在实现Execute
由 Visual Studio WCF LOB 适配器 SDK 项目向导创建的方法。
此方法的文档总结了以下注释,该注释显示在方法的正上方:
// 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.
是什么赋予了 ?