Talking to the Commerce Gateway 4.0
One of the Microsoft propositions is using Navision 3.70, Commerce Gateway 4.0 and BizTalk Server 2004 for B2B integration. Trying to get this to work is not documented (yet). So I decided to put my experience to "blog".
Let's say we have two Navision companies on a single server and u want to have them communicating with each other. No problem because there is the Microsoft demo, which does the trick for you. But now do it without the pre-installed environment.
A few tips:
- Be sure to use the Navision 3.70 B database; the 3.70 A database does not facilitate the BizTalk connection.
- Don't use the Commerce Gateway Broker; when stressed most of the messages will go into retry. Causing the event log to blow up. Many BizTalk retries are needed to post high message volumes to Navision.
- Install the Commerce Gateway logged in as a user with enough BizTalk rights. Otherwise the Adapter cannot be installed.
- Be sure to set ISAPI Extensions to "allow" in IIS. The Application Pool should run under an account with BizTalk Server rights.
- The Commerce Gateway Request Server service should run under a user with rights to BizTalk Server.
- After this you can install the sample using the setup.bat in the Commerce Gateway directory.
- For debugging you can set "dumpdocuments" to yes in the TCPCOM_config.xml file (Navision from the manual).
- When you want to use BizTalk Server 2002 (don't know why, but you might), be sure to install the BizTalkIntegration2004.dll. This dll is not installed when you install the Commerce Gateway to communicate to BizTalk 2002, but is needed badly.
- Futhermore you should create a NAS for every Company in Navision you want to talk to, but this might be an "open deur" (dutch for : only logical).