You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2009/08/06 00:41:14 UTC
[jira] Resolved: (CXF-2382) Problem with annotations in Aegis & CXF
[ https://issues.apache.org/jira/browse/CXF-2382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies resolved CXF-2382.
-----------------------------------
Resolution: Invalid
All is well, I hope.
> Problem with annotations in Aegis & CXF
> ---------------------------------------
>
> Key: CXF-2382
> URL: https://issues.apache.org/jira/browse/CXF-2382
> Project: CXF
> Issue Type: Bug
> Components: Aegis Databinding
> Affects Versions: 2.2.2
> Environment: apache-cxf-2.2.2, apache-tomcat-5.5.27, java 1.6.0_10
> Reporter: Alexey Moskvin
> Assignee: Benson Margulies
> Attachments: test_project.zip
>
>
> I am using cxf 2.2 with aegis. Here is a part of my spring config:
> <bean id="aegisBean" class="org.apache.cxf.aegis.databinding.AegisDatabinding" scope="prototype">
> <property name="configuration">
> <bean class="org.apache.cxf.aegis.type.TypeCreationOptions">
> <property name="defaultNillable" value="false"/>
> </bean>
> </property>
> </bean>
> So by default all members of classes/parameters of methods are with micOccures="0" and without
> nillable="true".
> I need to make some fields of classes nillable.
> I added annotation like this:
> class C{
> @XmlElement(nillable=true) private Calendar cal;
> ..}
> but there are no any changes in WSDL (it is still without nillable=true). Changes are deployed,
> because new fields are added and so, but there are no changes when I set nillable=true with
> annotations. Also I try to use other parameters of this annotation like minOccures, defaultValue,
> and it don't work to.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.