ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claudio Pompilio <claudio.pompi...@gmail.com>
Subject Re: Share a partner link endpoint reference among onMessage activities
Date Tue, 01 Nov 2016 11:59:22 GMT
In attachment there are two examples of the scenario I want to realize.

   - In process-1.zip there is a process that consists of two onMessage
   In the first one, the endpoint reference of the partner link
   ServicePartnerLink is assigned querying the variable corresponding to the
   message received, this assignment is not reflected in the second onMessage,
   in fact ServicePartnerLink doesn't have as endpoint reference the value set
   in the first onMessage.
   - In process-2.zip the process has the same structure of the process-1
   but in the first onMessage the result of the query applied to the variable
   corresponding to the message received is assigned to the variable
   serviceEPR, that is used in the second onMessage to set the endpoint
   reference of the partner link ServicePartnerLink. In this case, the
   execution of the process result in a fault caused by the fact that the
   variable serviceEPR isn't properly initialized.

Basically I need to implement a process that expose an operation able to
set the endpoint references of the services, and in the other operations of
the process these endpoint references should be used to interact with the
various services.


2016-10-31 13:57 GMT+01:00 Sathwik B P <sathwik.bp@gmail.com>:

> Would you be able to share a sample process explaining your scenario.
> On Oct 31, 2016 3:06 PM, "Claudio Pompilio" <claudio.pompilio@gmail.com>
> wrote:
> > Hi all,
> >
> > I have a process that consists of several onMessage and I would like to
> > implement the following behaviour.
> > Through the first onMessage the process receives the endpoint reference
> to
> > set a specific partner link, and in the others onMessage I need the
> partner
> > link endpoint reference as set in the first activity.
> > I tried to implement it, but I realized that the setting of partner link
> of
> > the first onMessage activity is not reflected in the other onMessage
> > activities.
> >
> > I appreciate if someone can help me in understanding how to realize this
> > scenario.
> >
> > Thanks in advance.
> >
> > Claudio
> >
> > -----------------------------------------------------------------
> > Claudio Pompilio <claudio.pompilio@gmail.com
> > <http://claudio.xn--pompiliogmail-3kb.com>>
> >

Claudio Pompilio <claudio.pompilio@gmail.com

View raw message