Method for determining a Utility based on city and zip 1. see if there is a municipal utility for the city select * from Utility where municity='$city'; 2. if not, find the county based on zip select coname,percentInCounty from ZipCode where zip5='$zip'; foreach county name returned, find the utility (not municipal!) { select utilid from UtilityCounty where coname='$coname'; select * from Utility where utilid='$utilid' and municity is null; } return the utilities thus accumulated. WSDL parts types These define the names of the internal operations and the structure of the data to be passed back and forth messages The public messages to be passed between client and server. Elements from the types are placed in the subelement of porttypes The assembly of messages into ordered transactions known as . Each can have and messages bindings Bindings list the transport layer methods available. In our example we use the SOAP protocol with "document" binding, and HTTP transport services A service points the way to a physical implementation of a binding and porttype on a physical machine. One includes a tag here which will be displayed to a client as part of the discovery process See http://gdp.globus.org/gt4-tutorial/multiplehtml/ch01s02.html for a good discussion, also http://www.ibm.com/developerworks/library/ws-soap/?dwzone=ws