Regarding webservice cal,l on submission of forms

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Regarding webservice cal,l on submission of forms

ankur.badoni

Hi,

 

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?

 

 

Best Regards,

Ankur Badoni

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Regarding webservice cal,l on submission of forms

Alessandro Vernet
Administrator
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