SOAP fault details

Sitebuilder for Linux/Unix

Information about errors and exceptions occurred during execution of the methods of Sitebuilder API is carrying in standard SOAP Fault element. The subelement faultcode contains the error code, the subelement faultstring contains a brief description of the error. For some errors the detailed information may be provided in detail subelement.

Example of SOAP response content with error information

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
      <faultcode>ERROR_BAD_LOGIN</faultcode>
      <faultstring>Bad login or password.</faultstring>
      <faultactor/>
      <detail/>
    </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

SOAP Fault Codes

Fault CodeDescription
ERROR_GENERICGeneric error. The subelement detail contains the error details.
ERROR_NOT_IMPLEMENTEDFeature has not been implemented.
ERROR_BAD_LOGINBad login or password.
ERROR_NO_AUTH_HEADERThe authorization header is missing or invalid.
ERROR_ACTION_FAILEDAction has been failed. The subelement detail contains the error details.
ERROR_ACTION_WARNINGSAction has been done with warnings. The subelement detail contains the error details.
ERROR_ACL_NO_ACCESSAction is not allowed.
ERROR_API_DISABLEDSitebuilder API has been disabled.

Sitebuilder for Windows

Information about errors and exceptions occurred during execution of methods of Sitebuilder API is carrying in standard detail subelement of SOAP Fault element.

Format of detail subelement

<SBFaultDetailValue xmlns="http://swsoft.com/webservices/sb/4.0/SoapFaultDetail">
  <Code>Error code</Code> 
  <Name>Error/exception name</Name> 
  <Message>Error/exception message</Message> 
  <StackTrace>Stacktrace</StackTrace>
</SBFaultDetailValue>

Example of SOAP response content with error/exception information

<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>
    <soap:Fault>
      <faultcode>soap:Server</faultcode> 
      <faultstring>System.Web.Services.Protocols.SoapException: Server was unable to process request.</faultstring>
      <detail>
        <SBFaultDetailValue xmlns="http://swsoft.com/webservices/sb/4.0/SoapFaultDetail">
          <Code>-32</Code> 
          <Name>SWsoft.SiteBuilder.BO.Facade.SecurityException</Name> 
          <Message>No user account is associated with the current execution thread</Message> 
          <StackTrace /> 
        </SBFaultDetailValue>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

SOAP fault details

