Creating a VS Image from a WSDL using the Quick Start Menu
- From the Quick Start menu, select Create an SI from a WSDL. You will see this window.
- On the Connection tab, enter the name of a WSDL. You can click the Utilities icon to list options to find WSDLs on your system.
- 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.
- 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 icon.
- When you click the green arrow 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.
- 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.
- Clicking the Load from file icon lets you navigate the file system to load parameters from a previously-saved service image into this recording session.
- Click Next.
- 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.
- Enter a port number in Listen on port text box on which the VSE service should listen.
- Add the WSDL to be virtualized in the WSDL URL text box. This can be a local file or a URL.
- Select the particular service in that WSDL that needs to be selected, in the Service text box. There is usually only one choice.
- Select the operations in that service that should be virtualized. By default, all the operations will be virtualized.
- Click Next. On the next screen, the service image is generated and the wizard is finished. Click Finish.
- If you want to save the settings on this recording to load into another service image recording, you can click the Save icon.
- The blank VSM will now be populated with steps. Save it.
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.