axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alistair Young <alistair.yo...@uhi.ac.uk>
Subject Axis2 client not getting Digest auth challenge from server
Date Tue, 08 Oct 2013 10:41:56 GMT
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


Mime
View raw message