users@jax-ws.java.net

Re-Send: JAX-WS/WSIT: Server-side logging of HTTP 500 response content in Oneway scenario?

From: Andreas Loew <Andreas.Loew_at_Sun.COM>
Date: Thu, 21 Jun 2007 09:34:07 +0200

All,

sorry, but I have to come back to a scenario already raised on the WSIT
alias:

I have implemented a WS-N endpoint providing a @Oneway service that is
running in a WSIT container. My remote party receives a HTTP 500
response with an error message (or even a complete error stack) on their
side, while I myself - although I have set quite a lot of logging
properies and switched log levels to maximum level - am completely
unable to see any kind of error in my local server log.

On the WSIT alias, Jitu has already commented on it as follows:

"Some Pipe converts the exception to SOAP message so jax-ws runtime
doesn't log it. If jax-ws runtime catches exception, it should be
printing the stack trace before converting it to soap message."

I can imagine that it is the fact of my operation being a @Oneway that
makes the HTTP dumper pipe refrain from dumping the reply!?

Can the JAX-WS team *please* have a look into this? Or do I have to move
forward and create a formal issue first?

 From my point of view, this definitely is a P2: I definitely *cannot*
live with the fact that my remote party knows the details about
exceptions raised on my server, while I myself can't find even the
slightest hint in my server.log that any exception has happened at all...

As these contain confidential information, I am only able to provide the
reply message as received by the remote party as well as my local
server.log by private mail (I have in fact already included them in my
previous mail sent to the internal alias).

Thanks again for looking into this!

Best regards

Andreas

-- 
Andreas Loew
Java Architect
Sun Microsystems (Germany)