【发布时间】:2011-02-04 19:57:10
【问题描述】:
我的 Web 应用程序中有一个嵌入式axis2 服务。当我尝试创建一个 wsdl 时,它会创建类似
的东西<xs:complexType name="AdminState">
<xs:complexContent>
<xs:extension base="xs:Enum">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
但是使用它我无法创建客户端代码。 Eclipse 报以下错误
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'.
Axis2 是否支持枚举?
【问题讨论】:
标签: axis2