Previous Topic: Create a Service Image from a WSDLNext Topic: Create a Service Image from RAML


Create a Service Image from WADL

This procedure describes how to create a virtual service image from Web Application Description Language (WADL).

Follow these steps:

  1. Complete one of the following options:

    The Virtual Service From WADL window opens.

  2. Enter a service image name and the name of a VS model file.

    Note: To load parameters from a previously saved service image, click Load from File Image of blue folder icon at the bottom of the window.

    For more information about field descriptions, see Basics Tab.

  3. Click Next.
  4. In the Listen on port field at the bottom of the window, enter the port number to which the virtual service listens.
  5. In the WADL URL field, add the WADL to virtualize.

    This entry can be a WADL file on the file system or a URL.

  6. Click Refresh WADL Cache .
  7. In the Endpoint field, select the endpoint in the WADL that must be virtualized.

    Note: Usually, only one selection is available.

  8. In the Methods pane, select the methods in the endpoint to virtualize.

    By default, all the methods are selected. You can click Select All or Select None, as appropriate.

  9. Click Next.
  10. Add or chain other Data Protocol Handlers as appropriate. By default, the Rest Data Protocol Handler is selected.
  11. Click Next.

    On the next window, the service image is generated and the wizard is finished.

  12. Click Finish.

    To save the settings on this recording to load to another service image recording, click Save Image of the Save icon above the Finish button.

Note: The parameter lisa.vse.rest.max.optionalqueryparams specifies the maximum number of optional query parameters to process per method in a WADL file. The default is five; any optional parameters after the fifth one are ignored. We recommend that you do not change the value above five. This can result in the number of generated responses growing exponentially after the fifth one.