116
Deploying and Packaging a Service Endpoint
point. This link element associates the Web service port to the actual endpoint
implementation defined in either the
web.xml
or
ejb jar.xml
file.
The JAX RPC mapping file, which is specified using the
jaxrpc mapping
file
element in
webservices.xml
, keeps details on the relationships and map
pings between WSDL definitions and corresponding Java interfaces and defini
tions. The information contained in this file, along with information in the WSDL,
is used to create stubs and ties for deployed services.
Thus, the Web services deployment descriptor,
webservices.xml
, links the
WSDL port information to a unique port component and from there to the actual
implementation classes and Java to WSDL mappings. Code Example 3.23 is an
example of the Web services deployment descriptor for our sample weather Web
service, which uses a JAX RPC service endpoint.
Web Service Descriptor for weather service
WeatherWebService
WEB INF/wsdl/WeatherWebService.wsdl
WEB INF/WeatherWebServiceMapping.xml
port component description
WeatherServicePort
weatherns:WeatherServicePort
endpoint.WeatherService
WeatherService
footer
Our web partners:
Inexpensive
Web Hosting
Java Web Hosting
personal webspace
webspace php
linux webhost
html web templates
DreamweaverQuality Web Templates
PSD Web Templates
cheap webhost
j2ee web Hosting
buy webspace
ftp webspace
adult webspace
frontpage WebHosting
webspace hosting
cheap webhost
Visionwebhosting.net Business web hosting division of Vision Web Hosting Inc.. All rights reserved
webhosting