Thank you for the reply !

>> jax ws 2.2
but I'm not using Metro, I'm using CXF.
If this is CXF annotation, can you say the full qualified name ?


2012/3/27 Jason Pell <[email protected]>

> You can add an @Element(required = true) to the web service interface in
> jax ws 2.2
> On Mar 27, 2012 6:50 AM, "Wentwog Wentwog" <[email protected]> wrote:
>
> > Hi, all.
> >
> > I'm using java first method to build a web service with Apache CXF 2.5.1
> > maven plugin.
> >
> > The WSDL that was generated unfortunately specifies minOccurs="0" for
> > arguments of my service operations.
> > Like that:
> > <xs:complexType name="sign">
> > <xs:sequence>
> > <xs:element minOccurs="0" name="soapMsg" type="xs:string"/>
> > </xs:sequence>
> > </xs:complexType>
> >
> > Is it possible to specify Apache CXF to set minOccurs="1".
> >
>

Reply via email to