ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "NGUYEN Cong Kinh" <ngu...@telecom-paristech.fr>
Subject Re: Asynchronous
Date Fri, 03 Oct 2008 09:12:57 GMT
Hi everybody,

I still have a question concerning Asynchronous. In my case, I have an
asynchronous web service in JAVA. I want to invoke this service in BPEL. 
While using the activity "invoke", I get a TimeOut on this activity.

Could you tell me how to solve this problem?

> On Wed, Oct 1, 2008 at 6:47 AM, Jean-Claude Moissinac
> <moissinac@enst.fr>wrote:
>
>> Hello
>>
>> We need some advise about time consuming services
>>
>> My simplified scenario is:
>> a BPEL calls a service which is time consuming
>>
>> first case: this call is synchronous and I get a timeout on the
>> request  from the BPEL to the external service
>> second case: this case is asynchronous, the time consuming service
>> returns immediately after the begining of the process it is in charge
>> then if the BPEL is waiting for the end that process, it is the
>> request to the BPEL itself which fire a timeout, because the BPEL
>> seems to be nor responding
>>
>> So, it is not the BPEL which must wait for the external process called
>> by the BPEL, but the caller of the BPEL
>> But, how the caller of the BPEL will know how many external services
>> are called by the BPEL?
>>
>
> The caller of the process doesn't know but the process does (or more
> accurately the process designer). Knowing that you're invoking
> long-lasting
> operations, you should model your process to only accept an asynchronous
> invocation and then call back the client later on when the processing is
> finished.
>
> Matthieu
>
>
>>
>> Are there good practices or support about such scenario?
>>
>> --
>> --
>> Jean-Claude Moissinac
>> Signal and Image processing - Multimedia Group
>> TELECOM ParisTech
>> FRANCE
>>
>> E-mail: moissinac@enst.fr
>> Tel: (+33) 1.45.81.80.88
>> Fax: (+33) 1.45.81.71.58
>>
>> http://videotoile.blogspot.com
>> http://svgmpeg4.blogspot.com/
>>
>


-- 
NGUYEN Cong Kinh


Mime
View raw message