users@glassfish.java.net

Impossible to be true : no marshaller access in glassfish web service

From: <glassfish_at_javadesktop.org>
Date: Fri, 14 Mar 2008 00:35:44 PST

Hi all,

I am struggling with a problem, and do not find a solution, so i post it here (please say me if there is a more appropriated location)

I want to control the marshalling of my web service response (currently it is a one line response, i want to indent it). I am in glassfish V2, and use JAX WS annotation. All works fine, but the response output is very unpleasant to read (and to debug, and hard to 'sell' as a production ready solution)

I see no standard way of doing this !!!! I must be blind ...

I've found a related issue : https://jax-ws.dev.java.net/issues/show_bug.cgi?id=282

Please say me there is a simple solution to this problem. (Of course i can make a filter, a response wrapper, and format the output content, but it is ankward and overcomplicated)


Many thanks
[Message sent by forum member 'otexier' (otexier)]

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