I have an application that performs an Update to a Content Item via RIDC. The Item is specified via Content ID. Since the UPDATE_DOCINFO service needs dID the DOC_INFO service is run first to get it.
DOC_INFO returns Information just fine. However, when UPDATE_DOCINFO is run, It always seems to return an error message indicating that Creation Date is invalid. The content Item updates without that error message via the Native Web UI. My code works when pointed at an Oracle WCC 11G server.
I've tried:
Adding dID to a new DataBinder, with dCreateDate
getDate()
DataObjectEncodingUtils.decodeDate()
(w/ get()
) getDate()
) DataObjectEncodingUtils.encodeDate()
(w/ getDate()
) get()
instead of getDate()
Directly using DOC_INFO's response Binder
All the approaches listed have returned the same error message.
After Working With Oracle Support on the issue I found an answer.
RIDC defaults to an ISO8601 formatted Date. However, my server is using a different date format.
The solution was: