LCES2.5 turnkey:
I'm trying to add users or groups from Flex, using remoting by calling DirectoryManagerService.createLocalUser(User,password) and I'm getting the following error: "class com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object:{system=false, canonicalName=test, principalType=USER, userid=test, domainName=DefaultDom, local=true, locked=false, disabled=false} of type:java.util.HashMap to type: com.adobe.idp.um.api.infomodel.User null".
Weird that I get a similar error when I try the same thing via Webservice.
I'm getting that error when trying it from my Flex code or even via "Test Operation".
Any idea what might be causing that?
TIA
julio
ps: I get a similar error when I try to createLocalGroup. all queries work fine though (findDomains, findGroups, findPrincipal, etc.)
Views
Replies
Total Likes
The message is saying "Can't put a HashMap into an object of type User".
Looks like you're not providing the right data types.
Jasmin
Views
Replies
Total Likes
Jasmin,
Thanks for the reply, but... I imagined that the error indicated a bad
data type, but I am using the Flash Builder plugin to find LCES
services and all the code was introspected and generated by the
plugin. As I mentioned in my post, I tried to use remoting and SOAP,
and in both cases I got a similar response.
Maybe the problem is in the code generation itself.
I tried to use SOAP from other environments and got the same result
with the create group/user. The sample code in QuickStarts is for C3
and tried similar code in Flex and got the same error. There seems to
be an issue on LCES side which does not recognize the data coming from
the call.
julio
Views
Replies
Total Likes