Listato 1 Configurazione del Service Builder sul file service.xml
<?xml version="1.0" encoding="UTF-8"?>
<!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="it.dontesta.shirus.labs.liferay.ws.example">
<author>amusarra</author>
<namespace>shirus_labs_liferay_ws_example</namespace>
<entity name="CustomUsers" local-service="true" remote-service="true">
</entity>
<exceptions>
<exception>UsersNotFound</exception>
</exceptions>
</service-builder>