aspose file tools*
The moose likes Web Services and the fly likes Axis-2 (1.4) and NTLM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis-2 (1.4) and NTLM" Watch "Axis-2 (1.4) and NTLM" New topic
Author

Axis-2 (1.4) and NTLM

Ricky Murphy
Ranch Hand

Joined: Oct 16, 2007
Posts: 31
Hello All:

I am using Axis2-1.4 to host my services. This service is protected using NTLM authentication scheme. In one use case, I need to call this service from another service. In 'Axis 1' days, I can create a NTLM credential and passed it to my stub (generated by wsdl2java) and in the mean time provide a client.wsdd file for client to specify the transport layer so that HttpClient can be used and problem is solved. However, how would I do this in Axis2-1.4 (my first version in Axis2 series)?

I searched the internet and there were some suggestions given but none seemed to be working well, plus, all seemed to be for older versions of Axis2. The places that I went were (http://wso2.org/library/161 and http://ws.apache.org/axis2/0_94/http-transport.html and, etc.). None of them really works for me. Could any one please make some suggestions, any samples that I can leverage? Thank you.

-Ricky
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2906
Originally posted by Ricky Murphy:
all seemed to be for older versions of Axis2.


The write-up for Axis2 1.4 Basic, Digest and NTLM Authentication hasn't changed that much.

In any event I wouldn't expect this support to go on indefinitely as WS-Security (Rampart module) is the more standardized solution for SOAP web services.
[ November 25, 2008: Message edited by: Peer Reynders ]

"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
 
wood burning stoves
 
subject: Axis-2 (1.4) and NTLM
 
Similar Threads
Setting WEb services credentials
New article: Web Services Authentication with Axis 2
Lot of confusion
How to increase the time out period of the web service call
Generating a WSDL file for an interface