Hi,
I'm trying to integrate the JAX-RS implementation now included in CXF 2.1
(snapshot).
The service is correctly called and the parameters arrive fine but then I
get a page with the message:
No message body writer found for response class : SimpleResponse.
Where SimpleResponse is my custom
Looking at the CXF code it seems the problem is here:
private T MessageBodyWriterT chooseMessageWriter(
ListMessageBodyWriter writers, ClassT type, MediaType mediaType)
{
for (MessageBodyWriterT ep : writers) {
if (!ep.isWriteable(type)) {
continue;
system tests on how this can be
done...(I'm sorry, at the moment that's our documentation :-)).
Typically You don't need to extend a Response, Response is a convenience
holder for a status, the entity and response headers
Cheers, Sergey
-Original Message-
From: Vincenzo Vitale [mailto
is not used but this is out of the cxf mailing list.
Ciao,
V.
On 10/4/07, Vincenzo Vitale [EMAIL PROTECTED] wrote:
Hi,
I developed some web services using the HttpResource annotation.
So for example I have the annotation:
@HttpResource(location =
/myService/{firstParameter
wouldn't be too hard to do.
Dan
On Wednesday 03 October 2007, Vincenzo Vitale wrote:
No one with the same requirement? :-(
I know that with normal XML parsers having a CDATA section or an
escaped one should not be a problem but in my case maybe the third
party are soing to use a custom old
Hi,
I developed some web services using the HttpResource annotation.
So for example I have the annotation:
@HttpResource(location =
/myService/{firstParameter}/{secondParameter}/{urlParameter}/{lastParameter})
The problem has that my parameters can contain url and I solved the problems
with
in the rest case but it seems to me really really
old style!
Ciao,
V.
On 9/28/07, Vincenzo Vitale [EMAIL PROTECTED] wrote:
Hi All,
I'm exposing a rest services (using annotation) and the return value is a
string with html code inside. The result value is escaped but I would like
to have it between
Hi All,
I'm exposing a rest services (using annotation) and the return value is a
string with html code inside. The result value is escaped but I would like
to have it between ![CDATA[, like it's done with the equivalent Soap
service.
Is it possible?
Thanks,
Vincenzo.
for this... and also I don't want to write a Spring mvc
controller for my rest services :-(
Would it be possible to make available a no snapshot release with this
problem solved?
Thanks,
Vincenzo Vitale.
On 9/24/07, vicio [EMAIL PROTECTED] wrote:
Hello,
have you solveed the problem.
I have
-incubator-take2/
I'm note sure what the specific bug was that you're encountering, but it
MAY be fixed in that build.
Dan
On Monday 24 September 2007, Vincenzo Vitale wrote:
I have just tried to use the snapshot version (2.1-incubator-SNAPSHOT)
and it worked nice, so I assume
to test: the network interface, or the
service API. There's no need to create (or use) the network interface
if what you actually want to test is the service API.
Vincenzo Vitale wrote:
Hi,
I would like to automatic testing my web services out of the box, that
is
integrated
artifactIdasm-all/artifactId
version3.0/version
/dependency
dependency
groupIdcglib/groupId
artifactIdcglib-nodep/artifactId
version2.1_3/version
/dependency
On 9/12/07, Vincenzo
Hi,
in my project I use Hibernate 3.2.4.sp1 and with cxf 2.0.1-incubator I get
the exception:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'sessionFactory' defined in class path resource [
oasis-db-context.xml]: Invocation of init method failed; nested
, Jacob Marcus [EMAIL PROTECTED] wrote:
Vincezo,
You will find the information here.
http://cwiki.apache.org/CXF20DOC/maven-integration-and-plugin.html.
If you are using Aegis databinding, you will need to add that dependency.
jacob
On 9/11/07, Vincenzo Vitale [EMAIL PROTECTED] wrote
, Vincenzo Vitale [EMAIL PROTECTED] wrote:
Hi Jacob,
thanks for your reply.
I already have set these dependencies but I got the exception:
Embedded error: Object is not of type class
org.mortbay.jetty.webapp.WebAppConte
xt
If I remove the last dependency then I got the exception
15 matches
Mail list logo