Mantis - Quercus
Viewing Issue Advanced Details
1579 minor always 01-22-07 09:10 05-21-09 17:12
0001579: xmlrpc support
(rep by Schott Stewart)
Ive poured over the docs (both Quercus and PHP) and I think the xmlrpc is included by default in PHP5 (usually). But I dont think it works at all under Quercus, is that true? What options are there for implementing a PHP xml-rpc server under Quercus?
BTW ive tried this, [^]
but it relies on some php functions (some of the mb_* stuff) that are not in Quercus, either.

01-22-07 09:12   
In reference to the last post, Ive modified the xml-rpc lib so that it doesnt look for mb_detect_encoding() (side note: should Quercus report that it supports an extension is available via extension_loaded if it is only partially implemented?)
iv run into a new problem, when I POST my xml to the rpc server, I get a complaint about the XML not being formed well..a log follows:
<?xml version="1.0"?>
HTTP/1.0 500 Internal Server Error
Server: Resin/3.1.0
Content-Type: text/html; charset=iso-8859-1
Date: Sun, 21 Jan 2007 22:03:35 GMT

<head><title>500 Servlet Exception</title></head>
<h1>500 Servlet Exception</h1>
stream:1: XML file has no top-element.  All well-formed XML files have
a single top-level element.

Now, Ive tried this under my "regular" php with Apache and it works
My questions are..what is it complaining about? And why is it complaining?
The XML on the post looks fine to can I get more info?