InstallationPrepare SAP Environment

Prepare SAP Environment

Install Sana Web Service

Sana Commerce is integrated with SAP Business One via Web service implemented and delivered by Sana. The Sana Web service for SAP Business One is hosted in the Internet Information Services (IIS) Manager and must be installed on the same machine where the DI Server components are installed. The Sana Web service uses the DI Server to communicate with SAP Business One.

Prerequisites:

  • Sana Web service which can be downloaded from the Sana Community web site
  • Windows PowerShell 4.0 or higher
  • Windows Authentication role service must be installed on the SAP B1 server environment
  • Local or domain user account which is used to authorize the Sana Web service. When the Sana Web service is installed you will need to enter the URL of the Web service and user credentials on the ERP connection page in Sana Admin to establish connection between Sana and SAP Business One. For more information, see 'ERP Connection'.

To set up Sana Web service for SAP Business One:

Step 1: Extract the 'SanaWebService' zip package to the C:\ drive.

Step 2: Run the 'InstallSapService.Bat' Windows batch file with the administrator privileges from the 'SanaWebService' folder. This script will guide you through the Sana Web service installation process and prompt you for any required input.

You will be asked to enter the following information:

  • The path to the folder where the Sana Web service should be installed.
  • The binding port on which the Sana Web service should run.

This script will publish the Web service contents, create a web site and application pool in the Internet Information Services (IIS) Manager that is hosting the Sana Web service, configure the necessary authentication and permissions.

When the installation process is finished the Sana Web service will automatically open in the Web browser. If you can see the Web service information page, then Sana Web service has been installed successfully.


Sana Web Service

    If the Sana Web service is hosted on the IIS version below 7.5 you need to comment out the following line of code in the 'Web.config' file of the Sana Web service:

<extendedProtectionPolicy policyEnforcement="Always"></extendedProtectionPolicy>

    It is recommended to secure your Web service with the SSL certificate to protect SAP system communications. For more information, see 'SSL for SAP B1 Web Service'.

If for some reason you cannot install the Sana Web service using the PowerShell script, you can do it manually. For more information, see 'Sana Web Service for SAP B1'.

InstallationPrepare SAP Environment