You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by John Windberg <jw...@yahoo.com> on 2005/03/31 02:27:03 UTC
Getting past IIS security...NTLM security
Ok,
I downloaded 1.2RC3, and commons-httpclient-2.0.2.jar
re-ran WSDL2Java
swapped out all of the deprecated constants generated
by WSDL2Java for the updated ones.
I added the client-config.wsdd as described.
I also generated with test class support, so I got a
class called ListsTestCase, and the method of interest
is: test1ListsSoapGetListCollection
I added in the middle of it:
binding.setUsername("Administrator");
binding.setPassword("password");
That seemed to be where I would set password stuff.
Not sure where else.
The response in the command line is:
Credentials cannot be used for NTLM authentication:
org.apache.commons.httpclient.UsernamePasswordCredentials
Have I been on the wrong track, and this was all about
Digest Authentication instead of NTML authentication?
Thanks
-John