java - SOAP vs RESTful performance issue on lower bandwith (2G Service) -


we have android based application gets data server using web services. consuming web services using soap protocol. production roll out using 2g network , 2g has lower bandwidth. because of performance of application not during syncing of data server. thinking should use rest design instead of soap , increase our performance consuming web services. right?

kindly guide in issue. , our major concern network connectivity less data bandwidth consuming web services.

in performance rest comparatively better soap. google advices android developers use rest. (dont have exact link right now).

while soap services return xml, rest services provide flexibility in regards type of data returned. rest endpoint can return payload of xml data png image. de facto standard data payloads rest services json. because of ajax heritage of rest wherein javascript consumes json data. android , ios did not contain json parsing frameworks part of os, in later revisions functionality has been added. json payloads smaller xml counterparts; if soap envelope overhead included rest+json payloads dramatically smaller.

source : http://blogs.captechconsulting.com/blog/jack-cox/soap-vs-rest-mobile-services
might : http://javatheelixir.blogspot.com/2009/12/soap-vs-rest-in-service-layer-for.html


Comments

Popular posts from this blog

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -