Apache flex 使用SOAP的Flex Magento连接

Apache flex 使用SOAP的Flex Magento连接,apache-flex,magento,actionscript,soap,flex4,Apache Flex,Magento,Actionscript,Soap,Flex4,我正在尝试使用SOAP API将Flex与Magento连接起来。但我遇到了一个错误: faultCode:EncodingError. faultString: Array of input arguments did not contain a required parameter at position 1. 我请求magento的登录功能如下: xmlRequest = <'login'><'username'>username'<'/username'&

我正在尝试使用SOAP API将Flex与Magento连接起来。但我遇到了一个错误:

faultCode:EncodingError.
faultString: Array of input arguments did not contain a required parameter at position 1.
我请求magento的登录功能如下:

xmlRequest = <'login'><'username'>username'<'/username'><'apiKey'>apiKey<'/apiKey'><'/login'>";
xmlRequest=username'apiKey”;
使用FLex中的soap调用magento登录函数的正确方法是什么

如何消除上述错误?

请尝试以下链接: