cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "marcin.kasinski@gmail.com" <marcin.kasin...@gmail.com>
Subject CXF and xsd restrictions
Date Fri, 27 May 2011 08:39:19 GMT


Hello.

Can you tell me what kind of annotation I can use in my JAVA to generate xsd
restrictions in wsdl ?

I need to generate code bellow.

 <xs:simpleType>
    <xs:restriction base="xs:integer">
      <xs:minInclusive value="0"/>
      <xs:maxInclusive value="120"/>
    </xs:restriction>
  </xs:simpleType>

<xs:simpleType name="carType">
  <xs:restriction base="xs:string">
    <xs:enumeration value="Audi"/>
    <xs:enumeration value="Golf"/>
    <xs:enumeration value="BMW"/>
  </xs:restriction>
</xs:simpleType>


Thanks 
Marcion

--
View this message in context: http://cxf.547215.n5.nabble.com/CXF-and-xsd-restrictions-tp4431241p4431241.html
Sent from the cxf-dev mailing list archive at Nabble.com.

Mime
View raw message