In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly analyzes the relevant knowledge of what the relationship between RPC, SOAP and WSDL is, the content is detailed and easy to understand, the operation details are reasonable, and has a certain reference value. If you are interested, you might as well follow the editor to have a look, and follow the editor to learn more about "what is the relationship between RPC, SOAP and WSDL".
RPC, SOAP, and WSDL are all keywords of web service. Describe their relationship here. The following explanation may be in a narrow sense, mainly to help understand the relationship between the three.
1.RPC
If you want to call a remote method, you can use RMI and RPC, which are two very different styles.
RMI: (Remote Method Invocation) get the signature of the remote method directly and make the call. The advantage is that it is strongly typed and errors can be checked at compile time, while the disadvantage is that it is limited to java language.
RPC: (Remote Procedure Call) uses the client / server mode (request / response) to send the request to the server, and the server executes the method and returns the result. The advantage is cross-language and cross-platform, and the disadvantage is that it can not be debugged at compile time and can only be checked at run time.
2.SOAP
In order to wrap RPC's request information, XML-RPC is introduced, but XML-RPC can only use a limited number of data types and some simple data structures. So SOAP (Simple Object Access Protocol) appears. The main job of SOAP is to use standard XML to describe the request information of RPC (URI/ class / method / parameter / return value). In theory, a SOAP is a piece of xml that you can send via http,smtp, etc. (copy it to a floppy disk and ask the courier company to send it?). Similarly, SOAP is also cross-language.
3.WSDL
WSDL (Web Services Description Language) describes web services and how to access web services. WSDL is used to describe SOAP, in other words, the WSDL file tells you everything you need to know to call SOAP. WSDL is also a xml. Now each language's support for wsdl is very mature, and you can generate clients in your own language based on the same wsdl file.
4. Other
To put it simply, Apache Axis is Apache Soap3.0. As mentioned earlier, RPC cannot be checked at compile time. This problem can be avoided by using AXIS-generated clients based on WSDL. When using SOAP clients, all use strings to specify URI/ service names / methods / parameters, and so on. The client generated by AXIS encapsulates these, and it generates the calling interface according to the description of WSDL, which is convenient for client development.
On "what is the relationship between RPC, SOAP, WSDL", this is the end of the introduction, more related content can be searched for previous articles, hope to help you answer questions, please support the website!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.