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.

Reply via email to