You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Artur Karazniewicz (JIRA)" <ji...@apache.org> on 2008/06/14 22:07:45 UTC
[jira] Created: (CXF-1650) Allow JAX-RS Resources, without
XmlRootElement JAXB annotation
Allow JAX-RS Resources, without XmlRootElement JAXB annotation
--------------------------------------------------------------
Key: CXF-1650
URL: https://issues.apache.org/jira/browse/CXF-1650
Project: CXF
Issue Type: Improvement
Components: REST
Affects Versions: 2.1
Environment: MacOS X 10.5.2, JSE 1.5
Reporter: Artur Karazniewicz
Currently, exposing POJO resources as application/xml MIME resource, needs POJO to be annotated with XmlRootElement. This is serious limitations especially, with conjunction with JAX-WS, and wsdl-first approach (when one wants expose service through REST and SOAP). Things even goes worse with DOC/LIT/Wrapped. XJC is little bit restrictive when it comes to emitting XmlRootElement - see:
http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html
It would be really helpful if there were some (plugable and customizable) strategy, how overcome above requirement. It would definitely be helpful, especially with mixed scenarios - JAX-WS + JAX-RS.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (CXF-1650) Allow JAX-RS Resources, without
XmlRootElement JAXB annotation
Posted by "Artur Karazniewicz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Artur Karazniewicz closed CXF-1650.
-----------------------------------
> Allow JAX-RS Resources, without XmlRootElement JAXB annotation
> --------------------------------------------------------------
>
> Key: CXF-1650
> URL: https://issues.apache.org/jira/browse/CXF-1650
> Project: CXF
> Issue Type: Improvement
> Components: REST
> Affects Versions: 2.1
> Environment: MacOS X 10.5.2, JSE 1.5
> Reporter: Artur Karazniewicz
> Fix For: 2.2, 2.1.5
>
>
> Currently, exposing POJO resources as application/xml MIME resource, needs POJO to be annotated with XmlRootElement. This is serious limitations especially, with conjunction with JAX-WS, and wsdl-first approach (when one wants expose service through REST and SOAP). Things even goes worse with DOC/LIT/Wrapped. XJC is little bit restrictive when it comes to emitting XmlRootElement - see:
> http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html
> It would be really helpful if there were some (plugable and customizable) strategy, how overcome above requirement. It would definitely be helpful, especially with mixed scenarios - JAX-WS + JAX-RS.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (CXF-1650) Allow JAX-RS Resources, without
XmlRootElement JAXB annotation
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sergey Beryozkin resolved CXF-1650.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.1.5
2.2
I'm closing it now - but please reopen it or create a new one if you feel some more enhancements needs to be made to JAXB provider
> Allow JAX-RS Resources, without XmlRootElement JAXB annotation
> --------------------------------------------------------------
>
> Key: CXF-1650
> URL: https://issues.apache.org/jira/browse/CXF-1650
> Project: CXF
> Issue Type: Improvement
> Components: REST
> Affects Versions: 2.1
> Environment: MacOS X 10.5.2, JSE 1.5
> Reporter: Artur Karazniewicz
> Fix For: 2.2, 2.1.5
>
>
> Currently, exposing POJO resources as application/xml MIME resource, needs POJO to be annotated with XmlRootElement. This is serious limitations especially, with conjunction with JAX-WS, and wsdl-first approach (when one wants expose service through REST and SOAP). Things even goes worse with DOC/LIT/Wrapped. XJC is little bit restrictive when it comes to emitting XmlRootElement - see:
> http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html
> It would be really helpful if there were some (plugable and customizable) strategy, how overcome above requirement. It would definitely be helpful, especially with mixed scenarios - JAX-WS + JAX-RS.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-1650) Allow JAX-RS Resources, without
XmlRootElement JAXB annotation
Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-1650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678735#action_12678735 ]
Sergey Beryozkin commented on CXF-1650:
---------------------------------------
Hi, ObjectFactory will be used if found, and XmlJavaTypeAdapters (in/out) are now supported. Do you think this JIRA can be closed now ?
Cheers, Sergey
> Allow JAX-RS Resources, without XmlRootElement JAXB annotation
> --------------------------------------------------------------
>
> Key: CXF-1650
> URL: https://issues.apache.org/jira/browse/CXF-1650
> Project: CXF
> Issue Type: Improvement
> Components: REST
> Affects Versions: 2.1
> Environment: MacOS X 10.5.2, JSE 1.5
> Reporter: Artur Karazniewicz
>
> Currently, exposing POJO resources as application/xml MIME resource, needs POJO to be annotated with XmlRootElement. This is serious limitations especially, with conjunction with JAX-WS, and wsdl-first approach (when one wants expose service through REST and SOAP). Things even goes worse with DOC/LIT/Wrapped. XJC is little bit restrictive when it comes to emitting XmlRootElement - see:
> http://weblogs.java.net/blog/kohsuke/archive/2006/03/why_does_jaxb_p.html
> It would be really helpful if there were some (plugable and customizable) strategy, how overcome above requirement. It would definitely be helpful, especially with mixed scenarios - JAX-WS + JAX-RS.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.