Purpose
To test the behaviour of the following checkboxes on the first page
of the Web service and Web service client wizard
-
Web service wizard:
-
Install Web service on server
-
Start Web service in Web project
-
Web service client wizard:
-
Install Web service client on server (managed clients only)
Part 1: Web service wizard
-
Service-side - Install off
-
Create a Web project (wp1)** and import a Java bean into the src folder.
(e.g. Echo.java)
-
Select Echo.java and launch the Web service wizard
-
page 1: uncheck Install Web service on server. Verify that the following
check boxes get greyed out:
-
Start Web service in Web project
-
Launch the Web Services Explorer to ...
-
Generate Proxy
-
Test the Web service
-
Monitor the Web service
-
Click Next to page 3 and make appropriate selections****. Click Finish.
-
When the wizard is gone, ensure that wp1 was not added to server.
-
Service-side - Install on, Start off
-
Stop the server if it is started.
-
Create a Web project (wp2)** and import a Java bean into the src folder.
(e.g. Echo.java)
-
Select Echo.java and launch the Web service wizard
-
page 1: uncheck Start Web service in Web project. Verify that the
following check boxes get greyed out:
-
Launch the Web Services Explorer to ...
-
Generate Proxy
-
Test the Web service
-
Monitor the Web service
-
Click Next to page 3 and make appropriate selections****. Click Finish.
-
When the wizard is gone, ensure that
-
wp2 was added to server
-
the server is stopped.
-
Service-side - Install and Start on, Client-side - Install off
-
Create a Web project (wp3)** and import a Java bean into the src folder.
(e.g. Echo.java)
-
Select Echo.java and launch the Web service wizard
-
page 1: check Generate Proxy. Uncheck Install Web service client
on server (managed clients only).
-
Click Next to page 3 and make appropriate selections****. Click Finish.
-
When the wizard is gone, ensure that
-
wp3 was added to server
-
the server is started.
-
wp3Client was not added to the server
-
Service-side - Install and Start on, Client-side - Install on
-
Create a Web project (wp4)** and import a Java bean into the src folder.
(e.g. Echo.java)
-
Select Echo.java and launch the Web service wizard
-
page 1: check Generate Proxy. Check Install Web service client
on server (managed clients only).
-
Click Next to page 3 and make appropriate selections****. Click Finish.
-
When the wizard is gone, ensure that
-
wp4 was added to server
-
the server is started.
-
wp4Client was added to the server
Part 2: Web service client wizard
-
Client-side- Install off
-
Create a Web project (wp5)** and import a WSDL file into the WebContent
folder. (e.g. AddressBook.wsdl)
-
Select AddressBook.wsdl and launch the Web service client wizard
-
page 1: Uncheck Install Web service client on server (managed clients
only).
-
Click Next to page 3 and make appropriate selections****. Click Finish.
-
When the wizard is gone, ensure that wp5 was not added to server.
-
Client-side - Install on
-
Create a Web project (wp6)** and import a WSDL file into the WebContent
folder. (e.g. AddressBook.wsdl)
-
Select AddressBook.wsdl and launch the Web service client wizard
-
page 1: Check Install Web service client on server (managed clients
only).
-
Click Next to page 3 and make appropriate selections****. Click Finish.
-
When the wizard is gone, ensure that wp6 was added to server
Notes:
**For all the scenarios described, create Web projects that are bound
to the Tomcat 5.0 server runtime
****For all the scenarios described, make the following selections
on page 3 of the wizard:
-
Service/Client Server: Tomcat 5.0 server (new or existing, doesn't
matter)
-
Service/Client Web service runtime: Apache Axis
-
Client Project Type: Dynamic Web Project.