• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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