Please be sure you’ve read the docs and API specs before asking for help. Also, please be sure you’ve searched the forum for your answer before you create a new topic.
I have configured a web service source. account schema is setup two multivalued entitlement attributes. (rolenames and permittedSolutionSubTypes). all other attributes non- muti value
when i request access for account create. account gets created in the target system. but event logs and access request page is following error.
[“Exception occurred while performing \u0027Create\u0027 operation on identity \u0027leslie.fisher@parknationalbank.com\u0027: Error: class java.util.ArrayList cannot be cast to class java.lang.String (java.util.ArrayList and java.lang.String are in module java.base of loader \u0027bootstrap\u0027)”]
I even tested create by submitting a request with only one role and one loan and, i validated that attribute request for loan and role attributes are being sent as String.
for json mapping in the http configuration, i have not used quotation but i would still need to use the $plan place holder right? anything else would cause to invalid json format.
The best approach is implementing a Web Services Before Operation Rule to convert ArrayList objects to proper JSON arrays before the API call executes.