Hi community,
I have a simple task, but I despair of it. I want to connect to a SOAP Web Service hosted on a windows machine:
The Username and the Password are correct. But every time I get "401: Unauthorized".
If I send the same request with the browser on the same device I get the authorization window for entering USER/PW. If I do it, I get the result of my webservice. But with my b4a code the authorization does not work.
What am I doing wrong?
I have a simple task, but I despair of it. I want to connect to a SOAP Web Service hosted on a windows machine:
B4X:
DIM job1 as httpjob
job1.initialize("TestJob", me)
job1.Username = "DOMAIN\USER"
job1.Password = "PW"
job1.Download("http://X.X.X.X:YYYY/services")
If I send the same request with the browser on the same device I get the authorization window for entering USER/PW. If I do it, I get the result of my webservice. But with my b4a code the authorization does not work.
What am I doing wrong?
Last edited: