BizTalk 2006 R2和Oracle适配器 [英] BizTalk 2006 R2 and Oracle adapter

查看:93
本文介绍了BizTalk 2006 R2和Oracle适配器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



使用BizTalk业务流程将记录插入Oracle表时遇到问题。问题是生成的模式中某些字段是必需的(minoccurs = 1 )但是当插入记录时,这些字段实际上由Oracle填充。

当我将消息发送到Oracle适配器时,我收到以下错误。


" Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException:缺少必需的字段ID。请参阅正在调用的操作的模式。

服务器堆栈跟踪:< br> at System.ServiceModel.AsyncResult.End [TAsyncResult](IAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
at System.ServiceModel.Channels.ServiceChannel.EndCall(字符串操作,对象[]输出,IAsyncResult结果)
在System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult结果)

在[0]处重新抛出异常:
在System.Runtime.Remoting的System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg,IMessage retMsg)中。 Proxies.RealProxy.PrivateInvoke(MessageData& msgData,Int32 type)
at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallbac k(IAsyncResult结果)"。

确实,字段ID和其他一些必填字段未填写,因此消息中不存在,但由于序列和触发器,Oracle会自动填充字段。

如何正确处理此问题?

It is true that the field ID and some other fields that are mandatory are not filled and therefore don't exist in the message, but the fields are filled automatically by Oracle because of sequences and triggers.

What should I do to handle this problem correctly?

推荐答案

你能编写一个包装器SP,然后调用insert到表中吗?你能告诉我们这个有用吗?

你能和我们分享你的表定义吗?

谢谢,
Murali Narumanchi

Can you write a wrapper SP that in turn calls insert into the Table? Can you pls let us know this works?

Would you be able to share your table definition with us?

Thanks,
Murali Narumanchi


这篇关于BizTalk 2006 R2和Oracle适配器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