RE: jax-rs, raw xml output, a BUG?
Sergey thanks for your reply, the thing I do not understand is - why do I get a NullPointerException while trying out examples from cxf 2.1? Sergey Beryozkin wrote: Looks like you're not using a CXF JAX-RS implementation but a CXF-specific HTTP binding. Please consider giving a try to CXF JAX-RS... Not sure where http://service.rss.test is coming from -- View this message in context: http://www.nabble.com/jax-rs%2C-raw-xml-output%2C-a-BUG--tp15518626p15528676.html Sent from the cxf-user mailing list archive at Nabble.com.
Re: jax-rs, raw xml output, a BUG?
Sergey, I have just tried out the following example from cxf 2.0.4 distribution - samples/restful_http_binding and the output is: ns2:Customers xmlns:ns2=http://demo.restful.server; customer id123/id nameJohn/name /customer /ns2:Customers I would appreciate some comments on the issue, thanks. -- Regards, Dmitry -- View this message in context: http://www.nabble.com/jax-rs%2C-raw-xml-output%2C-a-BUG--tp15518626p15528798.html Sent from the cxf-user mailing list archive at Nabble.com.
Re: Returning ListFoo via SOAP
On 15/02/2008, at 7:19 AM, Daniel Kulp wrote: Any chance you can try with 2.0.4? It sounds like for some reason, the ReviewData is not getting passed into the JAXB context. Not sure why that is.. Actually, what compiler flags are you using? With -o, I'm not sure if the generics is compiled in. I would assume so, but maybe not. I was able to work around this by returning arrays instead of generic Lists (wsdl2java still uses generic lists in the client interfaces it produces) I also encountered the problem that if one of my DTOs didn't have a default constructor it was silently ignored, and ListObject used instead. Tom -- ATLASSIAN - http://www.atlassian.com Our products help over 8,500 customers in more than 95 countries to collaborate
JAX-RS in 2.0.4-incubator?
Is JAX-RS support in 2.0.4, or only in 2.1? If it is in 2.0.4, which jars do I need (I can't find cxf-rt-frontend-jaxrs) Thanks, Tom -- ATLASSIAN - http://www.atlassian.com Our products help over 8,500 customers in more than 95 countries to collaborate
Re: JAX-RS in 2.0.4-incubator?
Hi Tom, JAX-RS support is only in the CXF 2.1. Willem. Tom Davies wrote: Is JAX-RS support in 2.0.4, or only in 2.1? If it is in 2.0.4, which jars do I need (I can't find cxf-rt-frontend-jaxrs) Thanks, Tom -- ATLASSIAN - http://www.atlassian.com Our products help over 8,500 customers in more than 95 countries to collaborate