users@glassfish.java.net

Access to raw XML in Jersey

From: <glassfish_at_javadesktop.org>
Date: Mon, 20 Jul 2009 03:26:03 PDT

Hi,

I am trying to add an XMLDSIG to every reply that a jersey REST service creates.

My problem is that I have to get access to the raw XML created by the REST service in order to add the xml dsig XML element to the reply.

How do I access the raw XML created by a jersey REST service?

I have been looking at com.sun.jersey.spi.container.ContainerResponseFilter, but this only grants me access to the object being returned, not the raw xml.

I am looking for something similar to javax.xml.ws.handler.LogicalHandler in Metro.
[Message sent by forum member 'uldall' (uldall)]

http://forums.java.net/jive/thread.jspa?messageID=356522