Service Debugging |
This topic contains the following sections:
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.
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.
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:
Launch the command window (Start ->Launch and write in “cmd”). See the picture below.
Go to the .Net Framework folder, default c:\windows\Microsoft.NET\Framework\v2.0.50727
Write “aspnet_regiis -i” in the command window. After successful installation we have ASP.NET integrated with IIS.