Welcome to MSDN Blogs Sign in | Join | Help
Beta to RC Migration for Commerce Server Biztalk Adapters

There really is no migration from beta to RC for our adapters.  It's as easily as uninstalling beta and installing the RC version of the Commerce Server 2007 Biztalk Adapters.  However, there is one addition that I would like to point out.

In Beta, the adapter validated many parameters in an endpoint (receive and send).  For instance, we validated that the web service url is valid and functional (we created the web service agents in endpoint creation), we validated that directories exist (catalog/inventory requires temp directories for import) and we validated any filter/search clause during endpoint creation. 

This impacted our deployment scenario severely.  For instance, in beta, if a customer deployed the Biztalk Application before changing the endpoint configurations to point to the production servers (assuming you are deploying from development to production), the endpoint would fail to import, thus causing the whole application to fail import. 

The good news for RC (and RTM) is that we have removed all external validations that the adapter performs and made this configurable via a registry setting. So when you deploy a Biztalk Application as a MSI file or bindings file, we will create the endpoint regardless of your external settings and configurations.  Of course, before running the endpoint you would need to change your settings, but the endpoint will still create. 

Personally, in development, I prefer to have validation turned on as it catches all my typos or misconfigurations before actually running the endpoint.  To enable validation is really easy, just execute the following command (from a command prompt):

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 BizTalk Adapters" /v ConfigValidation /d 1 /t REG_DWORD /f

This creates a registry entry named ConfigValidation, of type REG_DWORD, with a value of one (1), under one of the following registry paths:

32-bit computers: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Commerce Server 2007 BizTalk Adapters


64-bit computers: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Commerce Server 2007 BizTalk Adapters

That's it - once you have created the registry key - the adapter will perform full validation on all your endpoint configurations.  This is the preferred way to go during development. 

Nihit has a really informative post about Beta to RC migration for the server product that I suggest anyone migrating read. 

Hope this helps and, as always, let me know if you have any additional questions.


Alan

 

 

Posted: Thursday, May 25, 2006 7:10 PM by akfaulkner

Comments

Jeff Lynch said:

Alan,

Excellent post. I missed this entirely in the beta and didn't realize that the adapters were performing this validation. I must have gotten pretty lucky during my deployment because everything worked just fine.

Jeff
# May 26, 2006 8:23 AM

Jeff Lynch [MVP] said:

Now that the Commerce Server team has a few spare minutes on their hands (only a few I'd imagine) they've begun to write some great posts about the new release candidate.

# May 26, 2006 9:26 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker