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 2008/05/30 01:41:45 UTC

[jira] Created: (CXF-1618) ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements

ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements
-----------------------------------------------------------------------------------------------------------

                 Key: CXF-1618
                 URL: https://issues.apache.org/jira/browse/CXF-1618
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1
            Reporter: Benson Margulies
            Assignee: Daniel Kulp


I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.


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


[jira] Commented: (CXF-1618) ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601086#action_12601086 ] 

Benson Margulies commented on CXF-1618:
---------------------------------------

Dan,

It seems to me that this is a bug as it is, on more thought. If RFSB puts a qname into the element qname field, then that element aught to be in the schema. 

?

--benson


> ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1618
>                 URL: https://issues.apache.org/jira/browse/CXF-1618
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.

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


[jira] Commented: (CXF-1618) ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601257#action_12601257 ] 

Daniel Kulp commented on CXF-1618:
----------------------------------


I fixed the jaxws version.   That was a bug in RFSB.

For the non-jaxws version, I don't think it's really fixable using that interface.   The exception that is thrown should be better, but it's more or less behaving correctly.   I've changed the configuration to do make sure isWrapped returns false.  (the default is true).   It now throws another exception because it doesn't know how to map the Holder<...> thing.   That's a jaxws thing so the holder doesn't get mapped and there isn't a type for the part.




> ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1618
>                 URL: https://issues.apache.org/jira/browse/CXF-1618
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.
> The same results ensue when run with the JaxWsServiceFactoryBean, whose test also has this case now.

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


[jira] Commented: (CXF-1618) ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601004#action_12601004 ] 

Daniel Kulp commented on CXF-1618:
----------------------------------

I don't think this test is valid.   It's a straight RSFB test and thus the JAX-WS annotations on the interface are ignored.   The important one is that the "BARE" anotation.  Without that, RSFB assumes its wrapped and thus creates a single wrapper message. 

Possibly move to the jaxws package? 

> ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1618
>                 URL: https://issues.apache.org/jira/browse/CXF-1618
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.

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


[jira] Commented: (CXF-1618) ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601112#action_12601112 ] 

Benson Margulies commented on CXF-1618:
---------------------------------------

To save us debate, I went ahead and tossed the test case into JaxWsServiceFactoryBeanTest, as well. It fails there just the same.


> ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1618
>                 URL: https://issues.apache.org/jira/browse/CXF-1618
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.

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


[jira] Resolved: (CXF-1618) ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies resolved CXF-1618.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.1

I put in a polite throw for the plain RFSB case.

> ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1618
>                 URL: https://issues.apache.org/jira/browse/CXF-1618
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>             Fix For: 2.1.1
>
>
> I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.
> The same results ensue when run with the JaxWsServiceFactoryBean, whose test also has this case now.

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


[jira] Commented: (CXF-1618) ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601082#action_12601082 ] 

Benson Margulies commented on CXF-1618:
---------------------------------------

I am carefully not calling 'setWrapped(true)' -- and the failure mode is identical with the live environment.

I'll move it and see, but I bet you that the behavior will be unchanged.


> ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1618
>                 URL: https://issues.apache.org/jira/browse/CXF-1618
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.

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


[jira] Updated: (CXF-1618) ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-1618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benson Margulies updated CXF-1618:
----------------------------------

    Description: 
I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.

The same results ensue when run with the JaxWsServiceFactoryBean, whose test also has this case now.



  was:
I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.



> ReflectionServiceFactoryBean creates inconsistent schema for messages with parts with types and no elements
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1618
>                 URL: https://issues.apache.org/jira/browse/CXF-1618
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Daniel Kulp
>
> I added an @Ignored test that fails to the ReflectionServiceFactoryBeanTest. This test demonstrates the model cooking itself up with a part element QName for an element that isn't in the schema.
> The same results ensue when run with the JaxWsServiceFactoryBean, whose test also has this case now.

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