Foros de discusión

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

ruchi sharma, modificado hace 11 años.

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

Junior Member Mensajes: 95 Fecha de incorporación: 24/03/11 Mensajes recientes
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, modificado hace 11 años.

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

Liferay Master Mensajes: 550 Fecha de incorporación: 29/12/10 Mensajes recientes
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, modificado hace 11 años.

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

Junior Member Mensajes: 95 Fecha de incorporación: 24/03/11 Mensajes recientes
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, modificado hace 11 años.

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

Junior Member Mensajes: 95 Fecha de incorporación: 24/03/11 Mensajes recientes
Hi Amit,

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

Many Thanks
Ruchi
kunal shah, modificado hace 11 años.

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

New Member Mensajes: 9 Fecha de incorporación: 6/12/12 Mensajes recientes
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, modificado hace 11 años.

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

Junior Member Mensajes: 63 Fecha de incorporación: 5/07/11 Mensajes recientes
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, modificado hace 9 años.

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

New Member Mensaje: 1 Fecha de incorporación: 27/02/14 Mensajes recientes
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