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

Re: [Xen-users] Re: XenApi

On Thu, Dec 06, 2007 at 10:22:50PM -0800, Shaun R. wrote:
>  Ahh, so what should the headers look like?

It's standard XML-RPC stuff.

Here's a tcpdump capture:

Client request:

POST / HTTP/1.0
Host: localhost:9363
User-Agent: xmlrpclib.py/1.0.1 (by www.pythonware.com)
Content-Type: text/xml
Content-Length: 233

<?xml version='1.0'?>
<methodCall>
<methodName>session.login_with_password</methodName>
<params>
<param>
<value><string>me</string></value>
</param>
<param>
<value><string>mypassword</string></value>
</param>
</params>
</methodCall>


Server response:

HTTP/1.1 200 OK
Server: BaseHTTP/0.3 Python/2.5
Date: Fri, 02 Nov 2007 17:54:44 GMT
Content-Type: text/xml
Content-Length: 313

<?xml version='1.0'?>
<methodResponse>
<params>
<param>
<value><struct>
<member>
<name>Status</name>
<value><string>Success</string></value>
</member>
<member>
<name>Value</name>
<value><string>1fb54ea1-b233-4bc4-7ec1-4bac5fe915da</string></value>
</member>
</struct></value>
</param>
</params>
</methodResponse>

-- 
lfr
0/0

Attachment: pgpZNDVXZTzhB.pgp
Description: PGP signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>