You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by MyScreenName <bo...@nortel.com> on 2007/12/19 00:04:31 UTC
Changing default min occurs in WSDL.
Is there any way in CXF to change the default minOccurs from a 0 to a 1 for a
generated WSDL? I noticed that in Xfire/Aegis you can using mapping
properties but I am not using Aegis.
One would think that this would be an @WebParam setting...
--
View this message in context: http://www.nabble.com/Changing-default-min-occurs-in-WSDL.-tp14407697p14407697.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Changing default min occurs in WSDL.
Posted by Benson Margulies <bi...@gmail.com>.
Aegis is the only binding I'm aware of that has this option. Dan might
be able to shed light on the xmlbeans option, if any.
On Wed, 2007-12-19 at 06:57 -0800, MyScreenName wrote:
> Ok. What if I changed to another binding? It doesn't have to be an
> annotation. A mapping in the xml file would do.
>
> Thanks.
>
>
>
> Benson Margulies-4 wrote:
> >
> > JAXB doesn't define an annotation for this, and we incorporate the JAXB
> > RI in such a way that I doubt that we could add this feature easily.
> >
> > On Tue, 2007-12-18 at 15:04 -0800, MyScreenName wrote:
> >> Is there any way in CXF to change the default minOccurs from a 0 to a 1
> >> for a
> >> generated WSDL? I noticed that in Xfire/Aegis you can using mapping
> >> properties but I am not using Aegis.
> >>
> >> One would think that this would be an @WebParam setting...
> >
> >
> >
>
Re: Changing default min occurs in WSDL.
Posted by MyScreenName <bo...@nortel.com>.
Ok. What if I changed to another binding? It doesn't have to be an
annotation. A mapping in the xml file would do.
Thanks.
Benson Margulies-4 wrote:
>
> JAXB doesn't define an annotation for this, and we incorporate the JAXB
> RI in such a way that I doubt that we could add this feature easily.
>
> On Tue, 2007-12-18 at 15:04 -0800, MyScreenName wrote:
>> Is there any way in CXF to change the default minOccurs from a 0 to a 1
>> for a
>> generated WSDL? I noticed that in Xfire/Aegis you can using mapping
>> properties but I am not using Aegis.
>>
>> One would think that this would be an @WebParam setting...
>
>
>
--
View this message in context: http://www.nabble.com/Changing-default-min-occurs-in-WSDL.-tp14407697p14418493.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Changing default min occurs in WSDL.
Posted by Benson Margulies <bi...@gmail.com>.
JAXB doesn't define an annotation for this, and we incorporate the JAXB
RI in such a way that I doubt that we could add this feature easily.
On Tue, 2007-12-18 at 15:04 -0800, MyScreenName wrote:
> Is there any way in CXF to change the default minOccurs from a 0 to a 1 for a
> generated WSDL? I noticed that in Xfire/Aegis you can using mapping
> properties but I am not using Aegis.
>
> One would think that this would be an @WebParam setting...