Hi Angelo
On 15/03/12 14:06, Angelo zerr wrote:
Hi CXF Team,
I
'm using DOSGI with REST and I think it should be cool if you can add a
sample with REST and not with SOAP in the Spring DM Demo
http://cxf.apache.org/dosgi-spring-dm-demo-page.html
(ex: declare<entry key="service.exported.configs" value="org.apache.cxf.rs"
/>)
I have used the
cxf-dosgi-ri-source-distribution-1.3.jar<http://search.maven.org/remotecontent?filepath=org/apache/cxf/dosgi/cxf-dosgi-ri-source-distribution/1.3/cxf-dosgi-ri-source-distribution-1.3.jar>coming
from
http://cxf.apache.org/dosgi-releases.html and I have spend a lot of time to
understand why my REST services didn't work. After debugging CXF, I have
noticed that CXF uses Jettyson by default as JSON Provider. So I think it
should be cool if jettyson.jar will be included too in the
cxf-dosgi-ri-source-distribution-1.3.jar<http://search.maven.org/remotecontent?filepath=org/apache/cxf/dosgi/cxf-dosgi-ri-source-distribution/1.3/cxf-dosgi-ri-source-distribution-1.3.jar>
Shipping the jettison jar probably makes sense for the DOSGi RI, and the
multi-distro users can easily not include if they prefer Jackson (in
case of JAX-RS) or if they work with JAX-WS - they won't notice it
probably :-)
Please create a JIRA and we can review it later on
Thanks
Sergey
Regards Angelo
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com