Click or drag to resize

Service Debugging

Home

This topic contains the following sections:

Service debugging

By default, the web service is available at the following location:

http://localhost/CAS.OPCWSDataAccess/OPCAdvancedDataAccess.asmx

It is not a website, but can be opened locally (only localhost as host name can be used) in any browser. This enables a primitive debugging interface, like in the figure below.

WebService

It is possible to click on a particular function and try to invoke it.

It is reasonable to start from function “GetVersion”. This function returns the version of the current web service interface. Besides returning the version, this function may be useful for debugging purposes. If this function works properly (no exception occurs) it means that the web service extension (OPC2SOAP) is able to establish that connection with DataPorter main engine and everything is installed properly.

IIS and ASP.NET integration

After IIS installation we need to check if ASP.NET is integrated with IIS. If ASP.NET is not integrated with IIS we need to:

  1. Launch the command window (Start ->Launch and write in “cmd”). See the picture below.

  2. Go to the .Net Framework folder, default c:\windows\Microsoft.NET\Framework\v2.0.50727

  3. Write “aspnet_regiis -i” in the command window. After successful installation we have ASP.NET integrated with IIS.

ASPNET IIS integration