The Web Service Manager

See Also 

The Web Service Manager is an expanded set of functionality added to the Web Services node in the IDE's Services tab. It supersedes the Palette for RESTful web services.

The RESTful Java Client wizards use the Web Service Manager (see Generating RESTful Web Service Java Clients). In addition, you can drag and drop SaaS operations from the Manager into Java code.

Registering a Web Service in the Web Service Manager

You can register a web service from a local file or from the service's WSDL or WADL.

To register a web service in the Manager:

  1. In the Services window, right-click the Web Services node and choose Add Web Service... The Add Web Service dialog opens.
  2. Browse for the local file or type the URL of the service's WSDL or WADL file.
  3. If necessary, set the proxy for the service or manually set the package name.
  4. Click OK.

Dragging and Dropping SaaS Operations

The Web Service Manager displays a list of SaaS (Software as a Service) web service components.

To add SaaS operations to a web application:

  1. Go to the related homepage of the web service and obtain the required keys and codes, if necessary:
  2. Drag the item from the Services tab.
  3. Drop the item in the resource class.
  4. Fill in the applicable details in the dialog box that appears.

All the plumbing code for accessing the service is generated by the IDE when you finish the drag-and-drop action.

Accessing SaaS Service API

Right-click a service's node. Select View API Document in the service node's context menu and the API opens in a browser window.

Opening Service WADL

Click View WADL in the service node's context menu and the WADL opens in the IDE's editor. WADL is a simple alternative to WSDL for use with XML/HTTP Web applications. See for more information about the Java net WADL project.

See Also
About Web Services
Generating a RESTful Web Service from Scratch
Generating RESTful Web Service component Stubs
Testing a RESTful Web Service

Legal Notices