I have a built-in axis2 service in my web application. When I try to create wsdl, it creates soemthing like
<xs:complexType name="AdminState">
<xs:complexContent>
<xs:extension base="xs:Enum">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
But using this, I cannot create client code. Eclipse complains about the following error
src-resolve.4.2: Error resolving component 'xs:Enum'. It was detected that 'xs:Enum' is in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from schema document 'file:///...xyz.wsdl'. If this is the incorrect namespace, perhaps the prefix of 'xs:Enum' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:///..xyz.wsdl'.
Does Axis2 Enumeration Support?
source
share