The Below code will show you how you can create the service in Liferay and how you can call that services using javascript.
- For this, First you have to create service builder(service.xml) to build service using ant build-service command.
service.xml
<!DOCTYPE service-builder PUBLIC "-//Liferay//DTD Service Builder 6.2.0//EN" "http://www.liferay.com/dtd/liferay-service-builder_6_2_0.dtd"><service-builder package-path="com.evon"> <author>manish</author> <namespace>JSONService</namespace> <entity name="Employee" local-service="true" remote-service="true"> <!-- PK fields -->
Being an effective forum, here you can also post & look for various programming queries along with their solutions including c, android, php, javascript questions and answers etc.
No comments:
Post a Comment