Explore Google search web service.
Developers write software programs that connect remotely to the Google Web APIs service. Communication is performed via the Simple Object Access Protocol (SOAP), an XML-based mechanism for exchanging typed information.
If you have questions, you can check into FAQ.
1. Take a close look at Web Service Description Language (WSDL 1.1) description of interface for Google searching
2. Download the web service API of Google search at http://www.google.com/apis/download.html
The download package includes
com.google.soap.search.*;
Google's own Java wrapper for the API SOAP calls
JAF 1.0.1 (activation.jar)
3. You need to create an account at Google to use the web service. Be sure to have an email box to receive the license key.
If you don't, just use this one nQ4ETIdQFHKlGxLZjj+2c8klYflwDzoK
4. Open the DOS command window and prepare to run Java.
Usage:
java -cp googleapi.jar com.google.soap.search.GoogleAPIDemo [key] search Foo
Where
search for.
5. Take a close look at the XML output, which is the result of your search.
notice step 4,
回覆刪除when running java, the dos command directory must in the same as the googleapi.jar,or it will fail to load .
s9026237 finished lab8.
回覆刪除s9028162 finished lab8
回覆刪除網誌管理員已經移除這則留言。
回覆刪除s9126218 finished labVIII
回覆刪除9026106 has done it.
回覆刪除網誌管理員已經移除這則留言。
回覆刪除s9026156 has done the H.W.
回覆刪除作業4
9126213 has done it
回覆刪除網誌管理員已經移除這則留言。
回覆刪除8926366..done labVIII
回覆刪除因為proxy的緣故..所以有動作但無法找到..
s9026137 finished lab8.
回覆刪除s9026120 have done.有動作但結果是fail.
回覆刪除s9126156
回覆刪除跑出結果:
The call to the Google Web APIs failed
9026144 did
回覆刪除s9126138 finished lab8
回覆刪除s9026161 have done
回覆刪除因proxy關係,有動作但無法成功執行。
s9126146 finished lab8.
回覆刪除s9126137 finished lab 8
回覆刪除9126135 has done it.
回覆刪除s9126153 finished it
回覆刪除s9026355 finished lab8.....
回覆刪除s9126107 finished lab8.
回覆刪除s9026151 has done
回覆刪除s9126163 has done
回覆刪除s9026138 did labVIII.
回覆刪除s8926152 has finished.
回覆刪除s9045118 has done
回覆刪除s9126126 finished
回覆刪除8931169 have done.
回覆刪除s9126134 done
回覆刪除s9126164 done
回覆刪除補PO因為被學校proxy擋掉,所以無法執行收尋
回覆刪除s9126359 done
回覆刪除s9126309 have finish the lab
回覆刪除s9126163 has done lab8
回覆刪除s8926259 have done it
回覆刪除有動作 但是無法找到..