hi Gavinju,
Your service may be called by mapping form's action to the URI in
controller.xml file(request-map), and then you declare it.
for example: your form with action is 'createPartyRelationship'
<request-map uri="createPartyRelationship">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createPartyRelationship"/>
<response name="success" type="view-last"
value="EditPartyRelationships"/>
<response name="error" type="view" value="EditPartyRelationships"/>
</request-map>
-----
Rong Nguyen
Olbius JSC
Deliver highest business value
http://www.olbius.com/
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/How-can-I-call-the-servicedef-service-xml-in-the-freemarker-tp4650039p4650041.html
Sent from the OFBiz - User mailing list archive at Nabble.com.