Click or drag to resize

Service Description

Home

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

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

Web service title: OPC Advanced Data Access Web Service.

Note Note

For a formal definition, please review the WSDL file.

This topic contains the following sections:

Miscellaneous functions:
  • 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.

Buffered Queues functions:
  • GetAvailiableQueues - gets all queues names available via this service

  • ConnectToQueue – connects to the selected buffered queue

  • StartTransaction – starts the transaction of read operation from the buffered queue

  • EndTransaction – ends the transaction

Property queries:
  • GetAvailableProperties_OneItem - returns available properties for one selected item

  • GetAvailableProperties_OneItem_returnValues - returns all properties and values for one selected item

  • GetAvailableProperties_OneItem_Proplist - returns properties for one selected item based on the property list

  • GetAvailableProperties_OneItem_Proplist_returnValues - returns properties and values for one selected item based on the property list

  • GetAvailableProperties_MultiItem_PropList - returns properties of many items based on the property list

  • GetAvailableProperties_MultiItem_Proplist_returnValues - returns properties and values of many items based on the property list

  • GetAvailableProperties_Proplist - returns available properties based on the property list

  • GetAvailableProperties_Proplist_returnValues - returns available properties and values based on the property list

  • GetOPCProperties - lists all available OPC properties

  • GetProperty_OneItem - returns the value of particular property of one selected item

Browse items functions:
  • GetAvailiableItems - gets all item names available via this service

Read value functions:
  • GetValue_OneItem – returns the value (with quality and timestamp) of one item passed as item name

  • GetValue_MultiItem – returns the value (with quality and timestamp) of many items passed as an array of item names.

Write value functions:
  • SetValueAsDouble_OneItem - sets the value of an item as Double

  • SetValueAsInt32_OneItem - sets the value of an item as Integer 32

  • SetValueAsString_OneItem - sets the value of an item as String