Authentication Issue while accessing REST service

Posted by mdanwarh on 17-Mar-2016 05:50

Hi,

I have created a  sample REST service using OE restmgr. But when i try to access via

http://localhost:8980/CustomerOrderApp/CustomerOrderAppService/customers

It is asking for user name and password.

I have tried. 

1) username: restmgr
password: password

2) username: restmgr1
password: password

When I change REST administration authentication: to "No user Authentication" and then access my deployed REST services it throws the following error

Please help!

Thanks in advance

All Replies

Posted by Sanjeva Manchala on 17-Mar-2016 05:58

Hi,
 
I think you have missed the transport type in the URL. Please try with the below URL and let us know what you see:

http://localhost:8980/CustomerOrderApp/rest/CustomerOrderAppService/customers

Hope this helps,
Sanjeev.
 

Posted by Satya Prasad on 17-Mar-2016 06:26

Tomcat re-start is required after changing the “REST administration authentication”.
 
Thanks,
Satya
 

This thread is closed