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-users

[Xen-users] Xen API and XML-RPC

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Xen API and XML-RPC
From: "Paolo Tonin" <paolo.tonin@xxxxxxxxx>
Date: Thu, 17 Aug 2006 15:07:33 +0200
Delivery-date: Fri, 18 Aug 2006 06:14:44 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Rk4w2z+Vx+eTmeeuupAA1Nbxp4xU90LlKPnrE3ReUPyecwUR49zr9unNbb7tO/B3eEov2EpXJU3cN1pmntg+GIlAV5D9N1WJ2T/cVXME4VkOxuVqNvRYJON+u+4BK/rYodHEgCDsqgL6SlgFyFV68yVqzhOcHLgdN5yJLw3XZVk=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I'm developing a Xen interface in PHP with xmlrpc support.
I'm trying to login with the class 'session' like in the pdf api on
Xen wiki, but this is the result of debugging:

POST / HTTP/1.0
User-Agent: XML-RPC for PHP 2.0
Host: 127.0.0.1
Accept-Encoding: gzip, deflate
Accept-Charset: UTF-8,ISO-8859-1,US-ASCII
Content-Type: text/xml
Content-Length: 230

<?xml version="1.0"?>
<methodCall>
<methodName>session.login_with_password</methodName>
<params>
<param>
<value><string>myuser</string></value>
</param>
<param>
<value><string>mypassword</string></value>
</param>
</params>
</methodCall>
---END---

---GOT---
HTTP/1.0 200 OK
Server: BaseHTTP/0.3 Python/2.4.3
Date: Thu, 17 Aug 2006 14:10:26 GMT
Content-type: text/xml
Content-length: 308

<?xml version='1.0'?>
<methodResponse>
<fault>
<value><struct>
<member>
<name>faultCode</name>
<value><int>1</int></value>
</member>
<member>
<name>faultString</name>
<value><string>method "session.login_with_password" is not
supported</string></value>
</member>
</struct></value>
</fault>
</methodResponse>

Where's the error? The name of class/method?
Where can i set the password to access to the api of Xen via xmlrpc?

Thanks in advice!

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Xen API and XML-RPC, Paolo Tonin <=