Adapter for OPC 10.3 | webMethods Adapter for OPC Documentation | webMethods Adapter for OPC Installation and User's Documentation | Adapter Services | Configuring Call Method Service
 
Configuring Call Method Service
Prerequisite:
Before you configure adapter services, ensure that you have completed the steps mentioned in Preparing to Configure and Manage Adapter Services.
A call method service executes a node value from the OPC UA server. You can configure Adapter for OPC services using Software AG Designer. For more information about adapter services, see Using Adapter Services.
*To configure Call Method service
1. In Software AG Designer, right click the package in which the service is contained and select File > New > Adapter Service.
2. Select the service from the list, provide the Element name. Click Next.
3. Select Adapter for OPC as the adapter type. Click Next.
4. Select the appropriate Adapter Connection Name. Click Next.
5. Select the template for the unique service name. Click Finish.
In the adapter service editor, select the Adapter Settings tab to confirm adapter service properties such as Adapter Name, Adapter Connection Name, andAdapter Service Template, as necessary.
6. Select Method tab, to select the attributes that retrieve value from the OPC UA server.
7. In Extended Node Id, click Browse to navigate and find the node. The node should have a child node of type method. The operation is performed by using the following fields:
Field
Description/Action
Search Node
This field shows the node which is searched and selected from the OPC UA server.
Note:
This is mainly for the nodes that are available but not visible due to Tree View Level control in Adapter Service Preference. For more information on Adapter Service Preference, see webMethods Service Development Help.
In Adapter Tree Viewer, right click on a node to view the following menu options:
Menu Option
Description
Set As Root
Use to set a node in the Tree-View as the root node. To view the hidden nodes in the tree view, set a node as a root node.
Copy Node Id
Use to copy the node's id from the tree view.
Copy Node Details
Use to copy the node's details from the tree view.
8. The following fields are auto-populated:
Field
Description/Action
Node Id
Displays the selected node Id.
Method Name
Lists all the methods supported by the selected node.
Argument Name
Lists all argument names required by the selected method.
Argument Description
Displays the corresponding argument description.
Argument Native Types
Displays the built-in type and complex data types of the argument that the OPC UA server supports.
Argument Data Type
Displays all the supported Java data types for built-in type.
Displays java.lang.Object, Document or DocumentList for complex data types.
Note:
If the Argument Field Type is an array, then you must provide the value at runtime. This field is non editable.
Argument Input
Specify the argument input value either at runtime or design-time.
Note:
If you input "?", then you must provide the value at runtime.
Field
Description/Action
Return Value Name
Displays the return value name.
Return Value Native Type
Displays the built-in type and complex data types of the return value that the OPC UA server supports.
Return Value Output Type
Displays all the supported Java data types for built-in type.
Displays java.lang.Object, Document or DocumentList for complex data types.
9. To verify input or output information for this service, use the Input/Output tab as needed.
If the Return Value Output Type is of type Document or DocumentList, then the output value displays the structure for corresponding the Document or DocumentList.
10. From the File menu, select Save.