Foros de discusión
Consume SOAP web service in liferay 6.2 for Multiple portlets ?
RAVI RAJAMANI, modificado hace 6 años.
Consume SOAP web service in liferay 6.2 for Multiple portlets ?
Regular Member Mensajes: 123 Fecha de incorporación: 7/12/14 Mensajes recientes
Hi,
Need to consume a SOAP web-service in liferay portlets.
I have followed following steps for consume it portlet.
* using wsdl i have created a stub or proxy and i have consumed it porlet.
if i need consume same service in multiple portlets
What will be the approach ?
one way is create a stub in all portets individually and consume it.
Is there any other option or other way to crate a stub once and consume it in all the portlets.
Regards,
Ravi R
Need to consume a SOAP web-service in liferay portlets.
I have followed following steps for consume it portlet.
* using wsdl i have created a stub or proxy and i have consumed it porlet.
if i need consume same service in multiple portlets
What will be the approach ?
one way is create a stub in all portets individually and consume it.
Is there any other option or other way to crate a stub once and consume it in all the portlets.
Regards,
Ravi R
David H Nebinger, modificado hace 6 años.
RE: Consume SOAP web service in liferay 6.2 for Multiple portlets ?
Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientesRAVI RAJAMANI:
if i need consume same service in multiple portlets
What will be the approach?
Me? I'd be leveraging the "fake entity" approach I reviewed in my blog. Using fake entities, you encapsulate the external service access, then from a portlet perspective you access it via a similar service API that you do for any other Liferay data access.
Come meet me at Devcon 2017 or 2017 LSNA!
RAVI RAJAMANI, modificado hace 6 años.
RE: Consume SOAP web service in liferay 6.2 for Multiple portlets ?
Regular Member Mensajes: 123 Fecha de incorporación: 7/12/14 Mensajes recientesDavid H Nebinger:
Me? I'd be leveraging the "fake entity" approach I reviewed in my blog. Using fake entities, you encapsulate the external service access, then from a portlet perspective you access it via a similar service API that you do for any other Liferay data access.
I'm not getting what u are saying ,can you elaborate your approach.