Expand my Community achievements bar.

Unable to add Users or Groups via webservices

Avatar

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 com.adobe.idp.um.api.infomodel.User. Missing default constructor? Error was: java.lang.InstantiationException"

I'm doing something similar to what was suggested in this post: http://forums.adobe.com/message/2092442#2092442

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?

TIA

julio

1 Reply

Avatar

Former Community Member

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