Working with RESTful Web Service Clients

The following table shows how to work with RESTful web service clients.
Number 1
Create the web service client

Do one of the following:


Number 2
Build the web service client

Note: In most cases it is not necessary to build the web service client. The IDE builds the client in the course of running it.

Do one of the following:

  • If the client is in a Java application or stand-alone Web application, right-click the application's node and select Build.
  • If the client is in a JavaEE module in an enterprise application, and you want to build the entire application, right-click the enterprise application's node and select Build.
  • If the client is in a JavaEE module in an enterprise application and you only want to build the JavaEE module, right-click the module and select Build.
  • If the client is in a NetBeans module, right-click the module's parent platform application and select Build.

Number 4
Run the web service client

You can deploy a RESTful web service client as a stand-alone Java or web application, as a part of an enterprise application, or as a NetBeans module in a Platform application.

Do one of the following:

  • If the client is in a Java application or stand-alone Web application, right-click the application's node and select Run. See Deploying a Web Application or Running a Java Application.
  • If the client is in a JavaEE module in an enterprise application, right-click the enterprise application's node and select Run. See Deploying an Enterprise Application.
  • If the client is in a NetBeans module, right-click the module's parent platform application and select Run.

For troubleshooting, see Setting a Proxy for Consuming a Web Service.


Legal Notices