4. Configuration of the Web.config file
Download
Report
Transcript 4. Configuration of the Web.config file
Web Service
Jean-Francois LEBLANC
Christian SEBASTIAN
11-13 May 2016
Eurostat, Unit B3 – IT solutions for statistical production
Eurostat
Table of Contents
1. Objectives
2. SDMX-RI Components
3. Installation of the web Service
1. Deployment in wwwroot
2. Grant the access needed by IIS
3. Creation of the application in IIS
4. Configuration of the Web.config file
5. Check if the WS is correctly installed
2
Eurostat
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
3
Eurostat
2. SDMX-RI Components
Firewall
Firewall
Firewall
DB Server
Workstation
MSDB
Store
App Server
Mapping
NSI-WS
Assistant
External
Client
NSIClient
Test
Client
DB Server
DDB
Internal Network
Secure DMZ
DMZ
Eurostat
Internet
4
3. Installation of The Web Service
• Open the Ri package
• Open the app Folder
• Copy the content of the Folder
5
Eurostat
3.1 Deployment in wwwroot
• Paste the files previously copied into a new folder
you will create in c:\inetpub\wwwroot
6
Eurostat
3.2 Grant the access needed by IIS
7
Eurostat
3.3 Create the application in IIS
• Open IIS
• Right click on the folder that
contains your source files
• Click on « Convert Application »
8
Eurostat
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)
9
Eurostat
3.5 Create the application in IIS
• When the application is
created, the icon of the
floder changes
10
Eurostat
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
11
Eurostat
4.1 Configuration of the Web.config
file
• You must first indentify the line corresponding to
your environement
12
Eurostat
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 Credentials
Name
13
Eurostat
5. Check if the WS is correctly
installed
URL : LocalHost/RI_WS/
End Point Paths
14
Eurostat
Web Service
15
Eurostat