0 Replies Latest reply on Mar 27, 2017 4:53 AM by Brahnavan

    set the timeout for indesign server?

    Brahnavan

      I have a send a SOAP request to an inDesign Server on MAC. When running larger jobs, the server is not terminated for the given timeout instead it throws exception after long time. I believe that the server is still running in the background producing the outputs.

       

      The job set to 30 sec timeout and , this is the time line of the job starts and ended

       

      begin : 16:30:53

      Start job ...

      java.net.SocketTimeoutException: Read timed out

      Fail job...

      14 minutes, 44 seconds.

      End : 16:45:37

       

      it almost took around 14 minutes, 44 seconds. to terminate the job.

       

      the code snippt of the set timeout

      Service inddService = new ServiceLocator(); 
      ServiceStub ids = (ServiceStub) inddService.getService(new URL(url));
      ids.setTimeout(30000);
      
      

       

       

      Thanks
      Brahna