Java Reference
In-Depth Information
Of course, you would issue this command all as one single line. For more information on
using wsdl2java, refer to the AXIS documentation.
The wsdl2java utility can be used on any web service that supports WSDL and
SOAP. Recipe 11.2 will use the classes generated by wsdl2java for the Pig Latin server.
Recipes
This chapter includes three recipes. These recipes demonstrate how to construct bots to
work with web services or a combination of web services and regular HTTP programming.
Specifically, you will see how to perform the following techniques:
• Using Google
• Access a SOAP Server
• Constructing a Hybrid Bot
These recipes cover a combination of web service and hybrid bot programming.
Recipe #11.1: Scanning for Links
One of the key components determining how high a search engine will place a particular
site, is the number of other sites linked to that site. Because of this, it can be beneficial to scan
for which sites are linked to a particular site.
This recipe will display all inbound links to a particular site, based on the Google Search
API. This recipe also displays how many links each of those sites have as well. Consider
Figure 11.1.
Search WWH ::




Custom Search