从biztalk服务器插入数据库条目 [英] Insert database entry from biztalk server

查看:146
本文介绍了从biztalk服务器插入数据库条目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



任何人都可以帮我解决有关从biztalk插入数据库条目的问题。





提前致谢



我的尝试:



我看过各种复合景点视频,管视频,阅读msdn教程。

Hello All,

Can any one help me to solve an issue regarding inserting database entry from biztalk.


Thanks in advance

What I have tried:

I saw various plural sights videos, you tube videos, read msdn tutorials.

推荐答案





我们可以使用SQL适配器从BizTalk插入表条目。



步骤:



1.准备好数据库表。(或者创建一个新表)

2.创建一个新的BizTalk项目,Add - >添加生成的项目。

3.选择添加适配器元数据。

4.在添加适配器向导中,选择适配器(SQL),SQL Server和数据库名称。

此处无需提供端口名称。

5使用SQL传输模式生成向导创建连接字符串,然后单击下一步。

6.给目标命名空间(你应该在XML中这样做吗)。然后选择端口类型为发送端口,然后提供请求和响应根元素名称。单击下一步。

7.这里我们可以选择是否只需要向表中插入条目或使用storedprocedures。选择Updategram并单击next以进行插入。

8.选择表和必需列。单击下一步,我们就完成了。

9.将为此生成一个编排和架构。只需完成业务流程连接并部署项目即可。在应用程序中创建接收(使用文件适配器)并发送端口(使用SQL适配器)。

10.删除包含要插入接收位置表中的数据的xml。检查表格,它将随条目更新。



问候,

Haris
Hi,

We can use SQL adapter to insert table entries from BizTalk.

Steps:

1.Make the database table ready.(Or create a new table)
2.Create a new BizTalk project, Add--> Add Generated Items.
3.Select Add adapter metadata.
4.In the Add adapter wizard, select adapter (SQL), SQL Server and database name.
No need to give port name here.
5 Create the connection string using SQL transport schema generation wizard and click next.
6.Give target Namespace (should you this same in the XML). Then select port type as 'Send Port', then provide request and response root element name.Click next.
7.Here we can select if we need to just insert entries to tables or use storedprocedures. Select Updategram and click next for inserting.
8. Select the table and required columns. Click next and we're done.
9.One orchestration and schema will be generated for this. Just finish the orchestration connections and deploy the project. Create receive(use File adapter) and send ports(use SQL adapter) in the application.
10. Drop the xml which has the data to be inserted into the table in the receive location. Check the table, it will be updated with the entries.

Regards,
Haris


这篇关于从biztalk服务器插入数据库条目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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