WadlVisualDesigner

Wadl Visual Designer

This feature in Netbeans enables users to design wadl

Contents


Preparation:

0. Required Installations:

  • JDK 1.6
  • Latest NetBeans 6.5
  • Add Wadl designer plugin attached below.

1. How to create new wadl

Open Netbeans IDE, then on the "Favourites" tab, create new file 'myservice.wadl'


Image:newfile_WadlVisualDesigner.png

Enter file name


Image:enter_file_WadlVisualDesigner.png

Wadl Designer with hierarchical view


Image:hierarchy_WadlVisualDesigner.png

Add a new service to WADL


Image:add_service_WadlVisualDesigner.png

Add a new method to WADL


Image:add_method_WadlVisualDesigner.png

Enter method name


Image:enter_method_name_WadlVisualDesigner.png

Add a param to the method's request


Image:add_param_WadlVisualDesigner.png

Change parameter name


Image:change_param_name_WadlVisualDesigner.png

Add a fault to the method's response


Image:add_fault_WadlVisualDesigner.png

Select fault


Image:select_fault_WadlVisualDesigner.png

Fault shown with its contents


Image:fault_WadlVisualDesigner.png

Switch to the Wadl Designer with list view by clicking the top-leftmost button


Image:list_view_WadlVisualDesigner.png

Check the new fault that we created in hierarchical view


Image:check_fault_WadlVisualDesigner.png

Switch to the source view by clicking 'Source' tab, then click validate icon to validate the file


Image:validate_WadlVisualDesigner.png

Validation error with same id name 'newMethod'


Image:validate_error_WadlVisualDesigner.png

Change one of the method id to 'newMethod1' and validate


Image:corrected_error_WadlVisualDesigner.png

Check the method name in list view


Image:check_method_WadlVisualDesigner.png

2. Cool features

Add service by example'


Image:add_service_by_url_WadlVisualDesigner.png

New service with a default method and three parameters created


Image:service_added_by_url_WadlVisualDesigner.png

CreatingZemblyServiceUsingNB

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo