Limit lines return web service subprogram

SOLVED

I developed a web service in subprogram only for searching but it have a limitation of 1000 lines, if greater than 1000 lines  there is a timeout error. How to fix this? Thanks very much.

  • 0

    Hi Neidson:

    The Dimension of the parameter is defined in the subprograms dictionary (Development > Script dictionary > Scripts > Subprograms). I show you a pic:

    The "Dim" column is a short integer data type with a length of 4 digits. So the maximum number would be 9999.

    After change the "Dim" column, check if the dimension is updated in the "Web Services" dictionary (Dimension column in the "Mapping" tab). I'm not sure if it's updated, maybe you'll have to delete it first and create it again.

    I hope I've helped.

    Thanks,

    Nacho Alférez.

  • +1
    verified answer

    This could also be due to the Syracuse timeout.  Check the "Return request timeout" parameter in Adminstration> Servers> Hosts which defaults to 30 seconds.   Try changing to something like 120 and see if the problem persists.

    Mike