I am sending my form data to external web services for perform some business logic with form data as XML format. I want to send my form data in JSON format instead XML format. Is this possible? In the documentation I am able to see only three options (xml,metadata,pdfurl). How can I send the form data in JSON format?
<property as="xs:string" name="oxf.fr.detail.process.send.*.*" value='require-valid then send(uri = "http://localhost:9090/ServletAction/demoClass", method="POST", content="xml") then navigate("save-success") recover navigate("database-error")'/> Need some suggestion. |
Administrator
|
Hi Rahul,
Currently the send() action doesn't support JSON, but this would be a worthwhile addition. I am adding an RFE for this: https://github.com/orbeon/orbeon-forms/issues/2109 Alex
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
Thank you for the consideration. Will wait for implementation. |
Hi Rahul. On the off chance that you have an integrated Liferay Portal + Orbeon Forms stack (it's quite common so I'm going out on a limb here!) then you might be interested in my Liferay plugin Social Apps Proxy which currently enables Orbeon forms to consume JSON responses, and in the near future will also allow Orbeon to send JSON requests.
https://www.liferay.com/marketplace/-/mp/application/41226182 -Stian -----Original Message----- From: Rahul [mailto:[hidden email]] Sent: 27 February 2015 18:49 To: [hidden email] Subject: [orbeon] Re: Can it possible to send form data in JSON format? Hi Alex, Thank you for the consideration. Will wait for implementation. -- View this message in context: http://discuss.orbeon.com/Can-it-possible-to-send-form-data-in-JSON-format-tp4659583p4659607.html Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
This post was updated on .
In reply to this post by Alessandro Vernet
Dear Alex,
Any update on the enhancement (Sending form data in JSON format). When should I except the release? Thanks in advance. |
Administrator
|
Hi Rahul, At this point, unfortunately, this issue hasn't been specifically scheduled for an upcoming release, so this will most likely get implemented soon only of the feature gets contributed (through a pull request), or if a customer were to sponsor it using time from their Dev Support (http://www.orbeon.com/services). Alex On Thu, Mar 19, 2015 at 7:50 AM Rahul <[hidden email]> wrote: Dear Alessandro Vernet, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |