Ankur,
ankur.badoni wrote
Consider a form is created using a form builder, and deployed. Can a web
service be invoked on submit of this form, to handle persistence? Is
there any documentation/sample for this?
You could setup the detail page now to show a button at the bottom (oxf.fr.detail.buttons.*.* property) and add your own button to the form (in Form Builder), and use the "Services & Actions" to call your web service when the button is clicked. The is "fully visual" way of doing it. But it's not very satisfying, because you're not using the buttons section at the bottom of the details page.
So I'd rather extend the existing "Submit" button by enhancing Form Runner to allow for a web service to be called depending on a configuration property, instead of the data to be saved.
Alex