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/10/31 02:12:44 UTC

[jira] Updated: (CXF-1891) Support multiple data bindings in one service (type-by-type)

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

Benson Margulies updated CXF-1891:
----------------------------------

    Component/s:     (was: Aegis Databinding)
                 Core
        Summary: Support multiple data bindings in one service (type-by-type)  (was: Aegis DataBinding should support XmlBeans types)

> Support multiple data bindings in one service (type-by-type)
> ------------------------------------------------------------
>
>                 Key: CXF-1891
>                 URL: https://issues.apache.org/jira/browse/CXF-1891
>             Project: CXF
>          Issue Type: Wish
>          Components: Core
>    Affects Versions: 2.1.2
>            Reporter: Renaud Denis
>
> CXF does not seem to support services interfaces declaring a mix of types like XFire did. For instance, a service using Aegis databinding should support XmlBeans objects as well as aegis-annotated (or XML mapped) POJOs.
> {code:title=Currently Supported}
> public interface MyService {
> 	void store(Memento memento, String name, String ownerId, boolean shared);
> 	org.w3c.dom.Document listAll();
> }
> {code}
> {code:title=Currently not supported}
> public interface MyService {
> 	void store(Memento memento, String name, String ownerId, boolean shared);
> 	org.w3c.dom.Document listAll();
> 	PreferencesDocument retrieve(String leaf, boolean retrieveHierarchy);
> 	// PreferencesDocument is a org.apache.xmlbeans.XmlObject
> }
> {code}
> XmlBeans/(JAXB?) Integration layers in CXF should provide Aegis Type Creators out-of-the-box, at least in order to ensure seamless migration from XFire to CXF.

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