Font Size: a A A

Web Service Client Automatic Generator Model

Posted on:2004-01-16Degree:MasterType:Thesis
Country:ChinaCandidate:B W LiFull Text:PDF
GTID:2208360092480096Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Web Service, emerging as a new e-business framework, is well accepted and developed. Web services, in the general meaning of the term, are services offered via the Web. In a typical Web services scenario, a business application sends a request to a service at a given URL using the SOAP protocol over HTTP. The service receives the request, processes it, and returns a response. Web Service is not a completely new technology, but a technology framework based on current popular technologies, such as HTTP, XML, SOAP, and SMTP and so on. This makes it is easily accepted because it can protect the enterprise's former investment.Web Service provides a new solution to new E-business requested by the coming global economy. In this new economic environment, business partners are distributed among the whole world. The enterprise's providers and consumers change frequently, new providers and consumers join and old ones quit. Old electronic commerce solutions are unfitted to the conditions any more; Web Service technology is designed to make enterprises interact with others dynamically.Through UDDI technology, an enterprise can register itself and its own services to and look up any web services offered by other enterprises from register centers, in Web Service technology framework, a web service is described on a document using Web Service Descript Language (WSDL); according to this WSDL document, the application developers can develop client to access the Web Service via the binding protocol.This thesis provides a solution to automatically generate the web service client based on the service's WSDL document. The solution can make the e-business flow dynamically reorganized and adjusted according to the given rules. In the process, the application can select the most proper web service provider from different enterprises among the whole world, and access it through the client program automatically generated by the model designed in this thesis. In the process of coding automatically, the model perform tasks needed to generate the client code, such as data type mapping, operation comparison and selection, selection of proper binding protocol adaptor from the prepared libraries, and compilation the source code to byte code which can be executed by a Java virtual machine. Thesis contribution: In order to help implement new dynamic e-business flow, this thesis:1. Provides a solution to implement dynamic e-business based on Web Service, and develop a simple model to generate client code automatically according to the WSDL document of the target Web Service.2. Establishes a complete mechanism to mapping the data types from WSDL to Java types and structures(JavaBeans), this mechanism can automatically map user defined data types to programming language's data types, in this thesis, is Java.3. Designs a coding process, which can be performed automatically according to given rules, and a self-test process can be performed without any developers' work.4. Designs a model with an open architecture; any new binding protocols can be supported by adding new adaptors to the prepared libraries.
Keywords/Search Tags:Web Service, WSDL, UDDI, Data type mapping, code generation, dynamic e-business
PDF Full Text Request
Related items