RE: Creating Remote Services

thumbnail
ali yeganeh, modified 5 Years ago. Regular Member Posts: 148 Join Date: 5/1/19 Recent Posts
Hi
I need to do a series of operations that are not database dependent.
How do I enable the remote feature ( look like service builder for every entity ),  while I don't have an entity?
thumbnail
Pankaj Kathiriya, modified 5 Years ago. Liferay Master Posts: 722 Join Date: 8/5/10 Recent Posts
You dont have to use service-builder always while creating web-services.You can also create independent JAX-RS Restful Web Services in DXP.
thumbnail
ali yeganeh, modified 5 Years ago. Regular Member Posts: 148 Join Date: 5/1/19 Recent Posts
Hi
  Can I use login for authentication in JAX-RS ?
thumbnail
Christoph Rabel, modified 5 Years ago. Liferay Legend Posts: 1555 Join Date: 9/24/09 Recent Posts
Yes. You have the Liferay user in the request. I am not sure which Liferay version you use, basically jaxrs is Liferay 7.0, in 7.1+ Liferay provides an osgi whiteboard to create rest services AND they also have rest builder for 7.2+
https://liferay.dev/blogs/-/blogs/rest-custom-context-providers
https://portal.liferay.dev/docs/7-2/appdev/-/knowledge_base/a/rest-builder
thumbnail
ali yeganeh, modified 5 Years ago. Regular Member Posts: 148 Join Date: 5/1/19 Recent Posts
Hi Christoph Rabel
Thanks for your guidance.