Product:
Search Type:

XML API request to Plesk fails with XML schema validation error.

Article ID: 3952 
Last Review: Feb,18 2008
APPLIES TO:
  • Plesk 8.3.x for Linux/Unix

SYMPTOMS

If you use protocl version lesser than 1.4.2 in XML API request, the following error occurs:


               <system>
                        <status>error</status>
                        <errcode>1014</errcode>
                        <errtext>Parser error: Request is invalid</errtext>
                </system>
      <output>
............
Element 'complexType': The type has an 'all'
model group in its {content type} and thus cannot be derived from a non-empty
type, since this would produce a 'sequence' model group containing the 'all'
model group; 'all' model groups are not allowed to appear inside other model
groups. in............


RESOLUTION

There are two solutions for this problem. The first, update Plesk 8.3 to patch 2.
And the second, use protocol version 1.4.2 or greater in XML API requests, however in this case make sure that all your API requests are compatible with used protocol version.

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields