Hi there,
I want to add a Send button that posts the form data to an external REST service running on the same machine. my properties-local.xml is as following, but I'm getting 404 HTTP error code, and by looking at the orbeon logs, it seems the 'send' process is not picking the URL defined in my local property,,, any help plz?!!
<property as="xs:string" name="oxf.fr.detail.buttons.TestApp.WelcomeForm" value="save-draft send"/>
<property as="xs:string" name="oxf.fr.detail.process.send.TestApp.WelcomeForm" value="require-valid
then send("
http://localhost:8080/SpringMVC/coffee/createasstring")
then navigate("/success")
recover navigate("/failure")"/>
the logs:
opening URL connection {method: "POST", URL: "
http://localhost:8080/orbeon/fr/TestApp/WelcomeForm/", Content-Type: "application/xml", Cookie: "JSESSIONID=89BCC8B664861ACC5DF3D7FA59D051DA", Orbeon-Token: "2876c337c7959376faa320dbd0115157c9cc1f85"}
2014-11-27 19:23:58,610 DEBUG XFormsServer - response {status code: "404"}