What is the relationship between XML and Web services and SOA?

Source: Internet
Author: User
Although many technologies can be used to implement a service-oriented architecture (SOA), Web services are most commonly used. Although many technologies can be used to implement a service-oriented architecture (SOA), Web services are most commonly used.

This means to use XML. SOAP and REST are the two most popular methods for implementing Web services, both of which are based on XML.

Example
For example, you can send a request to the Google Web service by sending this SOAP document as a Web request. (As shown in listing 2) lifecycle

Listing 2. send a request to the Google Web service by sending a SOAP document

 
  
   
    
    
     00000000000000000000000000000000
     
    death star trash compactor 
    
     0
     
    
     10
     
    
     true
     
     
    
     false
     
     
    
     latin1
     
    
     latin1
     
    
  
 

Here we can see that the SOAP envelope (envelope) is a standard format that the Web service engine can understand.

The content of this message (in this example, the doGoogleSearch element) is considered as a payload, which is composed of information to be processed by Web services.

What is the relationship between XML and Web services and SOA? For more information, see The PHP Chinese website (www.php1.cn )!

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.