changes to connect Orbeon 'Government Forms:DMV-14' app to a remote eXist database

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

changes to connect Orbeon 'Government Forms:DMV-14' app to a remote eXist database

raul.aguilar
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' ???



Reply | Threaded
Open this post in threaded view
|

Re: changes to connect Orbeon 'Government Forms:DMV-14' app to a remote eXist database

Marcus-2
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
Reply | Threaded
Open this post in threaded view
|

connection to remote eXist worked!

raul.aguilar
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


Marcus-37 wrote
Hi,
you have to change the URL in the action-attribute on your
xforms:submissions!
I.e.:
under forms/common/persistance-model.xml:

<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:

<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" <clearlytao@yahoo.com>
To: <ops-users@objectweb.org>
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 ops-users@objectweb.org
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>




--
You receive this message as a subscriber of the ops-users@objectweb.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws