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.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35230
7
posted
0
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 ]