|Example: wsdl_wsi_validation||Web Services Functions (SOAP, WEB_SERVICE, Silverlight)|
Validates the WSDL file of a web service and reports on compliance.
int wsdl_wsi_validation( const char *ServiceName );
|ServiceName||The name of the service. The location of the WSDL file is the path of the imported service.|
The wsdl_wsi_validation function checks whether the WSDL file of an imported service is compliant with WS-I (Web Services Interoperability) standards.
Before this function is called in a script:
The external WS-I testing tool used for performing the validation must be installed (for example, the tool distributed by the WS-I organization). For more information on installing this tool and integrating this tool with UFT One, see the UFT One documentation.
The service for which the WSDL is being checked must be imported. VuGen locates the WSDL file in the folder of the imported service.
This function returns LR_PASS (0) on a successful validation. The WSDL file is compliant with WS-I standards.
This function returns LR_FAIL (1) on failure or if the WSDL file is not compliant with WS-I standards.
The parameter ServiceName can be parameterized.