Unable to test method call with UACTT Lite|OPC UA Implementation: Stacks, Tools, and Samples|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Unable to test method call with UACTT Lite
Avatar
Erik Bijsterveld
New Member
Members
Forum Posts: 2
Member Since:
06/21/2026
sp_UserOfflineSmall Offline
1
06/26/2026 - 02:01
sp_Permalink sp_Print

We developed an OPC-UA server for internal use. Our goal is to communicate with this OPC-UA server using an OPC-UA Client adapter of Siemens Opcenter Connect MOM. During tests with MOM we discovered that when we try to call the OPC-UA method we get the following exception "Method Call Exception: The DataType does not have a DefaultBinary Encoding.".

To validate if our OPC-UA server is compliant with the OPC-UA standard I started testing with the 'UACTT Lite' test tool. However as soon as I try to execute a method call test script I get the error CallService does not exist. After some digging I discovered that I do not have the Call.js file which should be in the following location according to the documentation which is included with the 'UACTT Lite' test tool:

Location: /project>/library/Base/ServiceBased/MethodServiceSet/Call.js

So now I'm wondering is it even possible to test an OPC-UA method call with UACTT Lite or is this only supported in the full version?

Any help is appreciated.

Regards,

Erik

Avatar
Randy Armstrong
Admin
Forum Posts: 1686
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
06/28/2026 - 07:21
sp_Permalink sp_Print

You can use any UA client such as UAExpert to connect to Server and call the method.

If that works it is client side issue.

The issue is you have likely created a DataType Node which is used as an argument in the Method.

This DataType Node needs to have an associated DataTypeEncoding Node. If your Server does not return a HasEncoding reference when the DataType is browsed then that would explain the issue.

Avatar
Erik Bijsterveld
New Member
Members
Forum Posts: 2
Member Since:
06/21/2026
sp_UserOfflineSmall Offline
3
06/29/2026 - 02:26
sp_Permalink sp_Print

Hi Randy,

We already tested with UAExpert and with that tool we are able to execute the method call. However according to Siemens the method call executed by Opcenter Execution MOM fails because our custom created 'DataType -> BaseDataType -> Structure -> FieldObject' does not return HasEncoding. This is also confirmed when browsing to FieldObject with UAExpert.

Because we now have internally a discussion in whether or not the problem is on the OPC-UA server side or in Siemens Opcenter Connect MOM I wanted to use the UACTT Lite test tool so that it maybe would confirm the feedback of Siemens that the OPC-UA Server is not compliant to the standard.

Is it possible to also answer my initial question if it is possible to test an OPC-UA method call with UACTT Lite?

Regards,

Erik

Avatar
Randy Armstrong
Admin
Forum Posts: 1686
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
4
06/29/2026 - 13:18
sp_Permalink sp_Print

Ok - if HasEncoding is not present in the Server then the Server is the problem.

Not every client will look for it but it is required if you are returning exchanging instances over the wire.

Specification is fairly clear:

https://reference.opcfoundatio.....erences%2E

Forum Timezone: America/Phoenix
Most Users Ever Online: 1361
Currently Online:
Guest(s) 37
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1531
Posts: 5176