Click here to Skip to main content
15,903,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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
Updated 14-Jun-12 3:21am
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

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[^]
 
Share this answer
 
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900