How to configure restful webservice in cyclos 3.7.1

Any issue about installation and configuration of the Cyclos software

Moderators: hugo, alexandre, rmvanarkel

Post Reply
afzal
Posts: 12
Joined: Mon Dec 10, 2012 7:48 am
Location: Dhaka, Bangladesh
Contact:

How to configure restful webservice in cyclos 3.7.1

Post by afzal »

Hi!

I have recently started working on cyclos. Have spent some time and the application is up and running. I can use SOAP webservice.

Now I would like to use RESTFul web service. I was trying to see the list of rest services through http://localhost:8080/cyclos/rest but did not work.

It give the following error:
type Status report

message Unauthorized

description This request requires HTTP authentication.


It would be great help if any of you explain me the steps to enable/configure rest. I could not find any specific documentation on this.

Thanks.
With Best Regards
Md. Afzalur Rashid
Sr. Consultant
afzal
Posts: 12
Joined: Mon Dec 10, 2012 7:48 am
Location: Dhaka, Bangladesh
Contact:

Re: How to configure restful webservice in cyclos 3.7.1

Post by afzal »

Hi!

I have manged to fix this. Now the restful web service also working fine.

I have done the following to make it work:
  • Created Web service client by choosing mobile phone application as channel & setup http username and password
  • Setting Mobile Application Channel in Permission Groups-> Full Member(view)-> Member Group Settings
  • Setting Mobile Application Channel in Permission Groups-> Full Member(view)-> Member Group Settings
  • Enable External Access For Mobile Application and RESTFul Webservice client
I am attaching the screenshot for reference.

This may help someone to reduce the time for setting up the same.

Thanks.
Attachments
Member external access
Member external access
externalAccessAtMember.png (11.4 KiB) Viewed 2937 times
Permission setings
Permission setings
permissionToMemberGroup.png (68.21 KiB) Viewed 2937 times
Restful web service client
Restful web service client
RestFullWebClient.png (26.82 KiB) Viewed 2937 times
With Best Regards
Md. Afzalur Rashid
Sr. Consultant
Post Reply