Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Calling long lived process with webservices

Avatar

Level 3

Hi all, I've been following the sample here

http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/001468.html

And tweaking it for my own solution. The only thing is that my solution is a long lived, and i'm getting an error saying that my long lived service cannot be invoked synchronously. My question is, how would i call it asynchronously? I know that with the s ervlet api you specify it in the parameter of the invoke method, but i'm not sure with webservices.

Thanks

Billy

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi Billy,

Instead of invoke() method did you try invoke_Async()?

Parth Pandya

View solution in original post

0 Replies

Avatar

Correct answer by
Level 3

Hi Billy,

Instead of invoke() method did you try invoke_Async()?

Parth Pandya

Avatar

Level 3

Yep, that work, thx very much. Just out of curiosity is there a LiveCycle resource where this is mentioned?

Avatar

Level 3

Thanks Jasmin. I was looking for a java reference/sample, i guess thats why i didn't find it.

Thanks again!

Billy