simpleType of string enum derived from simpleType string restrict
-----------------------------------------------------------------
Key: AXIS-2032
URL: http://issues.apache.org/jira/browse/AXIS-2032
Project: Axis
Type: Bug
Components: WSDL processing
Versions: 1.2
Environment: Windows XP
Reporter: Peter Wisnovsky
Priority: Minor
I have a simple type:
<xs:simpleType name="BusinessRuleType">
<xs:restriction base="xs:string"/>
</xs:simpleType>
from which I derive another simple type:
<xs:simpleType name="ProjectRuleType">
<xs:restriction base="pvTypes:BusinessRuleType">
<xs:enumeration value="..."/>
...
I don't get anything emitted for this, even though I build using
<axis-wsdl2java
...
all="true"
...
I'm referencing BusinessRuleType in a complex type elsewhere.
If I have a simple type thats a restriction with a base of string with an
enumeration of strings everything works ok, e.g. I get a class which has a
bunch of instances with the requisite string values. It appears that this
processing doesn't walk up to find the most-derived base type.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira