[ome-users] XMLRPC Problem

Valentin Dimitrov valentin at studcs.uni-sb.de
Thu Feb 2 16:24:08 GMT 2006


Harry-


here is the output:

valentin@[ 17:06 ]~/tmp/NEU/OME$ ./rpcTest.pl --name valentin --pass gogo55 --host localhost
XMLRPC worked, but some error was found:Content-Type must be 'text/xml' 
instead of 'application/x-www-form-urlencoded'</string></value></member><member><name>faultCode</name>
<value><string>Client

  Do you think that "libwww-perl" is the problem ?


matou:/home/valentin# tail -f  /var/log/apache/access.log
127.0.0.1 - - [02/Feb/2006:17:06:17 +0100] "POST /shoola HTTP/1.1" 200 346 
"-" "libwww-perl/5.803" "-"

matou:/home/valentin# tail -f  /var/log/apache/error.log
[Thu Feb  2 16:52:54 2006] [notice] Apache/1.3.33 (Debian GNU/Linux) 
mod_perl/1.29 configured -- resuming normal operations
[Thu Feb  2 16:52:54 2006] [notice] Accept mutex: sysvsem (Default: 
sysvsem)
06/02/02 17:01:24 serve.pl[4708]: Serving package - OME::Web::Home.
06/02/02 17:01:25 serve.pl[4709]: Serving package - OME::Web::Login.
[Thu Feb  2 17:01:26 2006] [error] [client 127.0.0.1] File does not exist: 
/usr/share/images/logo-eye.gif

matou:/home/valentin# tail -f  /var/log/messages
Feb  2 16:53:49 localhost gconfd (valentin-5146): Resolved address 
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration 
source at position 2



Harry many thanks for your help ..
Cheers
Valentin



On Thu, 2 Feb 2006, Harry Hochheiser wrote:

>
> Ok, Valentin. As far as I know, there's no reason why this configuration 
> shouldn't work.
>
> It _sounds_ to me like the problem is in the configuration of the back-end 
> and XML-RPC handling.
>
> Let's do the following, if possible:
>
> 1) Please update to the latest checkout of OME from CVS, if you haven't 
> already.
>
> 2) Let's run a test to see if the xml-rpc is responding at all. The attached 
> script should be useful for this. Assuming you've got a reasonably 
> well-configured Perl setup, run the script as:
> 	./rpctest.pl --name <name> --pass <password> --host <host>
>
> "host" defaults to localhost.
>
> This script should report a session key if things work. Otherwise, an error 
> message will be printed.
>
> Please try this out - if it works, the XML-RPC is working. If it doesn't, 
> please send me any output along with the last few lines of your httpd error 
> log. This should help us figure out what's going on.
>
> Good luck,
>
> harry
>



More information about the ome-users mailing list