CEDWSample : login error

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

CEDWSample : login error

Postby lionel.vigna.external@airbus.com » Tue Mar 12, 2019 10:21 am


when i try to use the CEDWSample (cameo install dir/openapi/example folder) with the login method :
EsiUtils.getTeamworkService().login(new ServerLoginInfo("myserver url" , "login", "password" , false), false);

i got an exception

Exception in thread "main" java.lang.ExceptionInInitializerError
at com.nomagic.magicdraw.teamwork2.TeamworkService.getTeamworkOptions(TeamworkService.java:169)
at com.nomagic.magicdraw.teamwork2.TeamworkService.setLastUsedTeamworkInfo(TeamworkService.java:182)

what are these TeamworkOptions .
can you help me please ?
Forum Newbie
Forum Newbie
Posts: 1
Posts Rating:0
Joined: Tue Mar 12, 2019 10:11 am

Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 7 guests