B biku2991 New Member Mar 9, 2013 #1 Hello everyone. I've been watching tutorials and threads about Basic4android and I'm really interested to use it in a project but I have a doubt: I have a WCF Service with WSHttBinding and custom username and password on client. I want to use an Android client but I'm not sure if I can connect to my WCF service with Basic4android. Is this possible?? Thanks in advance.
Hello everyone. I've been watching tutorials and threads about Basic4android and I'm really interested to use it in a project but I have a doubt: I have a WCF Service with WSHttBinding and custom username and password on client. I want to use an Android client but I'm not sure if I can connect to my WCF service with Basic4android. Is this possible?? Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2013 #2 You can connect to WCF services with Basic4android. You will need to build the request. In most cases it is quite simple to do it by saving a template and then changing the required fields. For example: http://www.b4x.com/forum/basic4andr...dd-ocr-features-your-android-application.html Upvote 0
You can connect to WCF services with Basic4android. You will need to build the request. In most cases it is quite simple to do it by saving a template and then changing the required fields. For example: http://www.b4x.com/forum/basic4andr...dd-ocr-features-your-android-application.html
B biku2991 New Member Mar 9, 2013 #3 Thanks for your answer, Erel. My doubt is because in this scenario you have to send a custom username and password to the server to call a webservice method due to the implementation of WSHttBinding. I was checking a thread about HttpUtils2 and I see that you can do something like this: job3.Username = "username" job3.Password = "password" job3.Download = "http://www.address.com/service/service.svc/GetData" It would be this kind of features that you have to use in the case that I explain you? Thank you. Upvote 0
Thanks for your answer, Erel. My doubt is because in this scenario you have to send a custom username and password to the server to call a webservice method due to the implementation of WSHttBinding. I was checking a thread about HttpUtils2 and I see that you can do something like this: job3.Username = "username" job3.Password = "password" job3.Download = "http://www.address.com/service/service.svc/GetData" It would be this kind of features that you have to use in the case that I explain you? Thank you.
Erel B4X founder Staff member Licensed User Longtime User Mar 9, 2013 #4 It depends on how the username and password are supposed to be sent. You can add any header you need by calling: Code: Copy Job.GetRequest.SetHeader(...) Upvote 0
It depends on how the username and password are supposed to be sent. You can add any header you need by calling: Code: Copy Job.GetRequest.SetHeader(...)