• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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