Compare the Difference Between Similar Terms

Difference Between

Home / Technology / IT / Applications /XML和肥皂之间的差异

XML和肥皂之间的差异

June 8, 2011Posted byIndika

XMLvs SOAP

XMLstands for EXtensible Markup Language. It is defined in the XML 1.0 specification, which is developed by the W3C (World Wide Web Consortium). XML provides a standard way, which is also simple, to encode data and text such that the content could be exchanged across driver hardware, operating systems and applications with little human intervention. SOAP (Simple Object Access Protocol) is a communication protocol based on XML. SOAP is also a W3C recommendation. SOAP is used to communicate between applications by sending massages among them through internet.

什么是XML?

XMLis a markup language that is used to transfer data and text between driver hardware, operating systems and applications with little human intervention. XML provides tags, attributes and element structures that can be used to provide context information. This context information can be used to decode the meaning of the content. This makes it possible to develop efficient search engines and perform data mining on the data. Furthermore, traditional relational databases are suitable as XML data because they could be organized in rows and columns but XML provides less support for data with rich content such as audio, video, complex documents, etc. XML databases store data in a structured, hierarchical form which allows queries to be processed more efficiently. XML tags are not predefined and the users can define new tags and document structures. Also, new internet languages such as RSS, Atom, SOAP, and XHTM were created using XML.

What is SOAP?

As mentioned earlier, SOAP is a communication protocol based on XML, which is used to communicate between applications by sending messages through internet. It is both platform and language independent therefore allows to communicate between applications that are running on different operating systems and using different programming languages. W3C recommended SOAP in June, 2003. A SOAP message is a XML document made up of the following main components: an envelope that notifies that XML document is a SOAP message and the instructions for processing it, a Header element holding header information that is specific to the application such as details about authentication, a body element that holds the actual message received by the receiver and an optional fault element containing errors and status information. Even though SOAP is mainly used with HTTP as the transport protocol, it could be used with other protocols (e.g. JMS, SMTP). SOAP can go through firewalls and proxies since it can work with HTTP.

What’s the difference between XML and SOAP?

XMLis a markup language that is used to transfer data between driver hardware, operating systems and applications with little human intervention, while SOAP is a protocol based on XML that is used to communicate between applications through internet. XML – RPC (XML – Remote Procedure Calls) can also be used to communicate between applications by making procedure calls over the internet. But XML – RPC cannot handle complex user defined data types like SOAP. Furthermore, SOAP has the ability to give instructions on how to process the message, which cannot be done in XML – RPC.

Related posts:

Difference Between XML and SGML Difference Between XML and XHTML 网页制作一个之间的区别d Adobe Dreamweaver Web服务与WCF之间的区别 Difference Between Google Chrome 10 and Chrome 11

Filed Under:ApplicationsTagged With:原子,EXtensible Markup Language,HTTP,RSS,Simple Object Access Protocol,Soap,transport protocol,XHTM,XML,XML1.0,XML– RPC

About the Author:Indika

Indika, BSc.Eng, MSECE Computer Engineering, PhD. Computer Science, is an Assistant Professor and has research interests in the areas of Bioinformatics, Computational Biology, and Biomedical Natural Language Processing.

Leave a ReplyCancel reply

Your email address will not be published.Required fields are marked*

Request Article

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and SARS

Difference Between Coronavirus and SARS

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

You May Like

Difference Between Mating and Breeding

Difference Between Mating and Breeding

Difference Between Windows Phones HTC 7 Surround and HTC HD 7

Difference Between Bear and Bull

Difference Between Justice and Mercy

非和无之间的差异

Latest Posts

  • What is the Difference Between Cortical and Cancellous Screw
  • What is the Difference Between Oleoresin and Essential Oil
  • What is the Difference Between Anthocyanins and Anthoxanthins
  • What is the Difference Between Gripe Water and Mylicon
  • What is the Difference Between Aquaphor and Vaseline
  • 粘附连接和脱骨体有什么区别
  • Home
  • Vacancies
  • About
  • Request Article
  • 联系我们

Copyright © 2010-2018Difference Between. All rights reserved.Terms of Use和隐私政策:Legal.