actionscript 3 - How to solve: Error: value of pendingCustomerTokenList must be a collection in flex 4 -
have app creating in flashbuilder 4, java axis 2 web service , mysql.
in app have defined service. have not had problems pulling data , inserting data calling java functions through service.
i added new property , made available in flex. displayed on label field, ran app , got following error:
error: value of pendingcustomertokenlist must collection @ valueobjects::_super_pendingtokensresponse/set pendingcustomertokenlist()[f:\vengage\flexworkspace\fbagentapp\src\valueobjects\_super_pendingtokensresponse.as:104] @ com.adobe.serializers.utility::typeutility$/assignproperty()[/users/sameer/depot/flex/ide_builder/com.adobe.flexbuilder.dcrad/serializers/src/com/adobe/serializers/utility/typeutility.as:559] @ com.adobe.serializers.utility::typeutility$/converttostrongtype()[/users/sameer/depot/flex/ide_builder/com.adobe.flexbuilder.dcrad/serializers/src/com/adobe/serializers/utility/typeutility.as:498] @ com.adobe.serializers.utility::typeutility$/convertresulthandler()[/users/sameer/depot/flex/ide_builder/com.adobe.flexbuilder.dcrad/serializers/src/com/adobe/serializers/utility/typeutility.as:372]
i looked @ network monitor tab , examined call/response. response body shows no error, , response result shows data returned java axis 2 function. correct.
ran configure return type again. let auto-detect , return type sample data. properties returned looked fine.
looked @ _super_pendingtokensresponse.as on line 104
how correct problem?
i think problem in consuming webservice part.
Comments
Post a Comment