Click here to Skip to main content
12,401,832 members (58,569 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Java Mobile Android Microsoft , +
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
Updated 14-Jun-12 3:21am
Tim Corey111.6K
v2
Comments
Tim Corey 14-Jun-12 9:21am
   
I updated the question to change NTML to NTLM.
Jaydeep Jadav 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 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 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 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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 14 Jun 2012
Copyright © CodeProject, 1999-2016
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