You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Antonysamy Joseph (JIRA)" <ji...@apache.org> on 2005/10/19 00:48:47 UTC

[jira] Created: (AXIS2-285) cos-applicable-facets: Facet 'enumeration' is not allowed by type CallingSystemType.

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


[jira] Commented: (AXIS2-285) cos-applicable-facets: Facet 'enumeration' is not allowed by type CallingSystemType.

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-285?page=comments#action_12332430 ] 

Eran Chinthaka commented on AXIS2-285:
--------------------------------------

Is this related to Axis2 ?

> 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


[jira] Resolved: (AXIS2-285) cos-applicable-facets: Facet 'enumeration' is not allowed by type CallingSystemType.

Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
     [ 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