• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Restful services from liferay.

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

Need a suggestion, i have to call some external Restful webservices in my liferay portlet. From better deisgn point of view, can anybody suggest me from where should i call this code. Perhaps my localservice generated from service bulider? Any suggestions?

BR
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can create your custom service and call from it the external Restful web services , else if you already have local service of liferay. and I suggest the first solution to separate your business from liferay

Regards,
Dohar
 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Depends on what you need to do. If you want to add the capability to call liferay services for a specific portlet, you will need to edit the service.xml and enable remote service and rebuild the service. this will generate services with the axis framework inside liferay.

Other than that, I find Ahmed dohar's suggestion a good idea

you can create your custom service and call from it the external Restful web services

reply
    Bookmark Topic Watch Topic
  • New Topic