In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "how the webservice execution process is". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let Xiaobian take you to learn "how the webservice execution process is"!
First we develop the webservice interface on the webservice server side, and then publish the webservice;
Then we call the webservice interface through a URL, such as when publishing, url is http://192.168.1.103/helloWorld
Then the url we requested is http://192.168.1.103/helloWorld? wsdl
We type it in the browser and run it as follows:
This large string of xml tags, in fact, is wsdl (Web Services Description Language), that is, Web Service Description Language, describing the relevant information of the webservice interface defined on the server side.
Of course, we don't have to spend time learning this thing. After all, this thing is a set of specifications, but we can also analyze some tricks by observing carefully and guessing. Here wsdl:types defines some variables. wsdl:message is equivalent to defining methods.
wsdl:portType is equivalent to call and return, and the following words are some operations. There was no need to study the details of this thing. It would make one dizzy to death. There are tools for me. We need to stand high.
The client obtains the xml document fragment information of the wsdl specification through this url request, and then here it involves a new concept SOAP (Simple Object Access Protocol), that is, Simple Object Access Protocol. We use this protocol to realize the client and server message interaction. SOAP uses XML messages to call remote methods. Of course, the medium of interaction is xml, and the specific interaction content is described according to the wsdl document.
At this point, I believe that everyone has a deeper understanding of "how the webservice execution process is", so you may wish to actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!
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.