Hi everyone!
I have a setup where the orbeon.war is deployed separately from my custom web application (as described here: http://wiki.orbeon.com/forms/doc/developer-guide/admin/overriding-adding-resources). I am employing the workflow-send functionality in my forms to post submitted XML to a configured address, and I have set this address using the oxf.fr.detail.send.uri.*.* property in my propeties-local.xml.
I would very much like to set this address to a relative address, but I cannot get this to work as the URL then is worked out based on the context root of the orbeon.war and not that of my custom application. Does anyone have a solution to achieve this which does not include altering the orbeon.war?
(i.e. instead of setting the oxf.fr.detail.send.uri property to something like http://myhost/myapp/mypage.jsp, i would very much like to reference it by a relative URL like "../myapp/mypage.jsp" or something like that, but I can't get this to work since the two apps resides in their own contexts).
-Håvard -- 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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Håvard,
I am not sure there is a really good solution for this at this time. There is a property to configure the default destination of service URLs: <property as="xs:anyURI" name="oxf.url-rewriting.service.base-uri" value=""/> but it should really point to the Orbeon WAR context or other things might break. It seems like for now the use of an absolute URL, although not ideal, is your best bet. -Erik On Mon, Aug 23, 2010 at 5:56 AM, Håvard Nesvold <[hidden email]> wrote: > Hi everyone! > I have a setup where the orbeon.war is deployed separately from my custom > web application (as described > here: http://wiki.orbeon.com/forms/doc/developer-guide/admin/overriding-adding-resources). > I am employing the workflow-send functionality in my forms to post submitted > XML to a configured address, and I have set this address using the > oxf.fr.detail.send.uri.*.* property in my propeties-local.xml. > I would very much like to set this address to a relative address, but I > cannot get this to work as the URL then is worked out based on the context > root of the orbeon.war and not that of my custom application. Does anyone > have a solution to achieve this which does not include altering the > orbeon.war? > (i.e. instead of setting the oxf.fr.detail.send.uri property to something > like http://myhost/myapp/mypage.jsp, i would very much like to reference it > by a relative URL like "../myapp/mypage.jsp" or something like that, but I > can't get this to work since the two apps resides in their own contexts). > -Håvard > > > > -- > 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 > OW2 mailing lists service home page: http://www.ow2.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 OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |