Forums

Home » Liferay Portal » English » 3. Development

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
ruchi sharma
How to call the existing/external webservice from liferay portlet.
August 8, 2012 3:27 AM
Answer

ruchi sharma

Rank: Junior Member

Posts: 95

Join Date: March 24, 2011

Recent Posts

Hello friends,
I want to call the external webservice via SOAP (I am having the wsdl url for the web service) from my portlet.
FYI, I am using liferay 6.
How can I call the existing web service from my portlet ?? Please let me know the steps to follow for calling the webservice.
Please share any wiki /link for same ??
Any help would be appreciated.
Thanks
Ruchi
Amit Doshi
RE: How to call the existing/external webservice from liferay portlet.
August 8, 2012 4:36 AM
Answer

Amit Doshi

Rank: Liferay Master

Posts: 549

Join Date: December 29, 2010

Recent Posts

You can do simple thing is try to create simple java project which will consume that web-service and create jar file for it.
And then put that jar file in your current plugins custom portlet and access there methods accordingly.

Thanks & Regards,
Amit Doshi
ruchi sharma
RE: How to call the existing/external webservice from liferay portlet.
August 8, 2012 8:30 AM
Answer

ruchi sharma

Rank: Junior Member

Posts: 95

Join Date: March 24, 2011

Recent Posts

Hi Amit,
Thanks for the reply.
I did try to create a jar file, but still I am not able to access the classes of the web services in my portlet.
I believe there is is problem in jar file, i'll keep on trying and let you know.
Thanks
Ruchi
ruchi sharma
RE: How to call the existing/external webservice from liferay portlet.
August 8, 2012 9:11 AM
Answer

ruchi sharma

Rank: Junior Member

Posts: 95

Join Date: March 24, 2011

Recent Posts

Hi Amit,

I made it working... recreated the jar , and now I am getting the xml response. emoticon

Many Thanks
Ruchi
kunal shah
RE: How to call the existing/external webservice from liferay portlet.
February 17, 2013 11:38 PM
Answer

kunal shah

Rank: New Member

Posts: 9

Join Date: December 6, 2012

Recent Posts

Hi ruchi,

i am new to liferay,and im trying to understand implementation of web service part in liferay.
Can u plese send me any demo if u have which implements web service.ANy help would be appreciated.


Thanku,
Kunal Shah
Antônio Junior
RE: How to call the existing/external webservice from liferay portlet.
February 28, 2013 9:31 AM
Answer

Antônio Junior

Rank: Junior Member

Posts: 63

Join Date: July 5, 2011

Recent Posts

kunal shah:
Hi ruchi,

i am new to liferay,and im trying to understand implementation of web service part in liferay.
Can u plese send me any demo if u have which implements web service.ANy help would be appreciated.


Thanku,
Kunal Shah



Did you change the authentication mode ?
Dhanya Marikenchaiah
RE: How to call the existing/external webservice from liferay portlet.
May 14, 2014 12:02 AM
Answer

Dhanya Marikenchaiah

Rank: New Member

Posts: 1

Join Date: February 27, 2014

Recent Posts

Hi Ruchi..can u please send me the demo how to call external webservice...i am having REST APIs and I need to get response from applications whichh ihave...
please send t to dhanya90m@gmail.com

Thanks,
Dhanya