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, which means that XML is used. SOAP and REST are the two most popular methods for implementing Web services, both of which are based on XML. For example, by sending this SOAP document as a Web request, you can send it to GoogleWeb services, although many technologies can be used to implement a service-oriented architecture (SOA ), however, Web services are most commonly used, which means XML is used. SOAP and REST are the two most popular methods for implementing Web services, both of which are based on XML. For example, by sending this SOAP document as a Web request
Although many technologies can be used to implement a service-oriented architecture (SOA), Web services are most commonly used, which means that XML is used. 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)
List 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 the SOAPEnvelope (envelope)It is a standard format that the Web service engine can understand. The content of this message (in this example, the doGoogleSearch element) is recognizedPayload)Is composed of the information to be processed by the Web service.

What is the relationship between XML and Web services and SOA? For more information, see other related articles in the first PHP community!

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.