In the NetBeans Projects window, right-click the project or a folder within the project where you want to add the WSDL document.
Point to New and then select WSDL Document.
The New WSDL Document Wizard appears.
Enter a name for the WSDL document, and verify or update the folder location for the file.
Select Concrete WSDL Document.
The Binding and Type fields appear.
For the Binding, select REST; for the Type, select REST – Inbound.
Click Next.
The Operation Detail window appears with the Get tab displayed.
To add a GET operation, do the following:
On the Get tab, click Add Operation.
New fields appear on the wizard.
Enter a name for the operation, and click the Browse buttons to select the request and response message types.
Click Edit Operation.
The Edit Operation Properties window appears.
Enter values for the fields described in Table 1.
To add PUT, POST, DELETE, and HEAD operations, repeat the above steps from the appropriate tab on the wizard.
On the New WSDL Document Wizard, click Finish.