Renier Rhode wrote:
> Hi,
> 
> I need to add custom HTTP headers to an outgoing request. The system I'm
> integrating with requires the a session identifier to be included in the
> HTTP headers on every request.
> 
> I've generated the client code using the included wsdl2java.
> 
> Any help would be appreciated.

http://weblogs.java.net/blog/ramapulavarthi/archive/2006/06/maintaining_ses.html
explains how to maintain the session in JAX-WS.  The blog is written for
Glassfish Metro (the Sun RI) but the same approach with the
SESSION_MAINTAIN_PROPERTY works on CXF too.

Ian

-- 
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to