سؤال

I'm using Orbeon Forms 3.9 CE. To save the form data into a relational db, I decided to implement my own REST service. But now, when I tried to configure it in Orbeon, it doesn't worked.

I created the properties-local.xml in /WEB-INF/resources/config like this:

<properties xmlns:xs="http://www.w3.org/2001/XMLSchema"
        xmlns:oxf="http://www.orbeon.com/oxf/processors">

          <property as="xs:anyURI"
              name="oxf.fr.persistence.app.uri.*.*.*"
              value="http://localhost:8090/orb-form-persistence/FormPersistence"/>
</properties>

After server restart, when I try to submit data to a form, Orbeon nevertheless uses eXist instead of my service.

Any tips for me? Thanks!

هل كانت مفيدة؟

المحلول

The configuration is correct, but it only applies to forms using the Form Runner persistence layer. While it is possible to use the Form Runner persistence layer with forms you write in XForms "by hand", typically it will only be used by the forms you create with Form Builder.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top