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] Updated: (AXIS-2032) simpleType of string enum derived from simpleType string restrict
Date Fri, 10 Jun 2005 17:52:46 GMT
     [ http://issues.apache.org/jira/browse/AXIS-2032?page=all ]

Peter Wisnovsky updated AXIS-2032:
----------------------------------

    Attachment: LL.wsdl

This file illustrates the issue. There is no enum class generated for DT as there is for SimpleEnum.

> 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
>  Attachments: LL.wsdl
>
> 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