I used following REST API to get the session token:
http://host:port/rest-service/auth-v1/login?userName=<value>&password=<password>
It gives me the following error:
The requested resource cannot be found.
Remote API is disabled
You are running release CR2.7.11 FE2.7.11 (20120227023831 2012-02-27), please report your release number when reporting bugs.
Can anyone help me to sort this out.