## Service Creation using WSDL

Service Virtualization allows you to create service from WSDL document. It is convenient to use when you don't have a recording setup or your service is in initial stage of development. however you have WSDL document that describes that service.

- Project : A project in service virtualization refers to a directory that consists of one or more inter-related virtualized services.
  User can define various configurations that apply to all the services within that project. Projects provide a way to manage and maintain a cohesive set of virtualized services with a common context or purpose.
- Subproject : It refers to a smaller unit or subset of services within a project. It allows user for further categorization and organisation of virtualized services within the project.

### How to Create a Virtual Service Using WSDL

- A user can upload WSDL document using file or URL.
- Once uploaded, a tree like hierarchy is displayed with all bindings and associated operations from the WSDL document.
- Click Next.
- This takes you to 'Resource List' where SOAP request for all operations are displayed with service and template name.
  - User needs to do a test for each SOAP request to fetch the response from server.
- This table lets you customize which operations to include in service. You can select all or few to create service.
- Next click on the "Create Services" which will only create the service (for selected rows) while "Create Service and Activate" will create and activate the service virtualization server also.

### NOTES

- The Open API URL must be accessible from the service virtualization server where you are creating service.
- The WSDL URL must be accessible from the service virtualization server where you are creating service.
- Single Service is created for same endpoint URL.
- The service name is created using the file name and operation, however one can modify it by clicking the name (if required)