Jump to: navigation, search

Difference between revisions of "HowTo:Install UBIK Web Service"


(Optional)
Line 1: Line 1:
This page describes how to set up an IIS server and a web service for {{UBIK}} on MS Server 2012.
+
This page describes how to set up an Microsoft Internet Information Server (IIS) and for a {{UBIK}} web service on Microsoft Server 2012.
 
The web service is used to publish data from the {{UBIK}} database to a mobile device (eg mobile phone, tablet).
 
The web service is used to publish data from the {{UBIK}} database to a mobile device (eg mobile phone, tablet).
  
== Installation of Microsoft IIS ==
+
== Installation of Microsoft IIS (7 or higher)==
  
=== Resources ===
+
=== Install server role ===
A physical server with MS Server 2012 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-​​Server2012 installation.
+
Start the server manager to install the Internet Information Services (IIS) on Windows Server 2012.
=== Install role ===
+
* Click Start, point to Administrative Tools and choose Server Manager.
To install the Internet Information Services (IIS) on Windows Server 2012, start the server manager.
+
* Click Roles Summary
*Click Start, point to Administrative Tools, and then click Server Manager.
+
* Click Add Roles.
* Click Roles Summary, click Add Roles.
+
* Use the "Add Roles" wizard to add the web server role
* 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.
+
  
 +
By using the "Add Roles" wizard the default set of role services gets installed, which do not fit the requirements for {{UBIK}} web services. Therefore additional IIS role services, such as Application Development or Health and Diagnostics, needs to be installed by selectint the check boxes associated with those features in the "Select Role Services" page of the wizard.
  
 
<gallery widths="500" heights="500" >
 
<gallery widths="500" heights="500" >
Line 25: Line 23:
 
</gallery>
 
</gallery>
  
== Configuration of the Web Server==
+
=== Optional: ===
 +
A physical server with Microsoft Server 2012 can be used as the host system as well as a virtual server. For example, use Hyper-V to install and operate serveral virtual servers.
 +
 
 +
== Configuration of the Web Server ==
 
<gallery widths="500" heights="500" >
 
<gallery widths="500" heights="500" >
 
File:UI_10_IIS_Manager.png|[[10 IIS Manager]]
 
File:UI_10_IIS_Manager.png|[[10 IIS Manager]]

Revision as of 11:33, 20 September 2013

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

Installation of Microsoft IIS (7 or higher)

Install server role

Start the server manager to install the Internet Information Services (IIS) on Windows Server 2012.

  • Click Start, point to Administrative Tools and choose Server Manager.
  • Click Roles Summary
  • Click Add Roles.
  • Use the "Add Roles" wizard to add the web server role

By using the "Add Roles" wizard the default set of role services gets installed, which do not fit the requirements for UBIK® web services. Therefore additional IIS role services, such as Application Development or Health and Diagnostics, needs to be installed by selectint the check boxes associated with those features in the "Select Role Services" page of the wizard.

Optional:

A physical server with Microsoft Server 2012 can be used as the host system as well as a virtual server. For example, use Hyper-V to install and operate serveral virtual servers.

Configuration of the Web Server

UBIK® Web Service requires additional features

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

Add Application Pool

Within an application pool it is defined which (parts of) web site and 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).

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.

Bindings

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

Create new Web Service

Testing the new service

01 Test New Service

Optional

Local IIS-User

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

Microsoft .NET Framework 4

Is an older Microsoft Server version used, install the .NET Framework 4.

.NET Framework 4