Java Reference
In-Depth Information
Figure 11-6. TempVerter's web page provides detailed information on the published web service.
Figure 11-6 presents the web service endpoint's qualified service and port names.
(Notice that the package name has been inverted — tv.tutortutor.ca instead of
ca.tutortutor.tv ). A client uses these names to access the service.
Figure11-6 alsopresentstheaddressURIofthewebservice,thelocationoftheweb
service'sWSDLdocument(thewebserviceURIsuffixedbythe ?wsdl querystring),
and the package-qualified name of the web service implementation class. The WSDL
document's location is presented as a link, which you can click to view this document
—see Listing 11-5 .
Listing 11-5. TempVerter's WSDL document
<?xml version="1.0" encoding="UTF-8"?>
<definitions targetNamespace="http://tv.tutortutor.ca/"
name="TempVerterImplService">
<types>
<xsd:schema>
<xsd:import namespace="http://tv.tutortutor.ca/"
schemaLocation="http://localhost:9901/TempVerter?xsd=1"/>
</xsd:schema>
</types>
<message name="c2f">
<part name="parameters" element="tns:c2f"/>
</message>
<message name="c2fResponse">
<part name="parameters" element="tns:c2fResponse"/>
</message>
<message name="f2c">
<part name="parameters" element="tns:f2c"/>
</message>
<message name="f2cResponse">
<part name="parameters" element="tns:f2cResponse"/>
</message>
<portType name="TempVerter">
<operation name="c2f">
<input wsam:Action="http://tv.tutortutor.ca/Tem-
pVerter/c2fRequest"
Search WWH ::




Custom Search