Jump to: navigation, search

Install UBIK Web Service


Revision as of 11:33, 29 July 2013 by PFR (Talk | contribs)

This page describes how to set up an IIS server and a web service for UBIK® on MS Server 2008 R2. The web service is used to publish data from the UBIK® database to a mobile device (eg mobile phone, tablet).

Installation of Microsoft IIS

Resources

A physical server with MS Server 2008 R2 is used as the host system. On this server, the Hyper-V role is installed to operate at several virtual servers . However, a virtual server can have different operating systems. But in our case we need also an MS-​​Server2008 R2 installation.

Install role

To install the Internet Information Services (IIS) on Windows Server 2008 R2, start the server manager.

  • Click Start, point to Administrative Tools, and then click Server Manager.
  • Click Roles Summary, click Add Roles.
  • Use the "Add Roles" wizard to add the Web Server role.

When you use the Add Roles Wizard to install IIS, you get the default installation, which has a minimum set of role services. If you need additional IIS role services, such as Application Development or Health and Diagnostics, make sure to select the check boxes associated with those features in the Select Role Services page of the wizard.

01_Server Manager 02 Add Roles Wizard 03 Add Roles Wizard 04 Add Roles Wizard 05 Add Roles Wizard 06 Add Roles Wizard 07 Add Roles Wizard 08 Add Roles Wizard 09 Add Roles Wizard 02_Server Manager


Configuration of the web server

10 IIS Manager

For UBIK webservice we need additional features to make it properly and smoothly.

  • Microsoft. NET Framework 4
  • Roles / Feature. NET Framework 3.5.1 feature


Download and installation Microsoft .NET Framework 4

.NET Framework 4

01 .net Framework4 02 .net Framework4 03 .net Framework4

Installation .net Framework 3.5.1 Feature

01 .net Framework3.5.1 02 .net Framework3.5.1 03 .net Framework3.5.1 04 .net Framework3.5.1

Add Application Pool

Within an application pool is defined which (parts of) web site and which work process (es) will be delivered - ultimately this means that an application pool defines who is responsible for the processing of one (or several) URL (s).

01 Application Pool 02 Application Pool 03 Application Pool

Certificate

We need a certificate that guarantees us the security of the connection and recognition of authorized mobile devices. After the creation of the certificate on the server, it must be exported using the export function. Our developers need this certificate to integrate it into our mobile application.

01 Certificate 02 Certificate 03 Certificate 04 Certificate

Bindings

Now we create a binding, so we get the correct certificate to access to our IIS service from external.

01 Binding 02 Binding 03 Binding 04 Binding 05 Binding 06 Binding 07 Binding

Local IIS-User

This member is necessary because it allows the external clients to have access to the IIS user entitle folder.

01 Local IIS-user 02 Local IIS-user 03 Local IIS-user 04 Local IIS-user 05 Local IIS-user 06 Local IIS-user 07 Local IIS-user 08 Local IIS-user 09 Local IIS-user

Create new service for UBIK

01 New Service 02 New Service 03 New Service 04 New Service 05 New Service 06 New Service 07 New Service 08 New Service 09 New Service

Testing the new service

01 Test New Service

See also