axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Windberg <jwindb...@yahoo.com>
Subject RE: .NET cred
Date Tue, 29 Mar 2005 18:50:20 GMT
I'm expecting to not have much control over the given
sharepoint server, so doing whatever it does would be
the correct answer.
Can you point me to any scrap of code on how to do
NTLM  with axis as a client or a readme?

Thanks heaps.

-J



--- Simon Fell <sfell@salesforce.com> wrote:
> Sharepoint by default uses NTLM auth.
> 
> I believe if you switch to using commonsHTTPSender,
> it supports NTLM, or
> you can chanage your sharepoint config to allow
> basic auth as well.
> 
> Cheers
> simon 
> 
> > -----Original Message-----
> > From: John Windberg [mailto:jwindberg@yahoo.com] 
> > Sent: Tuesday, March 29, 2005 10:11 AM
> > To: axis-user@ws.apache.org
> > Subject: Re: .NET cred
> > 
> > I suppose I should have been a bit more clear.
> > I'm programming a client in Java, with Axis.
> > 
> > basic auth with setUserName and setPassword don't
> work when 
> > accessing a .NET server, and in Java there is no 
> > service.Credential to work with.
> > What's the trick?
> > 
> > My code so far...
> > 
> > ListsLocator service = new ListsLocator(); Call
> call = (Call) 
> > service.createCall(); URL url = new 
> > URL(service.getListsSoapAddress());
> > ListsSoapStub stub = new ListsSoapStub(url,
> service);
> > 	
> _GetListCollectionResponse_GetListCollectionResult
> > listCollection = stub.getListCollection();
> > 
> > 
> > 
> 

Mime
View raw message