How to post the form to another application using HTTP service

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

How to post the form to another application using HTTP service

Madhav1066
HI ,
    I am using separate deployment ( Orbeon and TestWar )
When i launch UI in Orbeon and submit i am POSTING the values to Controller in TestWar.
For that i am using

<xf:submission xmlns:f="http://orbeon.org/oxf/xml/formatting" id="save" method="get"
                           f:url-norewrite="true"
                           action="http://localhost:8080/TestWar/Demo1"/>

The above is to POST the values.
My aim is , i need to use HTTP service in Orbeon form to send the values to controller.

Thanks,
Madhav
Reply | Threaded
Open this post in threaded view
|

Re: How to post the form to another application using HTTP service

Alessandro  Vernet
Administrator
Hi Madhav,

I am not sure to understand the issue. You named the submission "save", but use the method "get", which is a bit unusual. If you're really after a save operation, I'd highly recommend you use a POST, not a GET. Also, what did you expect this to do, and what happened instead?

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet