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

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 ( and and, etc.). None of them really works for me. Could any one please make some suggestions, any samples that I can leverage? Thank you.

Peer Reynders

Joined: Aug 19, 2005
Posts: 2933
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 ]
I agree. Here's the link:
subject: Axis-2 (1.4) and NTLM
It's not a secret anymore!