I found it is still the problem to generate enumeration type with axis2 1.5. It generated wsdl:
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://enums.chgws.chg.com/xsd"> - <xs:complexType name="ObjectType"> - <xs:complexContent> - <xs:extension base="xs:Enum"> <xs:sequence/> </xs:extension> </xs:complexContent> </xs:complexType> </xs:schema> Also, I have already set up my scehma namespace with <schema schemaNamespace="http://www.chg.com/ws" /> inside my service.xml. It still created different schema for me. How could I fix this problem? I need this as soon as possible. Thanks. -- Haipeng Du Salt Lake City
