what code changes need to be made to connect the Orbeon 3.5.1 version of 'Government Forms:DMV-14' app from the embedded eXist database to a remote eXist database - assuming the eXist URL is at 'http://127.0.0.1:8080/exist/index.xml' ???
|
Hi,
you have to change the URL in the action-attribute on your xforms:submissions! I.e.: under forms/common/persistance-model.xml: <!-- Load submission --> <xforms:submission id="load-submission" serialize="false" action="/exist/rest/db/forms/ {{xxforms:instance('parameters-instance')/form-id}}/ {{xxforms:instance('parameters-instance')/document-id}}" validate="false" method="get" replace="instance" xxforms:instance="document-instance" f:url-type="resource" /> change to: <!-- Load submission --> <xforms:submission id="load-submission" serialize="false" action="http://127.0.0.1:8080/exist/rest//db/forms/ {{xxforms:instance('parameters-instance')/form-id}}/ {{xxforms:instance('parameters-instance')/document-id}}" validate="false" method="get" replace="instance" xxforms:instance="document-instance" f:url-type="resource" /> That should work! Hope that helps you, bye, Marcus ----- Original Message ----- From: "raul.aguilar" <[hidden email]> To: <[hidden email]> Sent: Monday, May 07, 2007 8:16 PM Subject: [ops-users] changes to connect Orbeon 'Government Forms:DMV-14' app to a remote eXist database > > what code changes need to be made to connect the Orbeon 3.5.1 version of > 'Government Forms:DMV-14' app from the embedded eXist database to a remote > eXist database - assuming the eXist URL is at > 'http://127.0.0.1:8080/exist/index.xml' ??? > > > > > -- > View this message in context: > http://www.nabble.com/changes-to-connect-Orbeon-%27Government-Forms%3ADMV-14%27-app-to-a-remote-eXist-database-tf3705403.html#a10362516 > Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.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 > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
thanks lots - the remote eXist connection worked!
after using the connection string string you suggested, i found in addition, the need log into eXist as guest then to create the eXist directory path so that the paths have a Owner/Group guest permission. Raul
|
Free forum by Nabble | Edit this page |