Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Problem calling webservice method

skint1974
Level 1
Level 1
Hello,

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

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 '
http://www.w3.org/2001/XMLSchema::ArrayOfanyType'
to simple content.



The params I'm passing to the method are:

xsd:complexType name="HashMap">

<xsd:sequence>

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

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

</xsd:sequence>

</xsd:complexType>



Does anyone have any ideas?
0 Replies