RESTful Web Services Implementations in Mobile Devices

微笑、不失礼 提交于 2019-11-29 17:46:51

I would reckon you are coming to REST WS from a SOAP background. If that is true then the first thing you have to do is forget how you did everything in SOAP and simplify everything.

First thing to keep in mind is that you don't consume any web services contract like you do in SOAP. So you don't have a WSDL. That means you do not consume any WSDL or contract to build client code. You simply have to create HTTP requests to the web server by hand. Every language has it's own way to create HTTP requests, so you have to consult your platform of choice on how to craft HTTP requests.

Not as detailed as you hopped I guess but should trigger a discussion.

Providing a web-service from a mobile device is not a good idea because it will drain battery very fast. You can check this if it helps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!