Hi,
We have an existing 12.2.1.3 working OSB in production. The OSB is built in the following manner.
There are 2 Proxy-services ex/C:/Users/chavanp/mylnk/gitSOA/ldapAuth/ldapAuthServices/ldapAuthServices.jprposed as Rest-Service.
One of the Proxy-service takes in a json with 3 String properties. This is the proxy which is actually being used. The pipeline attached to this proxy processes the request & create a request for the 2nd proxy.
The 2nd Proxy takes in String parameter as described in the sample below
{
"appCode": "<some String>",
"baseDN":"<some String>",
"userId":"<some String>",
"creds":"<some String>",
"searchFilter": "<some String>"
}
The 2nd proxy returns the user details to the pipeline attached to the first proxy. The returned result is the processed through a javascript component to filter out groups with specific prefix (from “orclMemberOf” property").
Issue:
We are in process of migrating the OSB to 12.2.1.4. The same OSB does not function as expected on 12.2.1.4. The javascript is unable to parse the response object from the 2nd proxy.
One observed difference is the result returned by the 2nd proxy.
The 12.2.1.3 returned some thing like below
{
"entriesReturned": "1",
"searchResultEntry": [ {
"@dn": "cn=… ,cn=Users,dc=… ,dc=org",
"@index": 0,
"orclMemberOf": {"value": [
"cn=…,cn=…,cn=…,cn=groups,dc=…,dc=org",
“…”
“…”
\]},
"sn": "…",
"givenName": "…"
}]
}
where as the 12.2.1.4 returns
{
"entriesReturned": "1",
"searchResultEntry": [ {
"@dn": "cn=… ,cn=Users,dc=… ,dc=org",
"@index": 0,
"orclMemberOf": [
"cn=…,cn=…,cn=…,cn=groups,dc=…,dc=org",
“…”
“…”
\],
"sn": "…",
"givenName": "…"
}]
}
Also on examining the returned xml it shows multiple elements of the type
<tns:orclMemberOf>……</tns:orclMemberOf> in the SOAP object. During the debug, I have also observed errors complaining about these duplicates.
I would appreciate some help/suggestions to fix this issue.
Regards,
Prakash