This week's book giveaways are in the Refactoring and Agile forums. We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line! See this thread and this one for details.
Hi, I am a newbei in SOAP. When I try to send a soap request over HTTP, it throws java.security.PrivilegedActionException: com.sun.xml.messaging.saaj.SOAPExceptionImpl: Bad response: (401Authorization Required). I need to set a HTTP header "Authorization:Basic", and I cannot go for java.net.Socket class as the response will not be a SOAP message. Please advise.
posted 10 years ago
I removed the original response, because I added a section in Web Services FAQ on how to do this using either JAX-RPC or a SOAPConnection. [ January 13, 2006: Message edited by: Ulf Dittmer ]