Hi,

I have a problem that I really can't seem to resolve. I have downloaded some 
code from code Ranch called SAAJClient. This is now part of my struts project. 
I receive data from a client on my web which I then have to post through to a 
different client via webservices using javax.xml.soap.*

I set the http Headers to do Authentication but when I snoop the post going out 
none of the headers that I have set are present.

            String authorization = new 
sun.misc.BASE64Encoder().encode((username+":"+password).getBytes());
            MimeHeaders hd = message.getMimeHeaders();
            hd.addHeader("Authorization", "Basic " + authorization);

I really don't know where to look anymore for a solution on this and would 
appreciate any comments on this.

Kind Regards,

Neil Meyer

t. +27 (0) 11 523 4804  |  f. +27 (0) 11 523 4801  |  m. +27 (0) 82 474 7304
e. neil.me...@vscsolutions.co.za  |  w. www.vscsolutions.co.za


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to