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 2007/12/05 18:13:43 UTC

[jira] Created: (CXF-1263) Two tests enshrine incorrect behavior in ReflectionServiceFactoryBean

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


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.


[jira] Closed: (CXF-1263) Two tests enshrine incorrect behavior in ReflectionServiceFactoryBean

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ 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.