Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Unable to add Users or Groups via webservices


Level 2

LCES2.5 turnkey:

I'm trying to add users or groups via webservices, calling DirectoryManagerService.createLocalUser() and I'm getting the following error: "org.xml.sax.SAXException: Unable to create JavaBean of type Missing default constructor? Error was: java.lang.InstantiationException"

I'm doing something similar to what was suggested in this post:

But that did not work for me.

FYI, I can't get it to work via Flex Remoting either, I get a similar error. Is there any trick to get that to work?



1 Reply


Level 2

This is problably a little late, but.. I faced the same problem and it was fixed by using Directory.UserImpl, instead of Directory.User.