Services using annotations are not generating the WSDL correctly with
configuration bean for minOccurs
------------------------------------------------------------------------------------------------------
Key: XFIRE-1103
URL: http://jira.codehaus.org/browse/XFIRE-1103
Project: XFire
Issue Type: Bug
Components: Aegis Module, Annotations
Affects Versions: 1.2.6
Environment: Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_13-b05-237)
Reporter: Helge Stahlmann
Assignee: Dan Diephouse
This following configuration doesn't seem to have any effect on minOccurs, it
always sticks to default (minOccurs=1).
It is working fine for other properties, e.g. nillable.
-----
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service>
<serviceClass>com.devmates.TestWS</serviceClass>
<!-- serviceFactory>jsr181</serviceFactory -->
<serviceFactory>#jsr181ServiceFactory</serviceFactory>
</service>
<bean id="config"
class="org.codehaus.xfire.aegis.type.Configuration">
<property name="defaultExtensibleElements" value="true" />
<property name="defaultExtensibleAttributes" value="true" />
<property name="defaultNillable" value="true" />
<property name="defaultMinOccurs" value="0" />
</bean>
<bean name="jsr181ServiceFactory"
class="org.codehaus.xfire.annotations.AnnotationServiceFactory">
<constructor-arg ref="xfire.transportManager" index="0"/>
<constructor-arg ref="config" index="1"
type="org.codehaus.xfire.aegis.type.Configuration" />
</bean>
</beans>
-------
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email