I'm having a strange problem using the RIS.war REST services. I've
configured the RIS.war and essentially the implementation is working:

A GET call to http://userappserver.domain.com:8180/RIS/identities
returns a list of users with attributes:

(copied one entry of the entire list)


Code:
--------------------

{
"Managers": [],
"Groups": [],
"Links": [
{
"Link": "/RIS/wf/workitems?filter=Addressee%3Dcn%3Dabcd1234%2Cou%3D Active%2Cou%3DIdentities%2Cou%3DInternal%2Co%3DCom pany",
"Type": "wf/workitems",
"Value": "Workflow Workitems"
}
],
"GUID": "8679b04e984e064bdaa68679b04e984e",
"Link": "/RIS/identities/8679b04e984e064bdaa68679b04e984e",
"DN": "cn=abcd1234,ou=Active,ou=Identities,ou=Internal,o =Company",
"FirstName": [
"Some"
],
"LastName": [
"Name"
],
<omitted photo tag>
"Title": [],
"TelephoneNumber": [],
"Department": [],
"Location": [],
"Email": []
}

--------------------


This seems correct but the strange thing is, is that the TelephoneNumber
and Email attributes stay empty even if they are populated with values
in eDir.

However:
Using a GET to get the Email address attribute works like a charm.

http://tinyurl.com/nx3rawf


Code:
--------------------

{
"GUID": "8679b04e984e064bdaa68679b04e984e",
"DN": "cn=abcd1234,ou=Active,ou=Identities,ou=Internal,o =Company",
"Link": "/RIS/identities/8679b04e984e064bdaa68679b04e984e",
"Email": [
"some-mail@maildomain.com"
]
}

--------------------


Does anybody know why the identities list does not display the Email
Address while the specific query does return a value ?

A second question: according to the documentation, the following URL
should display all user attributes configured in the DAL:

http://tinyurl.com/obn3qqt

But this returns an error:


Code:
--------------------

{
"Code": {
"Value": "Sender",
"Subcode": {
"Value": "InvalidUri"
}
},
"Reason": {
"Text": "Not found"
}
}

--------------------


Userapp is on patch E (including the RIS.war). Any ideas on both
problems ?


--
Sjoerdk
------------------------------------------------------------------------
Sjoerdk's Profile: https://forums.netiq.com/member.php?userid=1135
View this thread: https://forums.netiq.com/showthread.php?t=53415