[OGo-Users] xmlrpc_call troubles

Friedrich Dominicus users@opengroupware.org
Sun, 21 Oct 2007 18:18:44 +0200


Adam Tauno Williams <awilliam@whitemice.org> writes:

>> http://www.opengroupware.org/en/devs/resources/xmlrpc/xmlrpc_call.html
>> Result:
>> xmlrpc_call http://localhost:20000/RPC2                          
>> <<0x0x6e52f8[HandleCredentialsClient]>>D Note: got HTML response: <0x0x72c388[WOResponse]: status=200 headers={
>>     "content-length" = 5029;
>>     "content-type" = "text/html; charset=iso-8859-1";
>> } content-size=5029>
>> Exception caught
>> Name  : XmlRpcCallFailed
>> Reason: got HTML response
>
> Thats because your calling the WebUI, and not the xml-rpc daemon.  Each
> services [ webui, xml-rpc, zidestore ] listens on a different IP port.
> Anyway,  you shouldn't address the services by port anyway.  ALL access
> to ALL the OpenGroupware services via Apache.  You should be able to
> access the service via http://localhost/RPC2
Well ok. I took the address from the xml-rpc paper...


>
> In you apache config you should have any entry like:
> <IfModule ngobjweb_module.c>
>   <LocationMatch ^/RPC2*>
>     SetAppPort 22000
>     SetHandler ngobjweb-adaptor
>   </LocationMatch>
> </IfModule>
I see, so I have to set up that also.
>
> Mis-config, and double check that you have the ogo-xmlrpcd daemon
> running.
I guess it is  not running.
>
> Anyway if you want to use XML-RPC I'd recommend the zOGI API over the
> one provided by the ogo-xmlrpcd daemon.  zOGI provides XML-RPC via
> ZideStore.
> http://code.google.com/p/zogi/wiki/Root
Ok. I see that I can make good use of the information.

Regards
Friedrich

-- 
Q-Software Solutions GmbH; Sitz: Bruchsal; Registergericht: Mannheim 
Registriernummer: HRB232138; Geschaeftsfuehrer: Friedrich Dominicus