• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Error in AccountWebService.UpdateProfile

W

wiebren

Guest
When I try to update a user via the SOAP API of Sitebuilder 4.1 for linux and I give a value -1 of 0 for listSize I get an error that the value is less then the minimum required value. The API documentation tells me to use a value of "<= 0" to leave the value unchanged:


listSize
New value of the list size. If <=0, then list size stays unchanged.

Example:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://swsoft.com/webservices/sb/4.1/AccountService"><SOAP-ENV:Header><ns1:CredentialsSoapHeader><ns1:Login>yourhosting</ns1:Login><ns1:password>jfslkjfLFJlKJFfkJufjoi394</ns1:password></ns1:CredentialsSoapHeader></SOAP-ENV:Header><SOAP-ENV:Body><ns1:UpdateProfile><username>ernstjan.server32.firstfind.nl</username><accountId>2ac368e7-0fe1-6f01-82ae-5e1ad59f6e53</accountId><themeCode/><languageCode>nl_NL</languageCode><listSize>-1</listSize><templateListSize>-1</templateListSize></ns1:UpdateProfile></SOAP-ENV:Body></SOAP-ENV:Envelope>


<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>ERROR_ACTION_FAILED</faultcode><faultstring>Action
has been failed. The Items per page value is less than the minimum allowed limit of 1.</faultstring><faultactor>yourhosting</faultactor><detail>The
Items per page value is less than the minimum allowed limit of 1.</detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
 
Back
Top