Sets the base application URL.
[C#]
public void SetBaseApplicationUrl(
string url
);
The base application URL is an URL used by the Single Sign-On (SSO) server to access to the Sitebuilder application. The Sitebuilder should be accessible for the SSO server by specified URL.
If SSO support is disabled, then the method just sets the base application URL to the value specified by url. If SSO support is enabled, then the Sitebuilder application registration on the SSO server will be updated as well.
| 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. |
| Request |
|---|
POST /wsb/ServiceFacade/4.1/SystemWebService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://swsoft.com/webservices/sb/4.1/SystemService/SetBaseApplicationUrl"
<?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.1/SystemService">
<SsoSessionId>string</SsoSessionId>
<SsoId>string</SsoId>
<Login>string</Login>
<Password>string</Password>
</CredentialsSoapHeader>
</soap:Header>
<soap:Body>
<SetBaseApplicationUrl xmlns="http://swsoft.com/webservices/sb/4.1/SystemService">
<url>string</url>
</SetBaseApplicationUrl>
</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>
<SetBaseApplicationUrlResponse xmlns="http://swsoft.com/webservices/sb/4.1/SystemService" />
</soap:Body>
</soap:Envelope> |