NTLM with WSDL?
- I was wondering if anyone had experience accessing a WSDL on a
Microsoft IIS server(for example, I am accessing one on a Microsoft
I can't seem to get it to authenticate, I always get a 401 error. Here
is my code:
my $user = 'DOMAIN\user'; # The auth module splits this on the '\'
my $pass = 'password';
my $server = '#########'; # I enter the IP here
# Set up the ntlm client and then the base64 encoded ntlm
my $ua = new
$ua->agent("Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;
SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)");
# This is required to store the credentials, note that the realm
$ua->credentials($server.':80/ProjectServer', '', $user, $pass);
my $service = SOAP::Lite
I get a message at the line where the service is set that says...
Service description 'http://######:80/ProjectServer/PDS.WSDL' can't be
loaded: 401 Unauthorized
Does anyone know how this can be done? I know my UserAgent is correct,
it works for XML-RPC.
- On Friday 14 April 2006 20:33, you wrote:
> I was wondering if anyone had experience accessing a WSDL on aIn general IIS support the Authentication Schemes
> Microsoft IIS server(for example, I am accessing one on a Microsoft
> Project server).
Do a HEAD request and check what your ISS supports.
If your Client is using LWP for doing the HTTP connection
the Authentication protocols can be handled by:
to do NTLM Authentication
to do SPNEGO Authentication.
That means you can use Kerberos to authenticate against your IIS
from all platforms with a working Kerberosinstallation.
What Operating system are you using to run your SOAP Clients?