cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Braga (JIRA)" <>
Subject [jira] Created: (CXF-1628) TypeCreationOptions ignored
Date Tue, 03 Jun 2008 19:52:45 GMT
TypeCreationOptions ignored

                 Key: CXF-1628
             Project: CXF
          Issue Type: Bug
          Components: Aegis Databinding
    Affects Versions: 2.1
         Environment: java 6 update 6 + tomcat 6.0.16
            Reporter: Bruno Braga

I believe that the aegis is with a bug.

The new settings using TypeCreationOptions  are not working (or I did wrong settings and didn't
show any error).

        <bean id="aegisBean" class="org.apache.cxf.aegis.databinding.AegisDatabinding">
                <property name="configuration">
                        <bean class="org.apache.cxf.aegis.type.TypeCreationOptions">
                        <property name="defaultMinOccurs" value="1"/>
                        <property name="defaultNillable" value="false"/>
        <bean id="jaxws-and-aegis-service-factory"
            <property name="dataBinding" ref="aegisBean"/>
        <bean id="segurancaService" class="xxxxx.SegurancaService">
                <constructor-arg><ref bean="fachadaSeguranca"/></constructor-arg>

        <jaxws:endpoint id="endpointSegurancaService" implementor="#segurancaService" address="/SegurancaService">
                        <ref bean='jaxws-and-aegis-service-factory' />
              <bean class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor" />
              <bean class="">
                    <entry key="action" value="UsernameToken Timestamp" />
                    <entry key="passwordType" value="PasswordDigest" />
                    <entry key="passwordCallbackClass" value="xxxxx.wssecurity.PWCallback"
              <bean class="xxxxx.wssecurity.UsernameTokenInterceptor" />


My wsdl is being generated thus:

<xsd:element minOccurs="0" name="idSistema" type="xsd:int"/>
<xsd:element minOccurs="0" name="idModulo" type="xsd:int"/>

It's wrong.
minOccurs should be 1.

TypeCreationOptions had no effect. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message