axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason D. Lee" <>
Subject Can't get a client to authenticate
Date Thu, 08 Aug 2002 15:10:44 GMT
I'm trying to add basic authentication to my web service, and it appears
that only the server side is working.  When I run the client, it returns
"Need to specify a user for authorization!" despite that I have this in the
client code:

			CraftsWebService serviceProvider = new
			CraftsWeb service = serviceProvider.getCraftsWeb();
			((Stub) service).setUsername("user1");
			((Stub) service).setPassword("pswd1");

I have users.lst and perms.lst in WEB-INF with that info in it, but it still
does not want to authenticate.  What am I missing?

Jason Lee - Programmer
Hobby Lobby Stores, Inc.

View raw message