• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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