Services
Introduction
Form Runner supports implementing services using XPL (the XML pipeline language), associated with an application or a specific form.
NOTE: This is an advanced feature which requires programming skills.
Mapping an XPL file to a service URL
Assuming the following:
App name:
acmeForm name:
order
If you place a file called foo.xpl under
WEB-INF/resources/form/acme/service/A service called foo is made available the following URL:
/fr/service/custom/acme/fooSimilarly, if you place a file called bar.xpl under
WEB-INF/resources/form/acme/order/service/A service called bar is made available the following URL:
/fr/service/custom/acme/order/barImplementation of the service
The XPL has the following interface:
instanceinput: contains the XML dataPOSTed to the service URLdataoutput: XML data produced by the service
The following example XPL just echoes the incoming data:
Last updated