30 minutes to create a WebService (1) Author: This article Ningkai compile selected from: CCID September 10, 2002 You may have heard a lot of publicity about the Web Service, and you probably already dizziness of these acronyms . So what is the web service? How do you use Web Service? Below we are to uncover the mystery of Web Service and demonstrate how to gradually establish, configure, configure, use and get web service. Basic Web Service is not difficult to create. In order to prove this, I will show you how to build a web service in the time of about 30 minutes. In the following article, we will explain the Web Service more step in jections to explain the following topics in more detail: ● SOAP message ● WSDL definition and its relationship with the code ● Publish Service to a UDDI directory ● Exposing Legacy Applications AS Web Services ● Advanced topics (such as security) Next, we first introduce the definition of Web Service, then demonstrate a simple call and execute the Java class for Web Service. All of our examples are described using Java. We created our examples using a set of free tools and systinet running environments. Although you don't need to use these products to understand examples, we still have to recommend it, if possible, you should still do this. The concept we introduced and the code we created is versatile and is relatively independent with the tools used. We assume that you have already understood XML, but it is nothing to do with Web Service. We are confident that J2EE is the most mature architecture for business logic implementation. Our goal is to introduce Web Service as a natural extension of an existing J2EE component model, providing an XML-based industrial standard protocol and a unified component description and inventions. This makes the existing J2EE-based system than previously have a broader application range, and this also makes J2EE becomes a better choice for core business logic in a typical heterogeneous environment of public information systems.
Web service - program definition