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:
In the Services window, right-click the Web Services node and choose Add Web Service...
The Add Web Service dialog opens.
Browse for the local file or type the URL of the service's WSDL or WADL file.
If necessary, set the proxy for the service or manually set the package name.
Click OK.
Dragging and Dropping SaaS Operations
The Web Service Manager displays
a list of SaaS (Software as a Service) web service components.
For a tutorial that shows how
RESTful SaaS web service components are used,
see:
To add SaaS operations to a web application:
Go to the related homepage of
the web service and obtain the
required keys and codes, if necessary:
To get a Google Map key, go here:
To get a Zillow username and password, go here:
To set up an Amazon S3 Bucket account (you have to buy one
but it's very reasonable), go here:
Drag the item from the Services tab.
Drop the item in the resource class.
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.