Fórum

How to use the liferay service in Javascript

thumbnail
Leon Dai, modificado 13 Anos atrás.

How to use the liferay service in Javascript

New Member Postagens: 18 Data de Entrada: 28/06/07 Postagens Recentes
After successfully building the Liferay Service I can use the service with the LocalServiceUtil class well.

Now I need to use it in Javascript.
But the ServiceBuilder has generated only the service.js file with the content:
liferay.Service.register("Liferay.Service.Foo", "com.test.service.BarServiceUtil");

Can someone point out, what should I do so that I can use the service in Javascript?

Thanks a lot!

Leon