axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Wisnovsky (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Created: (AXIS-2032) simpleType of string enum derived from simpleType string restrict
Date Wed, 01 Jun 2005 21:16:54 GMT
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


Mime
View raw message