Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
Adobe Flex SDK 3.2 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Browser: Other (specify version)
Language Found: English
Description
Steps to reproduce:
1. The WSDLs we reference are quite propriatary, so I can't include them. I believe that the structure of the WSDLs we use (based on IAA by IBM) are similar to those used by other organisations using SAP. I'll give a short description of the problem we think we found in the class.
The line of code giving us the problem is in mx.rpc.xml.XMLEncoder.as
in the encodeSimpleContent function at about 38 lines in :
encodeType(baseType, parent, value, restriction);
in Flex SDK version 3.2 it's line number 1201.
The function expects a QName object as the third parameter and the value as the fourth parameter. It seems as if the third parameter was ommited. It probably should have read:
encodeType(baseType, parent, name, value, restriction);
Actual Results:
XMLEncoder throws error: Error #1034: Type Coercion failed: cannot convert "test" to QName.
This is probably due to a string being sent in as the third parameter and not a QName instance.
Expected Results:
Workaround (if any):
Currently, we have no known workaround. I checked Flex SDK 3.5a and the bug is there as well.