Hi Ishara, While writing integration test for patch operation I wanted to modify user list of a group. I have tried following method
setMember(String id) setUserMember(String id) setGroupMember(String id) but it gives org.apache.wink.client.ClientRuntimeException: org.wso2.charon.core.exceptions.AbstractCharonException at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:240) at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:189) at org.apache.wink.client.internal.ResourceImpl.put(ResourceImpl.java:326) at org.wso2.carbon.identity.tests.scim.SCIMServiceProviderGroupTestCase.updateGroup(SCIMServiceProviderGroupTestCase.java:208) Caused by: org.wso2.charon.core.exceptions.AbstractCharonException at org.wso2.charon.core.encoder.json.JSONDecoder.decodeException(JSONDecoder.java:153) at org.wso2.charon.core.client.SCIMClient.decodeSCIMException(SCIMClient.java:219) at org.wso2.carbon.identity.tests.scim.utils.SCIMResponseHandler.handle(SCIMResponseHandler.java:51) at org.apache.wink.client.internal.handlers.HandlerContextImpl.doChain(HandlerContextImpl.java:52) at org.apache.wink.client.internal.ResourceImpl.invoke(ResourceImpl.java:227) ... 36 more seems like after modifying user list of a group, json decoder fails some where. This does not happen for updating group name only. Can you point the correct method to add new user member to a group from id ? (org.wso2.charon.core.objects.Group). -- Gayan Gunawardana Software Engineer; WSO2 Inc.; http://wso2.com/ Email: ga...@wso2.com Mobile: +94 (71) 8020933
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev