09-15-04 03:19 PM
When you create a schema with the BizTalk Wizard, you reference a
port that has already been setup with the relevant connection string
information. Although you do get a chance to change the connection
information in the wizard, the concept is that you should use the
connection information from the port you select on the first screen
of the wizard.
The wizard then uses this connection information and the SQL command
to create a schema matching the retrieved xml data returned by the
FOR XML statement. Whether in production or dev, when you want to
insert data into SQL, your BizTalk process sends the SQL adapter an
XML document containing the data to be inserted, which is passed
through the send pipeline to the send port. On the send port, the
SQL adapter is invoked with the connection information set on the
port, and the xml document is then sent to the configured SQL server.
The schema is only there for validating that the xml document is
correctly structured, etc., and has no bearing on how the connection
to the SQL server is established.
If you are wanting to test on the production server, you should
deploy your assembly (containing the schema, any maps, orchestrations,
etc) to the Production environment, then export the bindings file
(an XML file) from your dev environment. Open this bindings file up
and change the SQL connection string to the connection information
for your production environment. Then import this bindings file
using the deployment wizard on the production server.
Kind Regards,
Nabeel Prior
2004/09/14 23:37:07
Hari <Hari@discussions.microsoft.com> wrote in message
<46A5B980-A90A-4E01-B795-BDB5D58BD3DF@microsoft.com>
> Thanks for the reply. But here is my confusion. While I was
creating SQL
> Adapeter to the SQL Server, BizTalk wizard asked me to enter
connection
> string info; like, server name, db name and user id and password
info. Now, I
> have to test the same with Production box. Does it work with out
changing[vbcol=seagreen]
> Server name? May be, I'm missing some info here.
>
> Thanks
> -Hari
>
> "Nabeel Prior" wrote:
>
location,[vbcol=seagreen]
[vbcol=seagreen]
to[vbcol=seagreen]
as[vbcol=seagreen]
[vbcol=seagreen]
Schema.[vbcol=seagreen]
[ Post a follow-up to this message ]
|