File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Passing Credentials to Web service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Reply locked New topic

Passing Credentials to Web service

Ravi Narala

Joined: Oct 23, 2007
Posts: 16
I am calling a .NET web service that uses NTLM authentication. How do I specify or pass credentials from my JAX-RPC client. I am using generated stubs to call the web service.
Ravi Narala

IBM Certified Websphere 6.1 Core Admin
IBM Certified SOA Solution Designer
SCEA Part 1
Peer Reynders

Joined: Aug 19, 2005
Posts: 2906
Please respond to original post

"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
I agree. Here's the link:
subject: Passing Credentials to Web service
Similar Threads
Need Exchange web services help: How to get push notificatons for all mailboxes of Exchange server.
Consuming secure web-services (Axis2 + Rampart)
Implementing Access Rights on Axis2 Web Service?
Setting WEb services credentials
Web application login using unix credentials