Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
Create an HTTPMultiService similar to the code below and invoke an operation in it which does not require any parameter.
var srv1:HTTPMultiService = new HTTPMultiService();
var operations:Array = new Array();
var operation:Operation;
var argsArray:Array;
operation = new Operation(null, "op");
operation.url = "http://sunban.wordpress.com/feed/rss";
operation.method = "GET";
operations.push(operation);
srv1.operationList = operations;
srv1.getOperation("op").send();
Actual Results:RTE occurs.
ArgumentError: HTTPMultiService - you must set argumentNames to an array of parameter names if you use more than one parameter.
at mx.rpc.http::Operation/send()[E:\dev\i11\frameworks\projects\rpc\src\mx\rpc\http\Operation.as:290]
at Te/fxapplication1_creationCompleteHandler()[C:\eclipse 3.4\runtime-gumbo.win.product\Te\src\Te.mxml:21]
at Te/___Te_Application1_creationComplete()[C:\eclipse 3.4\runtime-gumbo.win.product\Te\src\Te.mxml:2]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\i11\frameworks\projects\framework\src\mx\core\UIComponent.as:11223]
at mx.core::UIComponent/set initialized()[E:\dev\i11\frameworks\projects\framework\src\mx\core\UIComponent.as:1514]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\i11\frameworks\projects\framework\src\mx\managers\LayoutManager.as:787]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\i11\frameworks\projects\framework\src\mx\core\UIComponent.as:10439]
at mx.core::UIComponent/callLaterDispatcher()[E:\dev\i11\frameworks\projects\framework\src\mx\core\UIComponent.as:10379]
Expected Results:No RTE, success while invocation
Workaround (if any):none