Creating a Service Image from a WSDL

Document ID : KB000048340
Last Modified Date : 14/02/2018
Show Technical Document Details

Creating a VS Image from a WSDL using the Quick Start Menu

  1. From the Quick Start menu, select Create an SI from a WSDL. You will see this window.
    Figure 1

  2. On the Connection tab, enter the name of a WSDL. You can click the Utilities icon Figure 1 to list options to find WSDLs on your system.

  3. After you enter the WSDL name, the Service and Port fields are populated. Notice that the associated operations are listed on the Operations tab. You can select All, None, or use the check boxes to select specific operations to test.

  4. At the bottom of the screen, you can change the name of the service image that will be created. If the service image name that defaults is already in use, you will see a warning Figure 1 icon.

  5. When you click the green arrow Figure 1 at the bottom of the screen, you will be taken to the Service Image Editor screen, with your service image displayed.

Creating a VS Image from a WSDL using the Create New VS Image option

Right-click the VServices> Images icon on the project panel and select Create New VS Image option, then From WSDL.

  1. Enter a service image name and the name of a VS model file. Defaults are fine for the rest of the fields on this screen.

  2. Clicking the Load from file Figure 1 icon lets you navigate the file system to load parameters from a previously-saved service image into this recording session.

  3. Click Next.
    Figure 1

  4. Select Web Services (SOAP) on the next screen. The Request Side Data Protocols list is pre-populated with Web Services (SOAP) data protocol handler. If you do not select one of the SOAP-style data protocol handlers (Web Service (SOAP), Web Services (SOAP Headers), or Web Service Bridge), you will be prompted to select one before continuing.
    Figure 1

  5. Enter a port number in Listen on port text box on which the VSE service should listen.
    Figure 1

  6. Add the WSDL to be virtualized in the WSDL URL text box. This can be a local file or a URL.

  7. Select the particular service in that WSDL that needs to be selected, in the Service text box. There is usually only one choice.

  8. Select the operations in that service that should be virtualized. By default, all the operations will be virtualized.

  9. Click Next. On the next screen, the service image is generated and the wizard is finished. Click Finish.
    Figure 1

  10. If you want to save the settings on this recording to load into another service image recording, you can click the Save Figure 1 icon.

  11. The blank VSM will now be populated with steps. Save it.
    Figure 1

    The service image that was generated will be a stub service. It will return correctly formatted responses, but the values will be default values.

    The Service Model (VSM) that was saved will be what gets deployed to VSE.