简体   繁体   English

Biztalk 2013R2 WCF-SQL适配器复合操作

[英]Biztalk 2013r2 wcf-sql adapter composite operation

I am trying to use the wcf-sql adapter to call a stored procedure multiple times with different parameters. 我正在尝试使用wcf-sql适配器使用不同的参数多次调用存储过程。 I have created the original schema using the wizard and then created the composite schema by hand. 我已经使用向导创建了原始模式,然后手动创建了复合模式。 I understand what the error is telling me I just do not understand why I am getting the error and/or how to resolve it. 我知道错误告诉我什么,只是我不明白为什么会收到错误和/或如何解决该错误。

Error: Microsoft.ServiceModel.Channels.Common.MetadataException: Object [dbo].[DEPT_NUM] of type StoredProcedure does not exist. 错误:Microsoft.ServiceModel.Channels.Common.MetadataException:类型为StoredProcedure的对象[dbo]。[DEPT_NUM]不存在。 The message that is suspended in Biztalk looks like this... Biztalk中挂起的消息如下所示:

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

This is the portion of the orchestration... 这是业务流程的一部分。

Ochestration

This is the map that is associated with the "transform_3" shape... 这是与“ transform_3”形状相关联的地图。

在此处输入图片说明

This is what the composite schema looks like... 这就是复合架构的样子……

在此处输入图片说明

I am expecting the output to more like this... 我期望输出更像这样...

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

Any ideas what is wrong with the setup or what else I can try? 有什么想法设置有什么问题或者我还能尝试什么?

It looks like the Composite Operation is not composed correctly. 看来复合运算的构成不正确。 It has to be a very specific structure with certain namespaces and Operation. 它必须是具有特定名称空间和操作的非常具体的结构。

This Wiki Article explains the process step by step: BizTalk Server: Streamlining WCF SQL and Oracle Messaging-Only and Other Patterns 这篇Wiki文章逐步说明了该过程: BizTalk Server:简化WCF SQL和仅Oracle Messaging以及其他模式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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