P PHB2 Member Licensed User Longtime User Nov 22, 2011 #1 I am developing a WCF web service that will be hosted on the internet. Is there a library/module for Basic4Android that will allow me to develop an app to send requests to this service and deal with the replies?
I am developing a WCF web service that will be hosted on the internet. Is there a library/module for Basic4Android that will allow me to develop an app to send requests to this service and deal with the replies?
Erel B4X founder Staff member Licensed User Longtime User Nov 23, 2011 #2 Http and HttpUtils allow you to call any web service. You will need to parse the result with XmlSax library. Upvote 0
Http and HttpUtils allow you to call any web service. You will need to parse the result with XmlSax library.
P PHB2 Member Licensed User Longtime User Nov 23, 2011 #3 Thank you for the response. Can HttpUtils deal with https URLs? Upvote 0
P PHB2 Member Licensed User Longtime User Nov 26, 2011 #5 Hi Erel Many thanks for your responses. Because my planned Android app needs to work with a hosted WCF web service I must make sure the development tool I choose is going to be able to cope and be easy to use. I hav read through the thread on the HttpUtils, but am wondering whether you have a sample set of code that would describe how a request would be made to a WCF web service and then how the response would be managed? Upvote 0
Hi Erel Many thanks for your responses. Because my planned Android app needs to work with a hosted WCF web service I must make sure the development tool I choose is going to be able to cope and be easy to use. I hav read through the thread on the HttpUtils, but am wondering whether you have a sample set of code that would describe how a request would be made to a WCF web service and then how the response would be managed?
Erel B4X founder Staff member Licensed User Longtime User Nov 27, 2011 #6 Calling a WCF web service is not different than calling any other web service. It will require some additional work as you will need to create the XML request and parse the result. Upvote 0
Calling a WCF web service is not different than calling any other web service. It will require some additional work as you will need to create the XML request and parse the result.