|
|
|
|

|
|
Back to all documents
Installing the Legacy Version #2 OPC Web Client Web Service
Introduction
This paper walks you through step-by-step how to install the OPC Web Client Web Service on your IIS Web Server.
Intended Audience
- Web Developers
- Web Server Administrators
Pre-requisites
- IIS must be installed
- Windows 2000, XP or 2003.
- Administrative privileges on the Web Server computer.
- Microsoft .NET framework version 1.1 or newer must be installed.
Installing the OPC Web Client Web Service
Installing the OPC Web Client Web Service is a three-part process: 1. Installing the binaries 2. Configuring the OPC Web Client Web Service within IIS 3. Configuring DCOM
Step 1 - Installing the Binaries
Begin by double-clicking the OPC Web Client Web Service install program on the Web Server itself.
The easiest thing to do is to accept the default settings proposed by the install program and to proceed with the installation.
Step 2 - Configuring the OPC Web Client Web Service within IIS
- Start the IIS user interface:
Start -> Settings -> Control Panel, Administrative Tools -> Internet Services Manager.
- Expand the computer name, expand the "Defaullt web site" (if you have multiple websites, then expand the one relevant to your needs),
- right-click on the "Default Web Site" node (or whichever website applies to you) and then choose "New -> Virtual Directory".
- A wizard will open.
- Click the NEXT button.
- The "Alias" field is the name of our virtual directory, name it "OPCWebService".
- Click NEXT.
- You will need to specify the directory where this virtual directory will physically point to. In this case we need
to specify the location as to where the Web Service physically exists. If you accepted the default installation settings then the value will be:
- The next screen will ask for access permissions, we can accept the default permissions as shown below:
- Click the NEXT button to continue.
- You will then see the last screen in which you need to click the FINISH button.
The OPC Web Client Web Service is now installed!
Testing the OPC Web Client Web Service works
- Open your web browser (Internet Explorer)
- Go to the following URL:
http://localhost/OPCWebService/EasyDAService.asmx?wsdl
- You should see some XML displayed within the browser:
Configuring DCOM
More detailed information and step-by-step instructions for configuring DCOM on Windows NT/2000 or XP/2003 systems is available through our DCOM Tutorial.
The general requirements to allow the OPC Web Client to interact with OPC Servers via COM/DCOM are as follows:
- Default Security Tab
- Default Access Permissions:
- Click the EDIT DEFAULTS button
- Press ADD
- Click SHOW USERS
- Select the ASPNET user and click the ADD button
- Click the OK button twice more
- Default Launch Permissions:
- Click the EDIT DEFAULTS button
- Press ADD
- Click SHOW USERS
- Select the ASPNET user and click the ADD button
- Close DCOM configuration
Any OPC Servers that you need for your application to access should be made "Accesible" and "Launchable"
by ASPNET in DCOMCNFG. Failure to do so will prevent the webservice from accessing the OPC Server.
You have now completed all of the steps required to install and configure the OPC Web Client Web Service on IIS. You are now ready to start developing Client applications.
If you want to configure the example program (OPC Web Client Web Service Consumer) then click here to go that tutorial.
|
|

|
|
|