Jean-Francois LEBLANC Christian SEBASTIAN Web Service Jean-Francois LEBLANC Christian SEBASTIAN 11-13 May 2016 Eurostat, Unit B3 – IT solutions for statistical production
Table of Contents Objectives SDMX-RI Components Installation of the web Service Deployment in wwwroot Grant the access needed by IIS Creation of the application in IIS Configuration of the Web.config file Check if the WS is correctly installed 2
1. Objectives Explaining how to install and configure the Web Service Test the NSI Web Service is correctly set up Explaining how to use the purpose and how to use the Test client Export data sets to file in SDMX format
2. SDMX-RI Components MSDB Store DDB Firewall Firewall Firewall DB Server MSDB Store Workstation App Server Mapping Assistant NSI-WS External Client Test Client NSI-Client DB Server DDB Internal Network Secure DMZ DMZ Internet
3. Installation of The Web Service Open the Ri package Open the app Folder Copy the content of the Folder
3.1 Deployment in wwwroot Paste the files previously copied into a new folder you will create in c:\inetpub\wwwroot
3.2 Grant the access needed by IIS
3.3 Create the application in IIS Open IIS Right click on the folder that contains your source files Click on « Convert Application »
3.4 Create the application in IIS DefaultAppPool is selected by default Check the version of the .NET framework assossiated The WS needs the 4.0 version of the framework (or higher)
3.5 Create the application in IIS When the application is created, the icon of the floder changes
4. Configuration of the Web.config file The Web.config file is located in : C:\inetpub\wwwroot\RI_WS In the following example the parameters needed for the configuration are: Db type: SQL Express Server name:TRAINING\SQLEXPRESS Mapping store:NA_MS Login:MAUSERLU Password:MAUSERLU
4.1 Configuration of the Web.config file You must first indentify the line corresponding to your environement
4.2 Configuration of the Web.config file Uncomment the configuration line dedicated to your environement Enter the parameters listed in slide 12 Server Name Mapping Store Name Credentials
5. Check if the WS is correctly installed URL : LocalHost/RI_WS/ End Point Paths
Web Service