Web Service JeanFrancois LEBLANC Christian SEBASTIAN 11 13
Web Service Jean-Francois LEBLANC Christian SEBASTIAN 11 -13 May 2016 Eurostat, Unit B 3 – IT solutions for statistical production Eurostat
Table of Contents 1. Objectives 2. SDMX-RI Components 3. Installation of the NSI web service 1. Creation of your domain 2. Deployment of the web service 1. Create your datasource 2. Configuration 3. Test your connection 4. Datasource created 5. Datasource target 3. Web service deployment 1. Select the nsi-jax-ws. war file 2. Deploy the war file 4. Check if the web service is correctly installed Eurostat 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 3 Eurostat
2. SDMX-RI Components Firewall DB Server Workstation MSDB Store App Server Mapping NSI-WS Assistant External Client NSIClient Test Client DB Server DDB Internal Network Secure DMZ Eurostat Internet 4
3. Installation of the NSI web service • Create a new domain in Weblogic • C: MiddlewareOracle_Homewlservercomm onbinconfig. cmd 5 Eurostat
3. 1 Creation of your domain • Keep the default settings 6 Eurostat
3. 1 Creation of your domain • Define your credentials that will allow you to log in the admin console of your domain 7 Eurostat
3. 1 Creation of your domain • Weblogic recquires a Java JDK • Select your JDK installation folder 8 Eurostat
3. 1 Creation of your domain 9 Eurostat
3. 2 Deployment of the Web Service • Copy the « params » folder included in the Web service package to the root of your WL domain 10 Eurostat
3. 2 Deployment of the Web Service • Start Weblogic server • Log in the console • URL by default : http: //localhost: 7001/console/ 11 Eurostat
3. 2. 1 Create your Datasource 12 Eurostat
3. 2. 2 Configuration • Define a name for your datasource • Enter « jdbc/mastore » for the JNDI name • Choose your database type 13 Eurostat
3. 2. 2 Configuration 14 Eurostat
3. 2. 2 Configuration 15 Eurostat
3. 2. 2 Configuration • Provide: • • • Database Name Host name Port Database User Name Password 16 Eurostat
3. 2. 3 Test Your connection 17 Eurostat
3. 2. 4 Datasource created • Click on your datasource to define its target Eurostat 18
3. 2. 5 Datasource target • Select the target panel • Select Admin. Server and save 19 Eurostat
3. 3 Web service deployment 20 Eurostat
3. 3. 1 Select the nsi-jax-ws. war file 21 Eurostat
3. 3. 2 Deploy the war file 22 Eurostat
3. 3. 2 Deploy the war file 23 Eurostat
3. 3. 2 Deploy the war file 24 Eurostat
3. 4 Check if the WS is correctly URL : Localhost: 7001/nsi-jax-ws/ installed End Point Path 25 Eurostat
Web Service 26 Eurostat
- Slides: 26