I need to use Basic Auth in a client I've written, but I haven't found a
way to do this when using the Axis implementation of javax.xml.soap
classes. I thought I might be able to configure it on the URL (via
URLConnection) that is passed into the SOAPConnection 'call' method, but
unfortunately, SOAPConnectionImpl does this:
public SOAPMessage call(SOAPMessage request, Object endpoint)
...
Call call = new Call(endpoint.toString());
which throws my configured URL away and makes a new one. As far as I've
been able to determine I don't have access to the underlying Call
object, so none of the JAX-RPC configuration can be done either. Has
anyone figured out how to do this?
Regards,
Scott