we are converting LAPI calls to CWS content web services API as part of our CS16 upgrade. In one of our Java custom code we are using LAPI_INBOX and using listInbox method as below
LLValue wfTasks = (new LLValue()).setTable();
int result = llInbox.ListInbox(wfTasks);
Please let us know how we can achieve the same using CWS API