Applies to QAComplete 12.21 SaaS, last modified on July 15, 2019

To use QAComplete SOAP API in .NET applications, you need to add a web service reference to your Microsoft Visual Studio project. This will generate proxy classes for calling web service operations, so you will not have to handle raw SOAP XML messages and HTTP requests and responses.

  1. Open your project in Visual Studio.

  2. In Solution Explorer, right-click the project and select Add Service Reference.

  3. Enter the WSDL URL in the Address box.

    For QAComplete SaaS (hosted on qacomplete.smartbear.com):

    http://soap.qacomplete.smartbear.com/psWS.asmx?WSDL

    For QAComplete On-Premises (hosted on your company-owned server):

    http://[yourserver]/psws/psws.asmx?WSDL

  4. Enter the Namespace for the proxy classes. The full namespace will be ProjectNamespace.ProxyNamespace.

  5. Click OK.

Now, you can connect to the QAComplete web service and call its operations like this:

C#

ServiceSoapClient service = new ServiceSoapClient();

string version = service.GetVersion();
Console.WriteLine(version);

See Also

SOAP API Introduction

Highlight search results