Orbeon Forms Submit to REST PUT method

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

Orbeon Forms Submit to REST PUT method

stefaan.thys
Hi,

I've created a form with Orbeon Form Builder.
Through the properties-local.xml I display the submit button on the page.
I've also created a REST PUT method in .NET that saves the data to a folder.
When I call it with Fiddler it works fine.

Does anynone know how I can call my REST method when the user clicks on the
submit button in Orbeon Forms?

Thanks in advance.


Kind Regards,
Stefaan


--
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: Orbeon Forms Submit to REST PUT method

Erik Bruchez
Administrator
Stefaan,

The Submit button saves data through the persistence layer API. You
could use the Send button as well, which POSTs the data to a URL of
your choice. See:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Buttons-configuration

-Erik

On Tue, Nov 15, 2011 at 2:02 AM,  <[hidden email]> wrote:

> Hi,
>
> I've created a form with Orbeon Form Builder.
> Through the properties-local.xml I display the submit button on the page.
> I've also created a REST PUT method in .NET that saves the data to a folder.
> When I call it with Fiddler it works fine.
>
> Does anynone know how I can call my REST method when the user clicks on the
> submit button in Orbeon Forms?
>
> Thanks in advance.
>
>
> Kind Regards,
> Stefaan
>
>
> --
> 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
>


--
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: Re: Orbeon Forms Submit to REST PUT method

stefaan.thys
Erik,

Thanks for the feedback.

Kind Regards,
Stefaan


Stefaan Thys
Software Architect
direct:
[hidden email]

LetterGen
Groene Hofstraat 31
2850 Boom
Belgium
www.lettergen.com
tel: +32 3 450 89 80
fax: +32 3 450 89 89

- DISCLAIMER -
This message contains confidential information and is intended only for [hidden email]. If you are not [hidden email], you should not disseminate, distribute or copy this e-mail. Please notify [hidden email] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Stefaan Thys therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.
--------------------------------------------------------------------------

-----Original Message-----

From: [hidden email] [mailto:[hidden email]] On Behalf Of Erik Bruchez
Sent: woensdag 30 november 2011 7:26
To: [hidden email]
Subject: [ops-users] Re: Orbeon Forms Submit to REST PUT method

Stefaan,

The Submit button saves data through the persistence layer API. You could use the Send button as well, which POSTs the data to a URL of your choice. See:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Buttons-configuration

-Erik

On Tue, Nov 15, 2011 at 2:02 AM,  <[hidden email]> wrote:

> Hi,
>
> I've created a form with Orbeon Form Builder.
> Through the properties-local.xml I display the submit button on the page.
> I've also created a REST PUT method in .NET that saves the data to a folder.
> When I call it with Fiddler it works fine.
>
> Does anynone know how I can call my REST method when the user clicks
> on the submit button in Orbeon Forms?
>
> Thanks in advance.
>
>
> Kind Regards,
> Stefaan
>
>
> --
> 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
>


--
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