Today accidentally heard the SOAP protocol data transmission, nothing to see, simple internet search, summed up as follows:
First, soap and HTTP, sockets are a data transfer protocol, not that WebService must use the SOAP protocol, but the main purpose of WebService is to let the data cross-platform, equivalent to two applications or services between the data bridge, And the SOAP protocol is XML data format, almost all the mainstream application platform can be used, so use Web+soap.
But the problem is that XML parsing is very memory and CPU intensive and is not recommended for use on mobile phones.
Second, I understand that the primary purpose of using WebService is to enable data sharing interactions across multiple platforms (java,.net) through Webservice+soap.
Finally, the mobile phone client there is no cross-platform one said, mobile phone is not a server, mobile phone can be understood as a Web page and service-side data interaction, the interaction between the platform between the mobile phone client and server interaction itself is not appropriate, should be a separate interface for the client, interactive way of course the more concise the better, the same data, The amount of data transferred in XML format is greater than that of JSON, and the parsing logic is slightly higher than JSON? It is not recommended.
The above summary I do not guarantee accurate, just own simple search after analysis, hope to have a master can guide under.
Android SOAP protocol with WebService