After you have discovered the web service, you can now develop a client application to interact with the web service. To develop the web service client, you need to complete the following steps:

  1. In the Source Editor, right-click within the main method in the Main.java file.
  2. Select Call Web Service Operation from Web Service Client Resources.
  3. Select the display operation.
  4. Click OK to proceed. This generates the skeletal code.
  5. Update the generated skeletal code, so that the exception can be caught.