SystemWebService.SetDefaultSsoRelay Method 

Set default Single Sign-On (SSO) relay for the specified http request domain

[C#]
public void SetDefaultSsoRelay(
   string url
);

Parameters

url
A string contains SSO Relay endpoint URL.

Access

Role Access/rights description
Administrator Unrestricted access to SSO configuration.
Reseller, SiteOwner, Anonymous user No access. SOAP fault detail SWsoft.SiteBuilder.BO.Facade.SecurityException will be returned.

Example SOAP 1.1

Request
POST /sbw_trunk/ServiceFacade/4.5/SystemWebService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://swsoft.com/webservices/sb/4.5/SystemService/SetDefaultSsoRelay"

<?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:Header>
    <CredentialsSoapHeader xmlns="http://swsoft.com/webservices/sb/4.5/SystemService">
      <Login>string</Login>
      <Password>string</Password>
    </CredentialsSoapHeader>
  </soap:Header>
  <soap:Body>
    <SetDefaultSsoRelay xmlns="http://swsoft.com/webservices/sb/4.5/SystemService">
      <url>string</url>
    </SetDefaultSsoRelay>
  </soap:Body>
</soap:Envelope>
Response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?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>
    <SetDefaultSsoRelayResponse xmlns="http://swsoft.com/webservices/sb/4.5/SystemService" />
  </soap:Body>
</soap:Envelope>

See Also

SystemWebService Web Service | Web services