Hi,
We use Orbeon Forms 3.9 builder / runner with a custom persistence layer to connect to our ERP system. Both builder and runner forms will be stored and retrieved from the ERP system.
We use http headers that are set by our Apache webserver to pass information like server, port and database to Orbeon. Apache acts as a proxy.
This is our properties-local.xml file:
<property as="xs:anyURI"
name="oxf.fr.persistence.app.uri.*.*.*"
value="
http://localhost:9090/custom/rest/rest"/>
<property as="xs:string" name="oxf.xforms.forward-submission-headers" value="Authorization, erp-server, erp-database, erp-port"/>
We notice that the headers are correctly forwarded to the persistence layer for the GET request where we get the data.xml (/rest/crud/orbeon/builder/data/12/data.xml).
The request that gets the attachments however doesn't hold the headers. For example this request to the persistence layer “/rest/crud/orbeon/builder/data/12/c6bb1f982a21c5c168ae4b44cd9d3d32.jpg” doesn't hold the headers.
Did we forget to adjust one of the settings?
Regards,
Stefaan