This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 2921
    
    5
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 ]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Axis-2 (1.4) and NTLM
 
Similar Threads
Generating a WSDL file for an interface
Setting WEb services credentials
New article: Web Services Authentication with Axis 2
How to increase the time out period of the web service call
Lot of confusion