Working With Web Services in Visual Web JSF Applications

The following table shows how to use web services in projects with Visual Web JSF support.

Number one
(Optional)
Create group to categorize web services

Web service node icon

  1. In the Services window, right-click the Web Services node and choose Create Group.
  2. Right-click the new group and choose Rename.

Number two
Add web service to IDE

Web service node icon

  1. In the Services window, right-click the Web Services node and choose Add Web Service.
  2. Specify the location of the WDSL file, by either entering the URL or finding the file on your filesystem.
  3. If you enter a URL and you are behind a firewall, click Set HTTP Proxy to set your HTTP proxy.

  4. Click Add.

Number three
Add web service to page

Web service node icon


Number four
Call web service methods

method icon

  1. In the Services window, expand the web service node to view a list of available methods.
  2. To view the data produced by the method, bind the simple, list or Table component to the method.
  3. To update the data produced by the method, call the method in the Java code for the simple, list or Table component.

Legal Notices