Robert,
This should work as well.
If your app is deployed on
http://localhost:8080/my-app
And Orbeon Forms is deployed on
http://localhost:8080/orbeonAnd resource="/my-service"
This should hit
http://localhost:8080/my-app/my-service
Alex
On Tue, Apr 20, 2010 at 6:39 AM, Robert <
rakkie_se@...> wrote:
>
> Hi,
>
> The thing is that I'm using orbeon in a separate deployment as described here:
>
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications>
> so the service (controller) I submit to is not deployed under the orbeon context
>
> //Robert
>
> --- Den tis 2010-04-20 skrev Alistair Miles <
alimanfoo@...>:
>
> Från: Alistair Miles <
alimanfoo@...>
> Ämne: [ops-users] Re: SV: Re: relative address in submission
> Till:
ops-users@...> Datum: tisdag 20 april 2010 13:38
>
> Hi Robert,
>
> I find that if I have the Orbeon war deployed at...
>
>
http://localhost:8080/orbeon>
> ...I can use paths like...
>
> /myservice
>
> ...in a submission @resource attribute and the submission gets sent
> to...
>
>
http://localhost:8080/orbeon/myservice
>
> Hth
>
> Alistair
>
> On Tue, Apr 20, 2010 at 08:24:55AM +0000, Robert wrote:
> > Hi,
> >
> > Thanks for the response...
> >
> > Well, when I use an absolute address it works.
> >
> >
http://localhost:8080/web-frontend/e-services/form_submit/cases - WORKS
> > /e-services/form_submit/cases - DOESN'T WORK
> >
> >
> > //Robert
> >
> >
> > --- Den sön 2010-04-18 skrev Louis Ratzesberger <
hankr@...>:
> >
> > Från: Louis Ratzesberger <
hankr@...>
> > Ämne: [ops-users] Re: relative address in submission
> > Till:
ops-users@...> > Datum: söndag 18 april 2010 06:26
> >
> >
> > Hi Robert,
> >
> > I don't know .... probably.
> >
> > However, I think you have a different problem, as you should
> > get a different result if there is no target to receive the submission.
> > Try it with an absolute address to a service endpoint that you know
> > works.
> >
> > I believe it will handle an exception from a bad submission address more
> > gracefully, but perhaps it doesn't if what is returned is the 404 error
> > page, which is html and not XML.
> >
> > Cheers,
> >
Hank