REST Binding Component User's Guide

ProcedureTo Create a WSDL Document for REST Outbound

  1. In the NetBeans Projects window, right-click the project or a folder within the project where you want to add the WSDL document.

  2. Point to New and then select WSDL Document.

    The New WSDL Document Wizard appears.

  3. Enter a name for the WSDL document, and verify or update the folder location for the file.

  4. Select Concrete WSDL Document.

    The Binding and Type fields appear.

  5. For the Binding, select REST; for the Type, select REST – Outbound.

    Figure shows the Name and Location window of
the WSDL wizard.
  6. Click Next.

    The Operation Detail window appears with the Get tab displayed.

  7. To add a GET operation, do the following:

    1. On the Get tab, click Add Operation.

      New fields appear on the wizard.

      Figure shows the operation properties on the
WSDL wizard.
    2. Enter a name for the operation, and click the Browse buttons to select the request and response message types.

    3. Click Edit Operation.

      The Edit Operation Properties window appears.

      Figure shows the Edit Operation Properties window.
    4. Enter values for the fields described in Table 2.

  8. To add PUT, POST, DELETE, and HEAD operations, repeat the above steps from the appropriate tab on the wizard.

  9. On the New WSDL Document Wizard, click Finish.