Hello!
We have been using the Orbeon persistence API to create forms using
templates we have created.
Firstly, I am creating a template, and publishing it. I then am trying to
use the API to create a form using that template. My template details are as
follow.
Application Name: Test_Form
Form: Test_Form
The content of the template is just a simple input. Now I want to create a
new form with that template with the following
Method: PUT
URL:
http://localhost:8080/orbeon/fr/service/persistence/crud/Test_Form/Test_Form/data/123/data.xml
Content-Type: application/xml
Body:
<?xml version="1.0" encoding="UTF-8"?>
<form xmlns:fr="
http://orbeon.org/oxf/xml/form-runner"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
fr:data-format-version="4.0.0">
<section-1>
</section-1>
</form>
When I do this I get an error 400 back. The funny thing here is that this
same call used to work.. I don't get any errors in the logs, I just get a
400 back.
I have tried wiping my database (Drop Database and recreating it)
Doing a very simple example (The on above)
Any idea on whats going on here?
Thanks,
Joel.
--
Sent from:
http://discuss.orbeon.com/