Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
getting started
December 21, 2015
8:59, EET
Avatar
pramanj
Member
Members
Forum Posts: 86
Member Since:
October 21, 2014
sp_UserOfflineSmall Offline

Hi,
I just downloaded the evaluation version of Java SDK for OPC/UA. I created the new java project and pointed the workspace to the folder where I extracted the SDK as per the readme document. It works there, but now i created my own new java project in Eclipse and copied the lib folder and the client and server sources under the new workspace for my project. I get errors in the IDE itself e.g. see the attached screenshot.

Can someone guide me in getting started with the SDK please?

(look like there is no provision to attach files to the posts!)

Regards
PRAMANJ
Cry

December 21, 2015
15:11, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Have you followed the instructions in README.txt? Make sure you have the necessary libraries in your build path. But also note that not all libraries are necessary to your projects (select either bc* or sc*).

December 21, 2015
17:58, EET
Avatar
pramanj
Member
Members
Forum Posts: 86
Member Since:
October 21, 2014
sp_UserOfflineSmall Offline

I am getting errors like “The method IsEnabledPV6() is undefined for the type UaServer” and some override errors for methods like onReadValue and onWritevalue , getVariableDataType etc… in sampleConsoleClient &server after copying them in my first trial project. I don’t know if some libraries are missing (not properly included in the build path). Basically I did right click on my project and selected build path>configure build path>libraries tab>add jars and pointed to the files in lib folder of the project created from extracted sdk as per the readme.txt file and selected all jat files there. I don’t know if I did it right? Is there any other way of selecting jars thru an XML or something like that?
Best regards
PRAMANJ

December 22, 2015
8:31, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Sounds like your project is referring to an older version of the Prosys OPC UA Java SDK jar.

December 23, 2015
13:47, EET
Avatar
pramanj
Member
Members
Forum Posts: 86
Member Since:
October 21, 2014
sp_UserOfflineSmall Offline

Yes sir, there was a mixup of the two libraries. Now its ok.
Thanks a lot.
Best Regards
PRAMANJ

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online: atdemir
18 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

TimK: 41

Member Stats:

Guest Posters: 0

Members: 683

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

Kickbiche, karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer

Moderators: Jouni Aro: 1010, 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