2016-04-27 39 views
0

我正在嘗試使用wcf-sql適配器多次調用帶有不同參數的存儲過程。我使用嚮導創建了原始模式,然後手動創建了複合模式。我明白錯誤告訴我什麼,我只是不明白爲什麼我得到錯誤和/或如何解決它。Biztalk 2013r2 wcf-sql適配器複合操作

Error: Microsoft.ServiceModel.Channels.Common.MetadataException: Object [dbo].[DEPT_NUM] of type StoredProcedure does not exist. The message that is suspended in Biztalk looks like this...

<ns0:DINV_sumDepartmentInventory xmlns:ns0="http://schemas.microsoft.com/Sql/2008/05/TypedProcedures/dbo"><ns0:DEPT_NUM> 4</ns0:DEPT_NUM><ns0:INV_DATE>2016-03-21T00:00:00</ns0:INV_DATE><ns0:USERNAME>Service</ns0:USERNAME></ns0:DINV_sumDepartmentInventory> 

這是配器的所述部分...

Ochestration

這是與 「transform_3」 形狀相關聯的地圖...

enter image description here

這就是合成模式看起來像......

enter image description here

我期待輸出更喜歡這個...

<ns1:Request xmlns:ns1="http://BigY.PICSInventory.Updated_SQL_Schemas.Composite_SumDepartmentInventory" xmlns:ns0="http://schemas.microsoft.com/Sql/2008/05/TypedProcedures/dbo"><ns0:DINV_sumDepartmentInventory><ns0:DEPT_NUM>4</ns0:DEPT_NUM><ns0:INV_DATE>2016-03-21T00:00:00</ns0:INV_DATE><ns0:USERNAME>Service</ns0:USERNAME></ns0:DINV_sumDepartmentInventory></ns1:Request> 

任何想法是錯誤的設置或還有什麼我能試試嗎?

+0

,你能否告訴我們,發送端口是什麼樣子? – Gruff

回答