You can generate a virtual web service image from a WSDL in the following ways:
This procedure describes how to create a virtual service image from a WSDL using the UI.
Follow these steps:
Click Utilities to find WSDLs on your system.
After you enter the WSDL name, the Service and Port fields are populated. The associated operations are listed on the Operations tab. You can select All or None, or you can use the check boxes to select specific operations to test.
Note: If the default service image name is already in use, a warning icon appears.
The Service Image Editor opens with your service image displayed.
This procedure describes how to create a virtual service image from a WSDL using the New VS Image option.
Follow these steps:
The Virtual Service From WSDL window opens.
Note: To load parameters from a previously saved service image, click Load from File at the bottom of the window.
The Connection tab opens.
This entry can be a local file or a URL.
Usually, only one selection is available.
By default, all the operations are selected.
The request/response side data protocols options open.
The Request Side Data Protocols list is prepopulated with Web Services (SOAP) and the XML data protocol handlers. The Response Side Data Protocols list is automatically populated with the Delimited Text data protocol.
On the next window, the service image is generated and the wizard is finished.
Note: To save the settings on this recording to load to another service image recording, click Save above the Finish button.
The blank virtual service model is populated with steps.
The service image that was generated is a stub service. The service image returns correctly formatted responses, but the values are default values.
The Service Model (VSM) that was saved is the model that is deployed to the Virtual Service Environment.
Copyright © 2014 CA Technologies.
All rights reserved.
|
|