Adding a Web Service to a Visual Web JSF Project

See Also

In projects with Visual Web JSF support, to add a web service to a project, specify the location of the Web Service Definition Language (WSDL) file. A WSDL file might contain one or more web services. If you add a WSDL file with multiple services to the IDE, all services referenced in the WSDL file are available to the IDE.

By default, several web services are installed with the IDE.

How you add a web service depends on whether the web service source is stored in a local file or accessed via a URL.

To add a web service from a local file:

  1. In the Services window, right-click the Web Services node or the group node and choose Add Web Service.
  2. In the Add Web Service dialog box, select Local file and click Browse.
  3. In the Open dialog box, browse to the WSDL file, select the file, and click Open.
  4. In the Add Web Service dialog box, click Add.

    After you add a web service, its node appears as a subnode of the Web Services node or a group node in the Services window.

To add a web service from a URL:

  1. In the Services window, right-click the Web Services node or the group node and choose Add Web Service.
  2. In the Add Web Service dialog box, select URL.
  3. If you are behind a firewall, set your HTTP proxy.
  4. In the Add Web Service dialog box, type the URL.
    1. Click Add.
      The web service client is generated, and a new web service node appears under the Web Services or web service group node in the Services window.

See Also

Add Web Service Dialog Box
Viewing the WSDL File
About Web Services in Visual Web JSF Applications
Creating a Web Service Group
Adding a Web Service to a Visual Web JSF page
Deleting a Web Service
Working With Web Services
Web Service Tasks: Quick Reference

Legal Notices