Chapter 5 Client Design
241
the service endpoint interface.) It also specifies the WSDL file for the service (its
location is given relative to the root of the package) and the qualified name for the
service in the WSDL file. If a WSDL file is required, the element specifies a JAX 
RPC mapping file. The mapping file's location is also relative to the package root.
Code Example 5.20 is an example of a service reference:
OPC OT Service Client
service/OpcOrderTrackingService
com.sun.j2ee.blueprints.adventure.web.actions.
OpcOrderTrackingService
WEB INF/wsdl/OpcOrderTrackingService.wsdl
WEB INF/opc ot jaxrpc mapping.xml
xmlns:servicens="urn:OpcOrderTrackingService">
servicens:OpcOrderTrackingService
Code Example 5.20
web.xml Fragment for Web Service Reference
The JAX RPC mapping file specifies the package name containing the gener 
ated runtime classes and defines the namespace URI for the service. (See Code
Example 5.21.)
xmlns:xsi="http://www.w3.org/2001/XMLSchema instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee ht
tp://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
version="1.1">
com.sun.j2ee.blueprints.adventure.web.actions






New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

java web hosting

 

 

 Our partners: | PHP: Hypertext Preprocessor | Best Web Hosting | Java Servlet Web Hosting | Inexpensive Web Hosting |

Jsp Web Hosting | Cheapest Web Hosting | Jsp Hosting | Cheap Hosting

 

Virtualwebstudio. Business web hosting division of Web Design Plus. All rights reserved