Re: xmlrpc

2011-12-05 Thread Mani Shafa'atDoost
Josh, About authentication method, I just noticed that OpenNebula uses parameters to pass username and password: http://opennebula.org/documentation:archives:rel2.0:api On Sat, Dec 3, 2011 at 11:01 PM, Mani Shafa'atDoost mani.do...@gmail.comwrote: Josh, Thank you. Problem is that I am using

Re: xmlrpc

2011-12-02 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mani, The frontend code is not using Cookie for anything when the XMLRPC API is used. I'm not actually sure about the XML part. All of the XMLRPC code is just using php's built in XMLRPC stuff: http://us.php.net/manual/en/book.xmlrpc.php Almost

Re: xmlrpc

2011-12-01 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mani, - From what you described, it doesn't sound like you have the option to set additional http headers. I remember running in to that with one of the perl XMLRPC libraries. It didn't really expose a way to set additional http headers; so, I

Re: xmlrpc

2011-11-30 Thread Aaron Coburn
Mani,there is documentation for the XML RPC located here:http://people.apache.org/~jfthomps/xmlrpcdocs/xmlrpcWrappers_8php.htmlI have been using the remote API for some time now, and it works very well. To make things easier for me, I wrote a php class that encapsulates some of these functions

Re: xmlrpc

2011-11-30 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mani, I forgot that there is a third http header that is always required - X-APIVERSION. You'd even need that set when calling XMLRPCaffiliations. Josh On Wednesday November 30, 2011, Josh Thompson wrote: Mani, I haven't done much with java,

Re: xmlrpc

2011-11-30 Thread Mani Shafa'atDoost
Josh, As far as I understood, I need to pass the function name as first argument and for second one I need to add a list of parameters. For first parameter, I need to pass Header which consist of following things: $header = Content-Type: text/xml\r\n; $header .= X-User: . $this-username

Re: xmlrpc

2011-11-29 Thread Josh Thompson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mani, Unfortunately, the example code is way out of date and uses API version 1 which is no longer supported. A more current example, though in python, is available here:

Re: xmlrpc

2011-11-29 Thread Mani Shafa'atDoost
Josh, Thank you. Do you have any proper documentation for functions that you provided by XML RPC? Best Regards Mani On Tue, Nov 29, 2011 at 4:32 PM, Josh Thompson josh_thomp...@ncsu.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mani, Unfortunately, the example code is way out

Re: xmlrpc

2011-11-21 Thread Andy Kurth
Try changing the X-APIVERSION line from 1 to 2: $header .= X-APIVERSION: 2; -Andy On Sun, Nov 20, 2011 at 11:13 PM, Mani Shafa'atDoost mani.do...@gmail.com wrote: Hello, I just used your sample file to use VCL through XMLRPC, but I received following error : Notice: xmlrpc: Unsupported API