How does XML relate to Web services and SOA?

黄舟
Release: 2017-02-25 14:17:38
Original
1499 people have browsed it

Although many technologies can be used to implement a service-oriented architecture (SOA), the most common is to use Web services.

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

An example
For example, by converting this SOAP documents are sent as web requests to Google web services. (As shown in Listing 2) ▼

▼List 2. Make a request to Google Web Services by sending a SOAP document

   00000000000000000000000000000000 death star trash compactor 0 10 true  false  latin1 latin1  
Copy after login

Here we can see SOAP envelope, which is a standard format understood by web service engines.

The content of this message (in this case doGoogleSearch element) is considered the payload, which consists of the information to be processed by the web service.

The above is how XML is related to Web services and SOA? Content, for more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!