• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Soap errors with plesk 9.5.2

deltatech

Regular Pleskian
I am getting soap errors when submitting a simple password change request to the Plesk API. I am running Plesk for Linux 9.5.2. From my understanding, the calls to the API don't even use SOAP yet we are getting this error...

SOAP-ERROR: Parsing WSDL: Couldn't load from 'AccountWebService.asmx?WSDL'

Here is a sample of what I am sending to the API when getting this error...

$packet = '<client>
<add>
<gen_info>';
if ($params["clientsdetails"]["companyname"]) $packet .= '<cname>'.$params["clientsdetails"]["companyname"].'</cname>';
$packet .= '<pname>'.$params["clientsdetails"]["firstname"].' '.$params["clientsdetails"]["lastname"].' '.$params["serviceid"].'</pname>
<login>'.$params["username"].'</login>
<passwd>'.$params["password"].'</passwd>
<status>0</status>
<phone>'.$params["clientsdetails"]["phonenumber"].'</phone>
<fax/>
<email>'.$params["clientsdetails"]["email"].'</email>
<address>'.$params["clientsdetails"]["address1"].'</address>
<city>'.$params["clientsdetails"]["city"].'</city>
<state>'.$params["clientsdetails"]["state"].'</state>
<pcode>'.$params["clientsdetails"]["postcode"].'</pcode>
<country>'.$params["clientsdetails"]["country"].'</country>';
if ($resellerid) $packet .= '<owner-id>'.$resellerid.'</owner-id>';
$packet .= '</gen_info>
<template-name>'.$params["configoption1"].'</template-name>
</add>
</client>';
 
Back
Top