Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Problem calling webservice method


Level 1

I have a problem with flex which is caused no end of head

I've used the Flex Builder import webservice wizard to create
the classes.

I've connected and used some of the web services methods
correctly. However when I need to pass a complex type to a method I
get an error thrown in SOAPencoder.as

The error is:

TypeError: Cannot marshall type '
to simple content.

The params I'm passing to the method are:

xsd:complexType name="HashMap">


<xsd:element name="keys" type="xsd:ArrayOfanyType"/>

<xsd:element name="values" type="xsd:ArrayOfanyType"/>



Does anyone have any ideas?
0 Replies