Xform submission redirect to external server

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Xform submission redirect to external server

hesos
Hello,

I have been trying to perform the following scenario:
1. At server A I have a working PHP application
2. At server B I have an instance of Orbeon Forms
3. I work on server A and I wish to display forms using Orbeon.
4. After I click to enter some data I redirect to server B and pass a generated submission link.
5. Server B uses the link to create an xforms:submission element and displays the form with a save button
6. After I click save I would like the Orbeon Form to send post data to the PHP application (for further processing) and then redirect the user to a thank you page (also PHP page on Server A).

Is this possible?

I tried already:
<xforms:submission action="http://example.com/someController/someAction?somequery=someparams...
<xforms:submission resource="http://example.com/someController/someAction?somequery=someparams...
<xforms:submission ... >
<xforms:load ev:event="xforms-submit-done" resource="http://example.com/someController/someAction?somequery=someparams"/> 
</xforms:submission>

(last one from this place: http://orbeon-forms-ops-users.24843.n4.nabble.com/Redirect-after-submission-td38409.html#a38412)

No success.

Please let me know if the mentioned problem is solvable. Maybe I should approach this differently?

Best regards
Hesos.