From: Ewan Mellor Subject: Re: Re: Java support for Xen APIs Date: Thu, 29 Mar 2007 15:55:57 +0100 Message-ID: <20070329145557.GO16195@leeni.uk.xensource.com> References: <460BB681.6070503@oracle.com> <383b9200703290558u6373385eg896358398716337c@mail.gmail.com> <460BBFD5.3040404@codemonkey.ws> <383b9200703290738u64606e45n738be707b0664c7b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <383b9200703290738u64606e45n738be707b0664c7b@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ray Kelm Cc: Premjith Rayaroth , xen-devel@lists.xensource.com, Anthony Liguori List-Id: xen-devel@lists.xenproject.org On Thu, Mar 29, 2007 at 10:38:56AM -0400, Ray Kelm wrote: > I'm sorry, I should have been more clear. Apache xml-rpc has support > for vendor extensions, which violate the original xml-rpc spec. In > order for them to be enabled, their client library negotiates with the > server implementation, and only if both sides have extensions enabled > does it support them. The expected situation is that if a non-apache > client accesses an apache server, it won't ask for extensions, so the > server will not use them. If an apache client accesses an non-apache > server, the negotiation is ignored, so the client disables the > extensions. > > One of those extensions is support for returning a null value (or > python's None in this case) as or maybe . The python > xmlrpc code does this apparently by default, when you call a method > that has no return value, for example, xend.domain.unpause. xend.domain.unpause is one of the legacy XML-RPC methods, and not part of the Xen-API. If you try VM.unpause you should get a quite different result. Ewan.