incubator-agila-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Riou <matthieu.r...@gmail.com>
Subject Re: <message><reply><status>ok</status></reply></message>
Date Wed, 02 Nov 2005 15:26:19 GMT
Yes, you're right, the response produced by the engine should be normalized.
And we still have to implement WS-Addressing support :)

Matt.

On 11/2/05, Aleksander Slominski <aslom@cs.indiana.edu> wrote:
>
> Matthieu Riou wrote:
>
> >Hi Niko,
> >
> >This is quite normal as most of the engine processing and the invocation
> >itself generally occurs asynchronously. Agila BPEL only tells you if the
> >message has been accepted properly but can't force the calling thread to
> >wait until another web service has been invoked, that just wouldn't make
> >sense in the great majority of situations.
> >
> >
> i think the standard (?!) way to do it with WS-Addressing / HTTP is to
> return HTTP 202 status code and no HTTP body?
>
> best,
>
> alek
>
> >However if you want a given execution to be totally synchronous when
> >invoking the engine, you'll have to use a receive / reply sequence (and
> use
> >an outputVariable for the invokes in between for which you'll use the
> result
> >in your reply).
> >
> >For example:
> >
> ><sequence>
> ><receive partner="client" .../>
> ><invoke partner="quoteProvider" ... outputVariable="quotes" ... />
> ><reply partner="client" ... variable="quotes" ... />
> ></sequence>
> >
> >Hope this helps. Cheers,
> >
> >Matthieu Riou.
> >
> >On 11/2/05, Niko.Juncker@ibsbe.be <Niko.Juncker@ibsbe.be> wrote:
> >
> >
> >>Hi,
> >>I've spend some time experimenting with twister and there is one thing
> >>that i don't understand.
> >>When i try to run a process who invokes another webservice (like example
> 3
> >>from the distribution), i get
> >><message><reply><status>ok</status></reply></message>
as return value
> form
> >>that web service instead of the corresponding returnvalue (the quote in
> >>example 3) Is this normal? Or why don't i get the correspondig quote
> from
> >>a given symbol ?
> >>
> >>Thanks in advance
> >>Niko
> >>
> >>
> >>
> >
> >
> >
>
>
> --
> The best way to predict the future is to invent it - Alan Kay
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message