Rest Controller as an EndPoint (controller_as_rest_endpoint) Not Working with Session State Not Defined

(Doc ID 2235372.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle WebCenter Sites - Version and later
Information in this document applies to any platform.


When trying to create a Rest Controller as an EndPoint to help to track users favorites on the application using POST, how is it possible to avoid the error saying session state not defined?

Sample code - Using the Developer's Sample Site http://hostname:port/sites/samples/controller_as_rest_endpoint



Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms