TestConnection

 

TestConnection

The TestConnection method lets you determine whether your network can connect to xWeb successfully. The following features allow you to test the connection using xWeb:

  • The TestConnectionSecure.aspx page is available in xWeb.
  • The TestConnection method has been added to xWeb, which returns a Success or Failure string.
  • The TestxWeb.aspx page in the xWeb Secure folder calls the TestConnection method and displays the result on the page.

Parameters

This method has no parameters. It does not require authentication.

Response

The method returns a string indicating whether the connection succeeded or failed.

Sample Request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.avectra.com/2005/">

 <soapenv:Header/>

 <soapenv:Body>

   <ns:TestConnection/>

 </soapenv:Body>

 </soapenv:Envelope>

Sample Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

 <soap:Body>

  <TestConnectionResponse xmlns="http://www.avectra.com/2005/">

   <TestConnectionResult>Success</TestConnectionResult>

  </TestConnectionResponse>

 </soap:Body>

</soap:Envelope>

 

JSON Method

GET /xWeb/JSON/TestConnection

SAMPLE RESULT
HTTP STATUS: 200
DATA: JSON
Success

 

Was this article helpful?
0 out of 0 found this helpful