This article from InSource shows how to trigger an operation from the Wonderware Web Services OI Server.
- Author: Rich Brooks
- Published: 1/2/2020
- Applies to: WEBSVC OI Server v1.0 and higher
The Wonderware Web Services OI Server allows for an operation to be triggered on demand. This tech note describes how to setup an on demand trigger for the Simple Object Access Protocol (SOAP) option. SOAP is a SML-based web services access protocol.
Start by entering the WSDL URL for the web service and click on the Connect button.
The driver may be used to read from or write to tags configured for an operation of the Web Service. One or more Operations will be returned to populate a dropdown list.
Type in the Value column to update the tag name (furnaceid in this example). Clicking on the Test button will write this value to the web service operation.
The Web Service will return the results as shown above. Configure the Operation for on demand use by entering a zero for the Update Interval.
Trigger the web request on demand by setting the $op$ww.get.run reference ($op$soap.getnetworidoffurnace.run in this example ) to true. It will reset back to zero after the operation is triggered.