axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Chinthaka (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-285) cos-applicable-facets: Facet 'enumeration' is not allowed by type CallingSystemType.
Date Mon, 09 Jan 2006 06:40:21 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-285?page=all ]
     
Eran Chinthaka resolved AXIS2-285:
----------------------------------

    Resolution: Invalid

> cos-applicable-facets: Facet 'enumeration' is not allowed by type CallingSystemType.
> ------------------------------------------------------------------------------------
>
>          Key: AXIS2-285
>          URL: http://issues.apache.org/jira/browse/AXIS2-285
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>  Environment: Redhat  
>     Reporter: Antonysamy Joseph
>     Priority: Blocker

>
> WSDL generated for fhe following xsd element produces the above error when validating
WSDL through SoapTest
>   <xs:simpleType name="CallingSystemType">
>     <xs:restriction base="xs:int">
>       <xs:enumeration value="10" />
>       <xs:enumeration value="20" />
>       <xs:enumeration value="30" />
>       <xs:enumeration value="32" />
>       <xs:enumeration value="40" />
>       <xs:enumeration value="50" />
>     </xs:restriction>
>   </xs:simpleType>
> The generated Schema  (in the WSDL ) is  as follows :
>   <complexType name="NumDaysType">
>     <simpleContent>
>      <extension/>
>     </simpleContent>
>    </complexType>
>  <simpleType name="CallingSystemType">
>     <restriction base="tns1:NumDaysType">
>      <enumeration value="10"/>
>      <enumeration value="20"/>
>      <enumeration value="30"/>
>      <enumeration value="32"/>
>      <enumeration value="40"/>
>      <enumeration value="50"/>
>     </restriction>
>    </simpleType>
> Same(similar) behaviour is seen on  both Axis 1.2.1 final and 1.3 version.
> BUT it creates proper WSDL on axis 1.2.1 RC3
> I would appreciate your help.
> Thanks
> Joseph

-- 
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