19:06, EEST
June 6, 2017
I have this issue connecting to a KepServerEx (from Kepware):
When I use the sample application in SDK 1.5 I get the following:
Bad_EncodingError (0x80060000) “Encoding halted because of invalid data in the objects being serialized.”
Opc: Error connecting. Msg: com.prosysopc.ua.client.ConnectException: Failed to retrieve endpoints.
The server is not available: opc.tcp://localhost :49320 ServiceResult=Bad_EncodingError (0x80060000) “Encoding halted because of
invalid data in the objects being serialized.”
However, using SDK 2.0 I have no issues.
Also I tested the sample application of both SDKs on KepServerEx 6.1 and I was able to connect.
Any help would be appreciated.
17:05, EEST
Moderators
April 17, 2013
Hello Armando,
Thank you for the question. Please notice that you aren’t using the latest version of the Prosys OPC UA Java SDK. The 1.5 version was released in June 2014 and 2.0.0 in July 2014.
There are a lot of improvements and fixes which have been made since. The best solution in this case would be to update to the latest version 2.3.0. Detailed information about the changes between different versions can be seen at https://prosysopc.com/products/opc-ua-java-sdk/release-history/
Most Users Ever Online: 518
Currently Online:
23 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
hbrackel: 135
pramanj: 86
Francesco Zambon: 81
rocket science: 77
ibrahim: 75
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
fred: 41
Member Stats:
Guest Posters: 0
Members: 680
Moderators: 16
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1467
Posts: 6259
Newest Members:
sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com, aytuleModerators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5
Administrators: admin: 1