RE: Liferay Json web service url in lIferay 7.4

thumbnail
Kiran Yalavali, modified 3 Years ago. Regular Member Posts: 175 Join Date: 10/15/14 Recent Posts

Hi Team,

I have create a one service method using list of employee. I go to JSON API and hit the invoke button result is showing but I take the url and I checking in browser I am getting this error "You do not have permission to access the requested resource."

I am using these two annotation @JSONWebService and @AccessControlled(guestAccessEnabled = true) but Unable to get result in browser.

Please help me anyone .

Thanks.

 

 

 

thumbnail
Mohammed Yasin, modified 3 Years ago. Liferay Master Posts: 593 Join Date: 8/8/14 Recent Posts

Hi ,

You may need to update your web service in Service Access Policy, Control Panel -> Service Access Policy -> update your api .

https://help.liferay.com/hc/en-us/articles/360018176411-Service-Access-Policies