Some queries regarding JSON support in cxf-2.2.4

2009-10-29 Thread Chaitanya
Hi, I have been evaluating cxf-2.2.4.jar and I need some help for the following issues. Issue 1 : Is there any support for getting JSON in Badgerfish and Jettison-Mapped notations in cxf-2.2.4? If yes, please tell me the configuration to get JSON any one of these notations. If no, by when do

Re: Some queries regarding JSON support in cxf-2.2.4

2009-10-29 Thread Sergey Beryozkin
Hi, Issue1. There's a custom BadgerFish provider available in the system test area : http://svn.apache.org/repos/asf/cxf/trunk/systests/jaxrs/src/test/java/org/apache/cxf/systest/jaxrs/BadgerFishProvider.java So please feel free to copy the source and use it as a custom provider in your own pr

Re: Some queries regarding JSON support in cxf-2.2.4

2009-10-29 Thread Chaitanya
Hi, Thank you for the prompt reply. Jettison-Mapped notations Isn't it what the default JSONProvider we ship supports ? I thought it did...Or am I wrong ? default JSONProvider supports Mapped notation which is slightly different from Jettison-Mapped notation. Thank you. Chaithanya. --

Re: Some queries regarding JSON support in cxf-2.2.4

2009-10-29 Thread Sergey Beryozkin
Hi Hi, Thank you for the prompt reply. Jettison-Mapped notations Isn't it what the default JSONProvider we ship supports ? I thought it did...Or am I wrong ? default JSONProvider supports Mapped notation which is slightly different from Jettison-Mapped notation. I chatted with Dejan

xerces versus classpath versus webapps

2009-10-29 Thread Benson Margulies
This isn't CXF-specific, but I bet one of you has been here before. I have a webapp. It has a JAX-RS CXF service. That service takes an XML file and parses it using standard JAXP APIs. It sets up XML Schema validation. xerces is listed as a dependency, no scope specified. Run as a unit test. De

Beware of jetty 7.0

2009-10-29 Thread Benson Margulies
I just accidentally tried to run a CXF service under Jetty 7.0 by running mvn jetty:run without a dependency in my pom to constrain to jetty 6. There seems to be a standards feud between Spring and jetty; jetty proceeded to complain that some of Spring's PostConstruct annotations were invalid, and

Re: D-OSGi and REST

2009-10-29 Thread Demetris
Hi Sergey, did you ever try deploying servlets (to serve calls to RESTful services) on Felix or did you only work on the CXF JAX-RS implementation? I am curious as to whether the OSGi HTTP server can handle servlets for this purpose. I have a feeling that it may not support a web.xml. I wa