That is the server.  What you want, to test, is one of the other
files, e.g. client.php, introspect.php, etc.

The server.php should respond to those if they are configured to
point to the server on which it is running.  Many of these files
have defaults to point to Edd's server, which is either internal
or just not available to the rest of us.  So, some editing may
be needed.

server.php is expecting a request in XML-RPC, which explains the
error message it returns when you visit it with a traditional
web browser.

Hope this helps...

hzhuang wrote:
> 
>  I am  just start to learn the php/xml/rpc. I decompress the
> xmlrpc1_02tar.gz and ftpped to our apache/php web server.
> 
> from the browser I type in the url(http://hostname/xmlrpctest/) click the
> server.php sample code, it returns:
> 
> <?xml version="1.0"?>
> <methodResponse>
> <fault>
>   <value>
>     <struct>
>       <member>
>         <name>faultCode</name>
>         <value><int>103</int></value>
>       </member>
>       <member>
>         <name>faultString</name>
>         <value><string>XML error: no element found at line
> 1</string></value>
>       </member>
>     </struct>
>   </value>
> </fault>
> </methodResponse>
> 
> Is this the right way to invoke a rpc server, if is, why doesn't work, if
> not, what is the right way?
> 
> Thanks!
> 
> --
> For information about how to subscribe and unsubscribe from this list
> visit http://xmlrpc.usefulinc.com/list.html

-- 

Miles Lott - phpGroupWare
http://www.phpgroupware.org

--
For information about how to subscribe and unsubscribe from this list
visit http://xmlrpc.usefulinc.com/list.html

Reply via email to