Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Creating Remote Services
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?
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?
You dont have to use service-builder always while creating web-services.You can also create independent JAX-RS Restful Web Services in DXP.
Hi
Can I use login for authentication in JAX-RS ?
Can I use login for authentication in JAX-RS ?
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
https://liferay.dev/blogs/-/blogs/rest-custom-context-providers
https://portal.liferay.dev/docs/7-2/appdev/-/knowledge_base/a/rest-builder
Hi Christoph Rabel
Thanks for your guidance.
Thanks for your guidance.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™