Google search of WebService articles (1)
Foreword
Through this paper, you will be able to understand how to configure the services, as well as Google WebService grammatical structure; how to personalize your search, such as: national, language, how to extract search results.
Google has become the Web's most popular search engine, in order to make such as new content watchdog, search tools and GUI mode analysis of possible applications, now they are 2 billion for the establishment of pages indexed, developers can through a SOAP-based API calls.
About WebService
Web applications and the tremendous success of the development to penetrate into the commercial sector and individuals in all aspects of life. As long as people use the browser, they can enjoy a variety of Web services, such as online shopping, online trading, online games, to book tickets on-line chatting and dating and so on. At the same time, Web technology advantages brought about by the (unified client and better maintenance), so that some traditional applications based on their transition to B / S structure of the thin-client applications, this is because it avoid spent on desktop applications on the release of the cost, and can satisfactorily resolved between the client and server communications. In between client and server communications, a perfect solution is to use the HTTP protocol communications. This is because any Web browser running the machines are used HTTP protocol, can have a very good communication through firewalls. Many business processes also face another problem, that is, with other programs interoperate. At present, there are still many commercial data on the mainframe to non-relations document (VSAM) in the form of storage, prepared by the COBOL language to access the mainframe. Moreover, there are many business processes using C + +, JAVA, VB and a variety of other languages. Now beginning the most simple procedure, all the necessary procedures and operations in other heterogeneous platform, application integration and data exchange. In the past, no one application communication standard is independent of the platform, set up the model and the programming language. Only through Web Service, the client and server can use HTTP to communicate, regardless of the platform and two procedures What is the programming language. Web Service Technology completely standards-based technology, only standards-based, open all the manufacturers can have the same standards before they can in their respective platforms to develop a cross-platform interoperability capabilities of software products and solutions. Reached the standard cross-platform interoperability capability soul.
Procedures to the Web to the user interaction, and Web Service for the program to prepare for the interactive process. Web Service so that the company can reduce the cost of e-commerce, faster deployment solutions, as well as explore new opportunities. Achieve this goal is the key to universal communication procedures to the process model, which should be built on the existing and emerging standards. These include: HTTP, SOAP, WSDL, UDDI
SOAP: "Simple Object Access Protocol" acronym SOAP messaging is the agreement, which provides a Web Services between what is the transmission of information.
Simply put, SOAP provides:
1. Impart information, the format for XML. This makes Web Services on any platform can use any language to achieve.
2. Remote Method Invocation object format. What provisions that call was called by the object and the name and parameter types.
3. Types and parameters of the mapping between XML format. This is because sometimes been called by the need to pass a complex parameters, for example, a Person object. How to use XML to express an object parameters, but also by the definition of SOAP.
WSDL: "Web Services Description Language," the acronym. WSDL is the Web Services Definition Language. When the realization of a service time (such as: stock enquiry services), in order to allow other procedures call, we must tell the service interface. For example: service name, service name of the machine, monitor port, the type of transmission parameters, and sequence number, the outcome of the return type, etc.. So other applications can call the service. WSDL agreement that provides for Web Services Description standards.
UDDI: "Universal Description, Discovery, and Integration" initials. To put it simply, UDDI for centralized storage and find WSDL description files, directory server plays a role.
Quick Installation
In this paper, the operating environment is JDK1.3 + + Tomcat4.0 JSP. To use the Google service, to have "a license key" can be at https: / / www.google.com/accounts/NewAccount?continue=http://api.google.com/createkey&followup=http://api. google.com / createkey obtained, the corresponding input information, and then to your e-mail to receive "license key." Then also need "Java API for XML Messaging," which means "JAXM." It is part of Java XML Pack, http://java.sun.com/xml/downloads/javaxmlpack.html provided.
In order to more simple expression, I direct model with JSP, and the use of hand-coding, no use IDE environment.
Untie have just downloaded java_xml_pack-summer02_01.zip find java_xml_pack-summer-02_01 \ jaxp-1.2_01 \ xalan.jar files, WinRAR untie the org folder are copied to your application's WEB-INF \ classes under. Find java_xml_pack-summer-02_01 \ jaxm-1.1_01 \ lib \ saaj-api.jar documents, untie it and folders to copy javax Ditto directory. Find java_xml_pack-summer-02_01 \ jaxm-1.1_01 \ lib \ jaxm-api.jar documents, untie it and copy javax folder to the same directory. Find java_xml_pack-summer-02_01 \ jaxp-1.2_01 \ jaxp-api.jar documents, untie it and copy javax folder to the same directory. Find java_xml_pack-summer-02_01 \ jaxm-1.1_01 \ jaxm \ saaj-ri.jar documents, untied com folder and copy to the same directory.
Here, the installation work completed. Search format and code See Part II.
Tags: google, webservice








0 Comments to “Google search of WebService articles (1)”
No Comments. Send your comment.
Leave a Reply
You must be logged in to post a comment.