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:

Return Values

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.