You can use the TestClient.jsp on
the IBM® WebSphere® Application Server so
that you can test the MFS J2C Phonebook service you created.
About this task
To test the Phone Book service, you invoke the
TestClient.jsp.
Procedure
- Expand .
- Right click TestClient.jsp. Select Run
As > Run on Server.
Remember: if
you do not have a server defined, you will need to define one.
- Select WebSphere Application Server and
click Next. The Add
and Remove Projects page opens. Add the MFSPhoneBookWeb
project to the Configured projects pane, if
it is not already there.
- Click Finish. The
workspace displays Methods and Inputs in
separate panes.
- Under Methods, click IVTNOMI1. The PhoneBook interface opens in the Inputs pane.
- Enter Display in the cMD field.
- Enter Last1 in the nAME1 field.
- Click Invoke. The
results display at the bottom of the Inputs pane.