Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hello guys,
I am an android developer.
I am developing apps with server side (admin side) in Microsoft technology and communicate via KSOAP library to android and Server side web service.
 
These all working fine in all my apps. I just stuck in the issue when my web service need to authenticate using Microsoft server active directory (NTLM).
 
Is there any way to provide the NTLM credential in KSOAP request.
 
I really need help for this.
Thanks.
Posted 14-Jun-12 2:57am
Edited 14-Jun-12 3:21am
Tim Corey85.7K
v2
Comments
Tim Corey at 14-Jun-12 9:21am
   
I updated the question to change NTML to NTLM.
Jaydeep Jadav at 14-Jun-12 9:31am
   
Thanks dear..

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I believe this blog post will help you out:
 
http://csharpening.net/blog/?p=271[^]
 
This came from this question on Stack Overflow:
 
http://stackoverflow.com/questions/3843966/ksoap-android-jcifs-sends-empty-http-post[^]
 
I did look for an example directly from KSOAP, and this is what I found:
 
https://groups.google.com/forum/?fromgroups#!topic/ksoap2-android/6lfFGIH0wE4[^]
  Permalink  
Comments
Jaydeep Jadav at 14-Jun-12 9:29am
   
Hey Tim , Thanks for quick response.
I already tried first and second link you had given but in that method they are using HttpClient and generate the SOAP xml in String or String Builder.
 
I need to do this in KSOAP library.
 
Thanks and Regards
Tim Corey at 14-Jun-12 9:31am
   
Well, as the last link states, even the person who maintains KSOAP isn't sure if that is possible. Sorry, but that is all I've got.
Jaydeep Jadav at 14-Jun-12 9:35am
   
Yah, i just checked that. Now only option to use the jcifs for authentication in HttpClient.
 
Thanks Tim.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Schatak 394
1 OriginalGriff 330
2 _Amy 115
3 Andreas Gieriet 100
4 Rob Philpott 90
0 OriginalGriff 7,107
1 Sergey Alexandrovich Kryukov 5,623
2 Maciej Los 3,504
3 Peter Leow 3,373
4 DamithSL 2,505


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 14 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100