WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] using Xen API C bindings

To: Karl Wang <krl.wang@xxxxxxxxx>
Subject: Re: [Xen-API] using Xen API C bindings
From: Jim Fehlig <jfehlig@xxxxxxxxxx>
Date: Thu, 14 Dec 2006 08:06:22 -0700
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 14 Dec 2006 07:10:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <730179.1461.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <730179.1461.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (X11/20061025)
Karl Wang wrote:
sorry  for last question.
I made a mistake, in the configuration file, the Xen http server is commenced
Now, I changed the configuration, it is ok for the server.

I run the build Xen API C binding and run the test as follows:


  ./test/test_bindings xxxxxx:8005/RPC2 root xxxxx,

I got the results :

:1: parser error : Start tag expected, '<' not found
Not found: RPC2
^
Error: 2SERVER_FAULT Couldn't parse the server response

what I missed in the configuration ?

You need the backend support for the new Xen API. As mentioned before, this can only be found in xen-3.0.4-testing and xen-unstable. If running one of these flavors of xen, you can use the test program found in the bindings by enabling the tcp xmlrpc listener in /etc/xen/xend-config.sxp, e.g.

(xend-tcp-xmlrpc-server yes)

Regards,
Jim


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>