• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Axis-2 (1.4) and NTLM

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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 ]
 
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
ScroogeXHTML - fast RTF to HTML and XHTML conversion
https://coderanch.com/t/749563/ScroogeXHTML-fast-RTF-HTML-XHTML
reply
    Bookmark Topic Watch Topic
  • New Topic