[RPC Fault faultString="Error #2032: 流錯誤...](學習筆記)

利用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。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章