0 Replies Latest reply on Aug 4, 2009 5:13 PM by david.brown@8020

    Unsupported wsdl to as generation

    david.brown@8020

      I read somewhere that simpleType containing a restriction is unsupported in Flex. I'm using Flex 4 beta and anywhere I do this I get no code generated for "someString". Is there a fix for this or a work around other than removing the restriction?

       

                <xsd:element name="someString">
                  <xsd:simpleType>
                    <xsd:restriction base="xsd:string">
                      <xsd:maxLength value="20"/>
                    </xsd:restriction>
                  </xsd:simpleType>
                </xsd:element>