2
我正在嘗試創建基本的單向自定義WCF LOB適配器,以便與BizTalk一起使用,並且正在實施由Visual Studio WCF創建的Execute
方法LOB Adapter SDK項目嚮導。如何使用自定義WCF LOB適配器執行單向發送
此方法總結與以下注釋的文檔,在出現右上面的方法:返回null
當
// Executes the request message on the target system and returns a response message.
// If there isn’t a response, this method should return 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.
是怎麼回事?
謝謝托馬斯,是的,這似乎是正確的答案。我仍然需要一些幫助來確定如何返回「空」或「無效」消息,但這更多的是與WCF相關的概念,而不是WCF LOB適配器SDK。 – 2011-03-23 07:53:21