You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Kaleb Walton (JIRA)" <ji...@apache.org> on 2007/11/07 18:56:50 UTC

[jira] Created: (CXF-1184) Enable 'defaultMinOccurs' and 'defaultNillable' on Simple Server

Enable 'defaultMinOccurs' and 'defaultNillable' on Simple Server
----------------------------------------------------------------

                 Key: CXF-1184
                 URL: https://issues.apache.org/jira/browse/CXF-1184
             Project: CXF
          Issue Type: New Feature
          Components: Bus, Configuration, Transports
    Affects Versions: 2.0.2, 2.0.1, 2.0, 2.0.3, 2.1, Invalid
            Reporter: Kaleb Walton


The only drawback we have found to using the simple server is that primitives are by default set to minOccurs="1" making them required. This is not desirable - if we simply had a 'defaultMinOccurs' flag we could set it would allow us to control that ourselves, even if it was as the global level it would enable us to have a clean, completely decoupled use of CXF.

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


[jira] Commented: (CXF-1184) Enable 'defaultMinOccurs' and 'defaultNillable' on Simple Server

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

Daniel Kulp commented on CXF-1184:
----------------------------------


I assume you mean for the Aegis databinding?   Not the simple frontend?   The simple frontend can also use the JAXB databinding where we wouldn't have control over this.



> Enable 'defaultMinOccurs' and 'defaultNillable' on Simple Server
> ----------------------------------------------------------------
>
>                 Key: CXF-1184
>                 URL: https://issues.apache.org/jira/browse/CXF-1184
>             Project: CXF
>          Issue Type: New Feature
>          Components: Bus, Configuration, Transports
>    Affects Versions: 2.0, 2.0.1, 2.0.2, 2.0.3, 2.1, Invalid
>            Reporter: Kaleb Walton
>
> The only drawback we have found to using the simple server is that primitives are by default set to minOccurs="1" making them required. This is not desirable - if we simply had a 'defaultMinOccurs' flag we could set it would allow us to control that ourselves, even if it was as the global level it would enable us to have a clean, completely decoupled use of CXF.

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


[jira] Closed: (CXF-1184) Enable 'defaultMinOccurs' and 'defaultNillable' on Simple Server

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

Kaleb Walton closed CXF-1184.
-----------------------------

    Resolution: Invalid

Not a valid request, closing.

> Enable 'defaultMinOccurs' and 'defaultNillable' on Simple Server
> ----------------------------------------------------------------
>
>                 Key: CXF-1184
>                 URL: https://issues.apache.org/jira/browse/CXF-1184
>             Project: CXF
>          Issue Type: New Feature
>          Components: Bus, Configuration, Transports
>    Affects Versions: 2.0, 2.0.1, 2.0.2, 2.0.3, 2.1, Invalid
>            Reporter: Kaleb Walton
>
> The only drawback we have found to using the simple server is that primitives are by default set to minOccurs="1" making them required. This is not desirable - if we simply had a 'defaultMinOccurs' flag we could set it would allow us to control that ourselves, even if it was as the global level it would enable us to have a clean, completely decoupled use of CXF.

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


[jira] Commented: (CXF-1184) Enable 'defaultMinOccurs' and 'defaultNillable' on Simple Server

Posted by "Kaleb Walton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-1184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540832 ] 

Kaleb Walton commented on CXF-1184:
-----------------------------------

It seems this request is irrelevant then. I will research the JAXB databinding to see if there is a way I can specify something like this. Thanks for the speedy response!

> Enable 'defaultMinOccurs' and 'defaultNillable' on Simple Server
> ----------------------------------------------------------------
>
>                 Key: CXF-1184
>                 URL: https://issues.apache.org/jira/browse/CXF-1184
>             Project: CXF
>          Issue Type: New Feature
>          Components: Bus, Configuration, Transports
>    Affects Versions: 2.0, 2.0.1, 2.0.2, 2.0.3, 2.1, Invalid
>            Reporter: Kaleb Walton
>
> The only drawback we have found to using the simple server is that primitives are by default set to minOccurs="1" making them required. This is not desirable - if we simply had a 'defaultMinOccurs' flag we could set it would allow us to control that ourselves, even if it was as the global level it would enable us to have a clean, completely decoupled use of CXF.

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