留言板

How to call the existing/external webservice from liferay portlet.

ruchi sharma,修改在11 年前。

How to call the existing/external webservice from liferay portlet.

Junior Member 帖子: 95 加入日期: 11-3-24 最近的帖子
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
thumbnail
Amit Doshi,修改在11 年前。

RE: How to call the existing/external webservice from liferay portlet. (答复)

Liferay Master 帖子: 550 加入日期: 10-12-29 最近的帖子
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,修改在11 年前。

RE: How to call the existing/external webservice from liferay portlet.

Junior Member 帖子: 95 加入日期: 11-3-24 最近的帖子
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,修改在11 年前。

RE: How to call the existing/external webservice from liferay portlet.

Junior Member 帖子: 95 加入日期: 11-3-24 最近的帖子
Hi Amit,

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

Many Thanks
Ruchi
kunal shah,修改在11 年前。

RE: How to call the existing/external webservice from liferay portlet.

New Member 帖子: 9 加入日期: 12-12-6 最近的帖子
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
thumbnail
Antônio Junior,修改在11 年前。

RE: How to call the existing/external webservice from liferay portlet.

Junior Member 帖子: 63 加入日期: 11-7-5 最近的帖子
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,修改在9 年前。

RE: How to call the existing/external webservice from liferay portlet.

New Member 发布: 1 加入日期: 14-2-27 最近的帖子
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