I actually looked at the source code for LogginInInterceptor to get my answer:
@SuppressWarnings("unchecked") Map<String, List<String> > headers = (Map<String, List<String> >) message.get(Message.PROTOCOL_HEADERS); for (Map.Entry<String, List<String> > header : headers.entrySet()) System.out.println(header.getKey() + " : " + header.getValue().get(0)); Thanks, -Chris W. -----Original Message----- From: Wolf, Chris (IT) Sent: Monday, June 23, 2008 5:24 PM To: users@cxf.apache.org Subject: How to access HTTP request/responce from interceptor? I read the docs, and only found this: http://cwiki.apache.org/CXF20DOC/servlet-transport.html#ServletTransport -AccessingtheMessageContextand%2ForHTTPRequestandResponse However, I would like to access the the HTTP request object from my subclass of AbstractPhaseInterceptor - how would I do that? I tried getting the destination via SoapMessage.getDestination(), but it's of type "ServletDestination"... I also tried SoapMessage.getExchange(message).getConduit(), but that returned null. Thanks and any help, -Chris W. -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.