CodeNameDescription
-3SWsoft.SiteBuilder.BO.Facade.AccountLockedException The exception that is thrown when a user with blocked account tries to login
-4SWsoft.SiteBuilder.BO.Facade.AccountServiceException The exception that is thrown when an internal service error occurs
-5SWsoft.SiteBuilder.BO.Facade.AnonymousPlanException The exception that is thrown when a user tries to delete or change the status for an anonymous Plan
-6SWsoft.SiteBuilder.BO.Facade.BuiltInAccountException The exception that is thrown when someone attemts to change the status, delete or change the role for a built-in account
-7SWsoft.SiteBuilder.BO.Facade.ConstraintViolationException The exception that is thrown when attempt to create site with already existing ID occurs
-8SWsoft.SiteBuilder.BO.Facade.DuplicatePlanNameException The exception that is thrown when a user tries to save a Plan with the name that already exists
-9SWsoft.SiteBuilder.BO.Facade.DuplicateUserNameException The exception that is thrown if an account with such user name already exists
-10SWsoft.SiteBuilder.BO.Facade.EntityNotFoundException The exception that is thrown when some required object - account, host, site etc. - is not found
-12SWsoft.SiteBuilder.BO.Facade.HostServiceDuplicateIpAddressException The exception that is thrown when a host with the specified IP address already exists
-11SWsoft.SiteBuilder.BO.Facade.HostServiceException The exception that is thrown when an internal host service error occurs
-13SWsoft.SiteBuilder.BO.Facade.HostServiceHostNotFoundException The exception that is thrown when a specified host is not found
-14SWsoft.SiteBuilder.BO.Facade.HostServiceInvalidCriteriaException Deprecated. Not used
-15SWsoft.SiteBuilder.BO.Facade.HostServiceInvalidIpAddressException The exception that is thrown when a specified IP address for a host is invalid
-16SWsoft.SiteBuilder.BO.Facade.HostServiceInvalidNameException The exception that is thrown when a specified host name is invalid
-17SWsoft.SiteBuilder.BO.Facade.HostServiceOwnerNotFoundException The exception that is thrown when a specified host owner is not found
-18SWsoft.SiteBuilder.BO.Facade.LanguageServiceException The exception that is thrown when an internal service error occurs
-19SWsoft.SiteBuilder.BO.Facade.LicenseVersionException The exception that is thrown when a user tries to import the license with unsupported version
-20SWsoft.SiteBuilder.BO.Facade.LocationCheckException The exception that is thrown when the location check has failed
-21SWsoft.SiteBuilder.BO.Facade.Migration.MigrationException The exception that is thrown when migration of a site content from SiteBuilder v2.0.5 has failed
-22SWsoft.SiteBuilder.BO.Facade.NotificationServiceException Reserved. Not used
-23SWsoft.SiteBuilder.BO.Facade.PasswordException The exception that is thrown when a password is too weak
-24SWsoft.SiteBuilder.BO.Facade.PlanLimitException The exception that is thrown when some operation is not possible because the Plan limits are exceeded
-25SWsoft.SiteBuilder.BO.Facade.PlanServiceException The exception that is thrown when an internal Plan service error occurs
-27SWsoft.SiteBuilder.BO.Facade.PlanWithoutPagesetsException The exception that is thrown when a newly created or existing Plan does not contain any Page Set
-28SWsoft.SiteBuilder.BO.Facade.PlanWithoutSiteFamiliesException The exception that is thrown when a newly created or existing Plan does not contain any Site Family
-29SWsoft.SiteBuilder.BO.Facade.PlanWithoutTemplatesException The exception that is thrown when a newly created or existing Plan does not contain any template
-30SWsoft.SiteBuilder.BO.Facade.PublishException The exception that is thrown when the publishing has failed
-31SWsoft.SiteBuilder.BO.Facade.ResellerUnsupportedException The exception that is thrown when a user tries to save a reseller account
-32SWsoft.SiteBuilder.BO.Facade.SecurityException The exception that is thrown when a user does not have enough permissions for performing an operation or there is no user logged
-33SWsoft.SiteBuilder.BO.Facade.SelfModificationException The exception that is thrown when a user tries to delete their own account or change their own role
-2SWsoft.SiteBuilder.BO.Facade.ServiceException The exception that is thrown when an internal base service error occurs
-35SWsoft.SiteBuilder.BO.Facade.SiteFamilyDupCodeException The exception that is thrown when a specified Site Family code already exists
-34SWsoft.SiteBuilder.BO.Facade.SiteFamilyServiceException The exception that is thrown when an internal Site Family service error occurs
-36SWsoft.SiteBuilder.BO.Facade.SiteServiceDuplicatedAliasException The exception that is thrown when a specified site alias already exists
-37SWsoft.SiteBuilder.BO.Facade.SiteServiceException The exception that is thrown when an internal site service error occurs
-38SWsoft.SiteBuilder.BO.Facade.SiteServiceHostNotActiveException The exception that is thrown when a host specified for site publishing is not active
-39SWsoft.SiteBuilder.BO.Facade.SiteServiceInvalidAliasException The exception that is thrown when a specified site alias is invalid
-40SWsoft.SiteBuilder.BO.Facade.SiteServiceInvalidCriteriaException The exception that is thrown when a specified site search criterion is invalid
-41SWsoft.SiteBuilder.BO.Facade.SiteServiceInvalidIdException The exception that is thrown when a specified site ID is invalid
-42SWsoft.SiteBuilder.BO.Facade.SiteServiceInvalidIpAddressException The exception that is thrown when a specified IP address is invalid
-43SWsoft.SiteBuilder.BO.Facade.SiteServiceInvalidPublishingSettingsException The exception that is thrown when a specified site publishing settings are invalid
-44SWsoft.SiteBuilder.BO.Facade.SiteServiceLicenseModeException Reserved. Not used
-45SWsoft.SiteBuilder.BO.Facade.SiteServiceLoopbackAddressException The exception that is thrown when a specified IP address is loopback/localhost address
-46SWsoft.SiteBuilder.BO.Facade.SiteServiceNoHostException The exception that is thrown when no host is specified in the site publishing settings
-47SWsoft.SiteBuilder.BO.Facade.SiteServiceNotActiveException The exception that is thrown when a specified site is not active
-48SWsoft.SiteBuilder.BO.Facade.SiteServiceNotAnonymousSiteException The exception that is thrown when a specified site is not trial/anonymous site
-49SWsoft.SiteBuilder.BO.Facade.SiteServiceOwnerNotFoundException The exception that is thrown when a specified site owner is not found
-50SWsoft.SiteBuilder.BO.Facade.SiteServicePreviewFailedException The exception that is thrown when site preview has failed
-51SWsoft.SiteBuilder.BO.Facade.SiteServicePublishAnywhereException The exception that is thrown when publishing to any FTP host is not allowed
-52SWsoft.SiteBuilder.BO.Facade.SiteServicePublishFailedException The exception that is thrown when publishing has failed
-53SWsoft.SiteBuilder.BO.Facade.SiteServicePublishLoginFailedException The exception that is thrown when the specified credentials for login to a publishing FTP/VPS server are invalid
-54SWsoft.SiteBuilder.BO.Facade.SiteServicePublishModeNotSupportedException The exception that is thrown when the specified publishing mode is not supported
-55SWsoft.SiteBuilder.BO.Facade.SiteServiceSiteNotFoundException The exception that is thrown when a specified site is not found
-56SWsoft.SiteBuilder.BO.Facade.StatisticsServiceException Reserved. Not used
-57SWsoft.SiteBuilder.BO.Facade.ThemeServiceException The exception that is thrown when an internal Theme service error occurs
-58SWsoft.SiteBuilder.BO.Facade.UnsupportedDatabaseVersionException The exception that is thrown when SiteBuilder database version is invalid
-59SWsoft.SiteBuilder.BO.Facade.UsedPlanException The exception that is thrown when a user tries to delete a Plan that is assigned to one or more accounts
-60SWsoft.SiteBuilder.Common.InternalErrorException The exception that is thrown when an internal error occurs
-62System.ArgumentExceptionThe exception that is thrown when one of the arguments provided to a method is not valid.
-61TechTalk.Dal.DalException