Applies to QAComplete 12.31 SaaS & On-Premises, last modified on September 12, 2019

Returns the QAComplete version number as a string.

Parameters

None.

Result

A string in the 9.8.120.0 format.

Example

Sample Code

C#

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

Java

ServiceSoap service = new Service().getServiceSoap12();
String version = service.getVersion();
System.out.println(version);

Sample Request XML

POST /psws/psws.asmx HTTP/1.1
Host: myteam.mysite.com
Content-Type: text/xml; charset=utf-8
Content-Length: 307 {Insert an appropriate value here}
SOAPAction: "http://www.pragmaticsw.com/GetVersion"
 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetVersion xmlns="http://www.pragmaticsw.com/">
    </GetVersion>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

POST /psws/psws.asmx HTTP/1.1
Host: myteam.mysite.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 315 {Insert an appropriate value here}
 

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetVersion xmlns="http://www.pragmaticsw.com/">
    </GetVersion>
  </soap12:Body>
</soap12:Envelope>

Sample Response XML

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: 369 {The server returns an appropriate value here}
 

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <GetVersionResponse xmlns="http://www.pragmaticsw.com/">
      <GetVersionResult>9.8.120.0</GetVersionResult>
    </GetVersionResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 379 {The server returns an appropriate value here}
 

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetVersionResponse xmlns="http://www.pragmaticsw.com/">
      <GetVersionResult>9.8.120.0</GetVersionResult>
    </GetVersionResponse>
  </soap12:Body>
</soap12:Envelope>

See Also

GetLoginInfo
GetLoginInfoByEntity
Helper Operations
SOAP API Reference

Highlight search results