Android SOAP protocol with WebService

Source: Internet
Author: User
Tags soap

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.