cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Harper" <bradhar...@gmail.com>
Subject Re: set Default minOccurs and nillable Parameters
Date Wed, 27 Feb 2008 22:56:17 GMT
Can this be done using JAXB?  These nillable attributes are the bane of my
existence...  Is there anyway to make them go away?

On Tue, Feb 5, 2008 at 1:12 PM, Benson Margulies <bimargulies@gmail.com>
wrote:

>
> On Tue, 2008-02-05 at 07:55 -0800, yulinxp wrote:
> > This section explains how to set Default minOccurs and nillable
> Parameters
> > using Java API.
> > Is there anyway we could do it through xml file?
> >
> > http://cwiki.apache.org/CXF20DOC/aegis-databinding.html
> >
>
> Start from here, and add a Configuration bean to the AegisDatabinding.
>
> <simple:server id="aegis-service"
>                serviceClass="
> org.apache.cxf.javascript.fortest.AegisService"
>                address="http://localhost:8808/aegis">
>                <simple:serviceBean>
>                        <bean
>                                class="
> org.apache.cxf.javascript.fortest.AegisServiceImpl" />
>                </simple:serviceBean>
>                <simple:dataBinding>
>                        <bean
>                                class="
> org.apache.cxf.aegis.databinding.AegisDatabinding">
>                        </bean>
>                </simple:dataBinding>
>                <simple:serviceFactory>
>                        <bean
>                                class='
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean'>
>                                <property name="properties">
>                                        <map>
>                                                <entry
> key="overrideTypesList">
>                                                        <list>
>                                                                <value>
> org.apache.cxf.javascript.fortest.aegis.Mammal</value>
>                                                        </list>
>                                                </entry>
>                                        </map>
>                                </property>
>                        </bean>
>                </simple:serviceFactory>
>        </simple:server>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message