Configuring the Window Integration Service

The Windows Integration Service (WIS) runs integration jobs such as product refreshes and order submits on behalf of the website application. See below for info on configuring the WIS after installation.

Use of the real-time thread

Avoid using the real-time thread unless it is actually necessary. The recommended approach is to use API calls into the target system for real-time order submission rather than rely on the WIS. Instead, reserve the real-time function for those cases where there is not an externally available API and the WIS must respond with data in a near-real-time fashion. Order submit and external queries are examples of when it would still be appropriate to use.

Set up

Install the WIS using the CommerceIntegrationServiceSetup.msi (see Installing the Windows Integration Service for additional info on installing the WIS). Once the WIS is installed on the server, the configuration file called SiteConnections.config will need to be configured for each connection set up in the Admin Console (AC) of the website. Multiple site connections can be configured in a single installation of the WIS.

For the 64-bit version, the default path of the installation is C:\Program Files\Optimizely\Commerce Integration Service V4.6.

For the 32-bit version, the default path of the installation is C:\Program Files (x86)\Optimizely\Commerce Integration Service V4.6.

Additional set up instructions for B2B Commerce Cloud

Cloud clients setting up integration for the WIS, need to use the following URLs:

  • Sandbox- http://[domain-name]-integration.insitesandbox.com/
  • Production - http://[domain-name]-integration.insitesofthosting.com/

The URLs above are also referenced in the SiteConnections.config- the reference is highlighted below.

How do I configure the connection string

  1. Go to the folder where you installed the WIS
  2. Open SiteConnections.config in a text editor (Such as Notepad++)
  3. In this file you will see a block of code to configure a connection in the AC. This code is shown below. Values in brackets [ ] must be replaced with actual values:

Here are additional details of each item in the SiteConnection shown above:

  1. Enter a name for the connection between the <IntegrationConnectionName></IntegrationConnectionName> tags. This connection name must match the AC connection name or this site connection will be ignored.
  2. Enter the domain for the B2B Commerce website between the <URL></URL> tags. Test this to make sure that this domain can be loaded from a browser on the WIS server.
  3. Enter the username for the integration user that has the ISC_Integration role between the <Username></Username> tags. If the integration user is not set up, then create a new user. Without this integration user the site connection will not be able to authenticate when connecting to the website.
  4. Enter the password for the integration user that has the ISC_Integration role between the <Password></Password> tags.
  5. If you are using a proxy with your integration, enter the appropriate proxy information between the <ProxyURL></ProxyURL>, <ProxyUsername></ProxyUsername>, and <ProxyPassword></ProxyPassword> fields.
  6. If you are using custom integration code for any of the integration processors, then specify the DLL directory between the <DllFolder></DllFolder> tags. Then copy your custom integration .dll files to this directory.
  7. Once you finish configuring the SiteConnection data, save your SiteConnections.config file. Then stop/start the WIS so your changes get picked up. Then go to the folder where you installed the WIS and review the logging in the logfile.txt to address any errors. If connection information is not set up correctly this logfile.txt will alert you of the problems encountered.

How do I create the connection in the admin console

  1. From within the Admin Console, go to Administration > Jobs Connections.
  2. Click Add Integration Connection.
  3. Enter the name for the new connection.

    This name must exactly match the name that was entered in the connections string.

  4. Choose the type of connection from the Type drop-down list.
  5. Enter the rest of the data as required for the specified connection.

    If using a Tab delimited flat file connection you would enter TAB for the Delimiter.

  6. Click Save to save the Integration Connection.
  7. When finished with the connections, proceed to the article for Creating Integration Jobs.

The WIS only needs to receive outbound connections and does not need an HTTPS or self-signed certificate.