You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by ericnygma <pr...@gmail.com> on 2008/02/19 10:26:47 UTC
bpel process name from soap headers
Hi ,
I am new to ODE (and to BPEL). I gather a bpel process has a chain of
webservice invocations. I have middleware code on an appserver hosting
webservices which inspects soap messages received by a webservice. Looking
at the soap headers/payload of a webservice invocation I need to determine
the name of the process which was invoked. I have a scenario in which a
webservice can belong to multiple bpel processes.
Does ODE attach some special headers ? .. or anything .. to identify the
parent process name.
Any help will be much appreciated.
Thanks
Eric.
--
View this message in context: http://www.nabble.com/bpel-process-name-from-soap-headers-tp15560490p15560490.html
Sent from the Apache Ode User mailing list archive at Nabble.com.
Re: bpel process name from soap headers
Posted by Matthieu Riou <ma...@offthelip.org>.
On Feb 19, 2008 1:26 AM, ericnygma <pr...@gmail.com> wrote:
>
> Hi ,
>
> I am new to ODE (and to BPEL). I gather a bpel process has a chain of
> webservice invocations. I have middleware code on an appserver hosting
> webservices which inspects soap messages received by a webservice. Looking
> at the soap headers/payload of a webservice invocation I need to determine
> the name of the process which was invoked. I have a scenario in which a
> webservice can belong to multiple bpel processes.
>
> Does ODE attach some special headers ? .. or anything .. to identify the
> parent process name.
>
To route messages to a specific process (or more precisely a process
instance), WS-BPEL relies on a mechanism called correlation. Basically, you
specify in your process what will be its identifier when a first message
initiates it. So any identifier used by your services (an order id, a
reservation id, ...) can be used.
I know specs can be hard to read sometimes but you should have a look at the
correlation section of the WS-BPEL spec. Alternatively there's also the
webinars published by OASIS that are linked here:
http://ode.apache.org/ws-bpel-20.html
Cheers,
Matthieu
>
> Any help will be much appreciated.
>
> Thanks
> Eric.
> --
> View this message in context:
> http://www.nabble.com/bpel-process-name-from-soap-headers-tp15560490p15560490.html
> Sent from the Apache Ode User mailing list archive at Nabble.com.
>
>