[OGo-XML-RPC] Re: [OGo-Users] WOHttpAllowHost

Henk van Lingen xmlrpc@opengroupware.org
Mon, 13 Feb 2006 14:31:57 +0100


On Mon, Feb 13, 2006 at 12:13:35PM +0100, Helge Hess wrote:
  > 
  > >>Are you accessing the XML-RPC daemon via mgobjweb?  If no, do so.
  > >  I don't know. What is mgobjweb? (google gives only your mail :-))
  > >  I'm talking to ogo-xmlrpcd, which comes with the RPM release.
  > 
  > Its the Apache module which forwards the requests from the client to  
  > the actual backend server (ogo-xmlrpcd in this case).
  > You can find plenty of information on it in Google (mod_ngobjweb).

Oke, I thought it was possible to talk directly to ogo-xmlrpcd via
port 22000. But I understand this apache module in the middle is
needed. Now indeed I can do something like:

#!/sw/bin/ruby

require     'xmlrpc/client'

server = XMLRPC::Client.new(host='ogo', path='/RPC2', port='80',
                            proxy_host=nil, proxy_port=nil,
                            user='foo', password='bar')

puts server.call("team.getTeams")

This works, thanks,
-- 
Henk van Lingen, Systems & Network Administrator              (o-      -+
Dept. of Computer Science, Utrecht University.                /\        |
phone: +31-30-2535278                                        v_/_
http://henk.vanlingen.net/             http://www.tuxtown.net/netiquette/