0 Replies Latest reply on Jul 10, 2008 4:48 AM by skint1974

    Problem calling webservice method

      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:element name="keys" type="xsd:ArrayOfanyType"/>
      <xsd:element name="values" type="xsd:ArrayOfanyType"/>

      Does anyone have any ideas?