[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: pgpTLeZmao5RA.pgp
Description: PGP signature

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.