Before starting the development of the Web service, ensure that the following software programs are installed on the machine:
After you have downloaded the software from the specified Web sites, you can install them on your computer. The installation process is discussed in the following sections.
Because you have already used Tomcat in the Java project, we will not discuss the installation of Tomcat in detail here. The installation of Tomcat is simple and straightforward. To install and run Tomcat, perform the following steps:
Installing the WSTK
Installing the WSTK simply requires you to run the InstallShield Setup Wizard. To run it, perform the following steps:
The First Page of the InstallShield Setup Wizard
Set the JAVA_HOME Path
Specifying the Location for Installing the Web Services ToolKit
Select the Installation Type
The End of Installation
Configuring the WSTK
The WSTK is designed to run as a plug-in within any standard Java application server that supports Java Servlet and JSP specifications. Before you use the WSTK, you need to configure your application server to use the toolkit. To do this, IBM provides you with a utility called the Web Services ToolKit Configuration Tool. This utility ships along with the WSTK.
The Web Services ToolKit Configuration Tool automates the configuration process for building services in the WebSphere, WebSphere MicroEdition, or Jakarta-Tomcat 4.0 environments. In addition, the tool allows you to specify the default UDDI registry that the WSTK will use to publish and locate the Web service.
To run the Web Services ToolKit Configuration Tool, perform the following steps:
Running the toolkit presents a wizard-style GUI interface, as shown in Figure.
Running the Web Services ToolKit Configuration Tool
As you can see, the wizard prompts you to specify the Web server that you need to use with the WSTK.
Note?/td>In this case, you would be using a Tomcat server. Therefore, specify the port number as 8080, the host name as localhost, and the location of the folder where you have installed Tomcat.
The Configure Services Tab
Note?/td>WSIL is a new language that helps you discover Web services. You can use WSIL as an alternative to UDDI.
Selecting the UDDI Registry
Note?/td>The registry that you choose will be selected automatically each time you perform an UDDI-related operation within the WSTK. However, to select any other UDDI, you need to explicitly specify in the toolkit. To change the settings of the UDDI directory in the Configuration tool, use the following command:%WSTK_HOME%libwstkproperties.xml file
The WSTK is now ready to use.
Installing the Axis SOAP Toolkit
You use the toolkits provided by various vendors for various products to reduce the time required to create the application. Similarly, to reduce the time taken to create the applications that involve SOAP messages, several toolkits, such as Microsoft SOAP Toolkit, the Apache SOAP toolkit, and the PocketSOAP toolkit, are available. Without the use of such toolkits, coding for SOAP messages would be tedious.
Apache SOAP toolkit, also called the Axis SOAP toolkit, was originally based on an IBM implementation. Apache rearchitectured the SOAP toolkit to allow easier usage and configuration. As a result, a new toolkit called Axis was created.
Features of the Axis SOAP Toolkit
The latest version of the Apache SOAP toolkit has the following features:
You can use the wsdl2java tool to create stubs and skeletons from WSDL documents and proxies for Java classes. You can further use these stubs and skeletons to easily and conveniently code for the client applications that access the corresponding Web service.
We will now continue the discussion on installing the Axis SOAP toolkit. To install the toolkit, perform the following steps:
Tip?/td>Ensure that the Tomcat server is up and running.
As discussed, you will use the Axis SOAP toolkit to create the Credit Card Web service. This Web service uses the Luhn discussed in the following section.
XML Related Interview Questions
|Soap Tool Interview Questions||HTML Interview Questions|
|PHP Interview Questions||ASP.NET Interview Questions|
|PHP5 Interview Questions||Java Interview Questions|
|CSS Interview Questions||XSLT Interview Questions|
|Java XML Interview Questions||XMLHttpRequest (XHR) Interview Questions|
|ebXML Interview Questions||XML DOM Interview Questions|
|XML-RPC Interview Questions||XSD Interview Questions|
|Soap Web Services Interview Questions||XSL Interview Questions|
|Xml Publisher Interview Questions|
Basics Of Xml
Basics Of Web Services
Introduction To Soap
Introduction To Uddi
Introduction To Wsdl
Creating A Web Service Using The Microsoft Soap Toolkit
Building Web Applications On The .net Platform
Creating An Asp.net Web Service
Creating A Web Service From An Interface
Introduction To The Atl Server
Creating A Web Service Using The Atl Server Library
Design And Creation Of The Knowledge Share Web Service
Introduction To Java Xml Technologies
Developing Java Web Services
Design And Creation Of A Web Service Using The Ibm Toolkit
Introduction To Mobile Applications
Creating A Mobile Application That Consumes A Web Service
Web Services Development With Jdeveloper
Creating Web Services Using Perl
Integration Of Xml Web Services With The Office Xp And Sql
Server 2000 Toolkits
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.