|
||||
|
<?xml version="1.0" encoding="UTF-8"?>
Why is there no DTD in the document? I have been getting a lot of errrors with my application as not being valid XML file. I have been calling it like: http://www.****.com:2086/xml-api/listaccts? I get: <listacct> <accts) etc.. When I call http://www.****.com:2086/xml-api/cpanel?&xmlin=<cpanelaction><module>Park</module><func>listparkeddomains</func></cpanelaction> I get a <?xml version="1"?> - <cpanelresult> <apiversion>1</apiversion> <type>text</type> - <data> <result>Access Denied to .</result> </data> </cpanelresult> I have created a few work arounds, however I was just wondering if there was more required information than just "/listaccts?" that would create properly formatted XML. Is is actual native XML or an xml clone proprietaried by cPanel?? Thanks any help will be appreciated.
__________________
"Life is like a box on cPanel Edge. You never know what your gonna get..." |
|
||||
|
Quote:
http://www.cpanel.net/plugins/xmlapi/index.html Of course, just look at the return values for applist to get a list of commands.
__________________
Want our technical analysts to login to your server to assist you? You can contact our technical analysts at: http://tickets.cPanel.net/submit |
|
||||
|
Thanks for your response David. I will submit to bugzilla as a feature request. Perhaps as a variable to include like:<br>
http://www.****.com:2086/xml-api/listaccts?show_dtd=1 I wil use my workaround. Thanks David
__________________
"Life is like a box on cPanel Edge. You never know what your gonna get..." |
![]() |
| Thread Tools | |
| Display Modes | |
|
|