Hi All,

I am implementing the web service using CXF/JAX WS.
I have got the below dependency in my pom.file 

<dependency>
<groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-frontend-jaxws</artifactId>
        <version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http</artifactId>
        <version>2.3.1</version>
</dependency>

When I generate the WSDL it shows minOccurs="0" 
 e.g  <xs:element minOccurs="0" name="dateOfBirth" type="xs:dateTime" />

I want to know how I can set minOccurs=1 and maxOccurs

Thanks,
Chandraprabha

-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/In-code-first-approch-how-to-specify-minOccurs-tp3360717p3360717.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to