Hello,
This is our scenario :
We have a Ms Dynamics NAV server with a lot of Navision Web Services published in enterprise intranet, all these web services needs ntlm authentication to work.
We have a IIS server that publish these web services with ntlm authentication, this part isolate intranet from extranet.
And finally we are working in a B4A app that works with these web services (published though IIS), and here is our problem, to use these Web Services we need to ntlm authenticate our app in our IIS Server.
I have a lot of doubts, i had read all about ntlm auth that i found in this forums (https://www.b4x.com/android/forum/threads/integrated-windows-authentication-ntlmv2-solution.66790/, https://www.b4x.com/android/forum/t...s-using-httputils2-library.52581/#post-496848 , https://www.b4x.com/android/forum/threads/where-can-i-find-the-package-com-squareup-okhttp.93772/ , https://www.b4x.com/android/forum/threads/ntlm-authentication.94350/#post-596972 , etc .. ).
I had downloaded ntlm_test1.zip example of Mr23, I unzip and tried to compile but obtain the same error of Marco Gioia:
B4J Version: 6.30
Parsing code. (0.06s)
Compiling code. (0.20s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
javac 1.8.0_144
src\b4j\example\main.java:16: error: package com.squareup.okhttp does not exist
import com.squareup.okhttp.Authenticator;
^
1 error
I had read again the post https://www.b4x.com/android/forum/threads/integrated-windows-authentication-ntlmv2-solution.66790/ but i not sure where is the problem, com.squareup.okhttp libray? OkHttpUtils2 library? I am new in B4A (I have knowledge in VB, .NET, Navision, IIS, MSSql Server but B4A and B4J are new for me).
Please could you help m
Thanks for your attention
This is our scenario :
We have a Ms Dynamics NAV server with a lot of Navision Web Services published in enterprise intranet, all these web services needs ntlm authentication to work.
We have a IIS server that publish these web services with ntlm authentication, this part isolate intranet from extranet.
And finally we are working in a B4A app that works with these web services (published though IIS), and here is our problem, to use these Web Services we need to ntlm authenticate our app in our IIS Server.
I have a lot of doubts, i had read all about ntlm auth that i found in this forums (https://www.b4x.com/android/forum/threads/integrated-windows-authentication-ntlmv2-solution.66790/, https://www.b4x.com/android/forum/t...s-using-httputils2-library.52581/#post-496848 , https://www.b4x.com/android/forum/threads/where-can-i-find-the-package-com-squareup-okhttp.93772/ , https://www.b4x.com/android/forum/threads/ntlm-authentication.94350/#post-596972 , etc .. ).
I had downloaded ntlm_test1.zip example of Mr23, I unzip and tried to compile but obtain the same error of Marco Gioia:
B4J Version: 6.30
Parsing code. (0.06s)
Compiling code. (0.20s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
javac 1.8.0_144
src\b4j\example\main.java:16: error: package com.squareup.okhttp does not exist
import com.squareup.okhttp.Authenticator;
^
1 error
I had read again the post https://www.b4x.com/android/forum/threads/integrated-windows-authentication-ntlmv2-solution.66790/ but i not sure where is the problem, com.squareup.okhttp libray? OkHttpUtils2 library? I am new in B4A (I have knowledge in VB, .NET, Navision, IIS, MSSql Server but B4A and B4J are new for me).
Please could you help m
Thanks for your attention