8 Replies Latest reply on May 8, 2017 10:17 PM by anna RSS
    yding Newbie

    How to return several InfoTable from service?如何一次性从Service中返回五六个InfoTable?

    The return value type of the service is InfoTable. And I know that the column type can also be InfoTable. But, when I put five or six InfoTable in one row and return it to the client, the client side throws TimeoutException. I mean that I call the invokeService method (Java SDK), and set 60s to the timeout parameter, it's also timeout! Always timeout every time.I try to return just one InfoTable, it works. And then I try to return 2 or 3 InfoTables, it also work. But when I try to return 4 InfoTables, it is timeout. Sometimes return 3 InfoTable also timeout. It's unpredictable!

    Are there any restrictions in return value?


    Following is the definition of return value. There is just 3 InfoTables, if there is 4 or 5 InfoTables, the client will timeout. But today, 3 InfoTables also make client timeout, I don't know why. It's totally unpredictable! Are there any restrictions in return value? The number of rows in each InfoTable are not large.

    QQ图片20170505115713.png

     

    Service的返回值是InfoTable类型,通常里面是一行数据,带有几个字段,以此来返回数据,当需要返回的数据是InfoTable时,字段的类型可以是Infotable,这我知道,但是问题是现在我这么做了,但是却在客户端出现了invokeService超时的问题,InfoTable的数据量很少,每个InfoTable只有三四行,客户端调用invokeService设置超时时间60秒,仍然超时,服务器和客户端都在局域网,网速是没问题的。请问这是怎么回事?或者有什么别的解决方案以返回数个InfoTable,最好同时返回。