Form Runner submit with POST

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

Form Runner submit with POST

xweg
Hello

I tried now for quite some time to configure the submit button in the
form runner. I'd like to submit the xml instance of the form with a POST
submission to an external URL.
   
    <property as="xs:string"  
name="oxf.fr.detail.buttons.*.*"                                  
value="refresh back clear pdf email submit workflow-review"/>
    <property as="xs:string"  
name="oxf.fr.detail.buttons.view.*.*"                            
value="back workflow-edit pdf"/>
    <property as="xs:string"  
name="oxf.fr.detail.buttons.test.*.*"                            
value="close"/>
    <property as="xs:boolean"
name="oxf.fr.detail.submit.content-from-persistence.*.*"          
value="true"/>
    <property as="xs:string"  
name="oxf.fr.detail.submit.buttons.*.*"                          
value="clear keep go close-window"/>
    <property as="xs:string"  
name="oxf.fr.detail.submit.go.uri-xpath.*.*"                      
value="//ConfirmURL"/><!--hidden field in the Form-->
    <property as="xs:boolean"
name="oxf.fr.detail.pdf.barcode.*.*"                              
value="false"/>
    <property as="xs:boolean"
name="oxf.fr.detail.send.email.*.*"                              
value="false"/>
    <property as="xs:boolean"
name="oxf.fr.detail.send.pdf.*.*"                                
value="false"/>
    <property as="xs:boolean"
name="oxf.fr.detail.send.alfresco.*.*"                            
value="false"/>
    <property as="xs:anyURI"  
name="oxf.fr.detail.send.uri.*.*"                                
value="http://myurl.com/>

this is what I found so far. Wireshark tells me that there is no POST
submission but the GET request from the go button is ok.
What did I forget?




--
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: Form Runner submit with POST

Erik Bruchez
Administrator
Florian,

I thought we supported this mode but after all it seems we don't at  
the moment: the form data, when using the Save, Send, or Workflow Send  
buttons, always first save the data to the Form Runner persistence  
layer.

The oxf.fr.detail.send.uri property points to the URL of a  
confirmation page, not to a service where the form data is sent.

What you could do though is plug in your own persistence layer to save  
the data to your own place. We have some doc on this here:

http://wiki.orbeon.com/forms/doc/contributor-guide/form-builder-integration-notes

-Erik

On Jul 7, 2009, at 2:33 AM, Florian Stoller wrote:

> Hello
>
> I tried now for quite some time to configure the submit button in  
> the form runner. I'd like to submit the xml instance of the form  
> with a POST submission to an external URL.
>     <property as="xs:string"  
> name="oxf.fr.detail.buttons.*.*"                                  
> value="refresh back clear pdf email submit workflow-review"/>
>   <property as="xs:string"  
> name="oxf.fr.detail.buttons.view.*.*"                              
> value="back workflow-edit pdf"/>
>   <property as="xs:string"  
> name="oxf.fr.detail.buttons.test.*.*"                              
> value="close"/>
>   <property as="xs:boolean" name="oxf.fr.detail.submit.content-from-
> persistence.*.*"          value="true"/>
>   <property as="xs:string"  
> name="oxf.fr.detail.submit.buttons.*.*"                            
> value="clear keep go close-window"/>
>   <property as="xs:string"  name="oxf.fr.detail.submit.go.uri-
> xpath.*.*"                      value="//ConfirmURL"/><!--hidden  
> field in the Form-->
>   <property as="xs:boolean"  
> name="oxf.fr.detail.pdf.barcode.*.*"                              
> value="false"/>
>   <property as="xs:boolean"  
> name="oxf.fr.detail.send.email.*.*"                                
> value="false"/>
>   <property as="xs:boolean"  
> name="oxf.fr.detail.send.pdf.*.*"                                  
> value="false"/>
>   <property as="xs:boolean"  
> name="oxf.fr.detail.send.alfresco.*.*"                            
> value="false"/>
>   <property as="xs:anyURI"  
> name="oxf.fr.detail.send.uri.*.*"                                  
> value="http://myurl.com/>
>
> this is what I found so far. Wireshark tells me that there is no  
> POST submission but the GET request from the go button is ok.
> What did I forget?
>
>
>
> --
> 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
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



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