利用9.3+flex做QueryTask時候出現了[RPC Fault faultString="Error #2032: 流錯誤]的錯誤,原因如下:
在ArcGIS 9.3.1的環境下,初始化QueryTask時,需要將UseAMF設爲false
在ArcGIS 10及以後的版本中,將UseAMF設爲true,這樣能夠很大程度上的提高Flex的數據傳輸速度.
幫助文檔原文如下:
Use AMF for execute() and executeRelationshipQuery(). Requires the server to be ArcGIS Server 10.0 or above, set to false if using
earlier server versions. When useAMF is true, the BaseTask properties concurrency, requestTimeout and showBusyCursor are ignored。