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

Unsupported wsdl to as generation

Avatar

Level 1

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>

0 Replies