Expand my Community achievements bar.

Java API, SOAP and Timeout

Avatar

Level 1

Hello,

I am supporting a Partner who is using the Invocation APIs to call SOAP methods on LiveCycle.

He is trying to call a short-lived LC process that lasts more than 10 minutes, and the Invocation API throws the following exception after exactly 10 minutes:

ALC-DSC-000-000: com.adobe.idp.dsc.net.DSCSocketTimeoutException: Internal error.

This is the default timeout of the API, and it seems that there is no way to change it.

I already suggested the Partner to use an Axis-generated stub to invoke the process, in order to set the timeout (although a better practice would be to call the service asynchrously). Is there any chance that that a "set timeout" function will be added to the LC Java Invocation API?

Marco

1 Reply

Avatar

Level 2

Hi Marco,

I guess that SOAP timeouts might depend on a number of factors, most (if not all) of which are out of control from the LC side of things. See for instance http://forums.adobe.com/message/2632055, where a colleague from engineering replies to the original poster.

As you write, asynchronous calls would be the solution in these cases, and no one should really ever count on long timeouts with anything working over HTTP.

HTH.

Best regards,

Giovanni