Axis2 client not getting Digest auth challenge from server

Alistair Young <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <CE79A003.678A%[email protected]>
I've used Axis2 a fair bit but never seen this. Ruby client gets this when accessing SOAP service:

Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-Powered-By: PHP/5.2.12
...
WWW-Authenticate: Digest ...

the axis2 client gets nothing so it sends a Basic auth header and gets nowhere as the server uses Digest auth but doesn't tell that to the axis2 client.

HttpTransportProperties.Authenticator authenticator = new HttpTransportProperties.Authenticator();
authenticator.setUsername("...");
authenticator.setPassword("...");
authenticator.setPreemptiveAuthentication(true);
stub._getServiceClient().getOptions().setProperty(HTTPConstants.AUTHENTICATE, authenticator);

Is there anything I'm missing in the axis2 client?

thanks,

Alistair

--
mov eax,1
mov ebx,0
int 80h
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.