Chris
Chris

Reputation: 51

Getting a web service and using android to consume them?

I have been looking up on youtube regarding Web Services being consume using android. Most of the video are all 1 or 2 years old. Is this doing outdated? is there a better way to do this? currently i am in a company and i was assign to have a android version of their webservice.

I was told to create the service with sql using Visual studio. Create the android UI and using the services to pull the data.

Am i doing it right?

What is the better or ideal way of going about this?

Should i add JavaScript or something like that?

I have been looking at RESTful , Soap , Json and Wcf. But what is the best way to go if i have to start everything from scratch?

-Programs/System that i am using.

*I was told to only user framework 4.0 for Visual studio

Upvotes: 0

Views: 804

Answers (1)

BipinR
BipinR

Reputation: 493

You can use WCF (SOAP), WCF (RESTful) or WebApi to create a service, both has it's own advantages and disadvantages. You may want to take some time to look at your requirement and then decide what type of service you want to develop. SOAP uses a more complicated messaging pattern using XML, where as REST uses the standard HTTP protocol and methods to communicate and transfer data. But if you are planning consume this service across of variety of applications like mobile, web, desktop, client side script interaction etc, you may consider developing the service as a RESTful. More information on SOAP and RESTful and for detailed understanding you may refer to this link Understanding SOAP and RESTful

Upvotes: 1

Related Questions