[ 
https://issues.apache.org/jira/browse/CXF-1263?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp closed CXF-1263.
----------------------------

       Resolution: Fixed
    Fix Version/s: Invalid


Actually, the tests were OK.    The change to RSFB is what the problem was.  
Apparently, if you do:

setMinOccurs(1)
setMaxOccurs(0)

the written schema doesn't actually write a max or min which is actually what 
we wanted.    The change you made to make it setMinOccurs(0) caused a min to be 
written, which is really not what we wanted.

> Two tests enshrine incorrect behavior in ReflectionServiceFactoryBean
> ---------------------------------------------------------------------
>
>                 Key: CXF-1263
>                 URL: https://issues.apache.org/jira/browse/CXF-1263
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>
> I am about to commit @Ignores in the following two tests. As best I can tell, 
> the tests test for incorrect XmlSchema that results from reversed settings of 
> minOccurs and maxOccurs in the ReflectionServiceFactoryBean.
> org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.JaxwsServiceBuilderNoAnnoTest
> org.apache.cxf.tools.java2wsdl.processor.JavaToProcessorTest

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

Reply via email to