[OpenSocial] Re: How to call a function on remote server??

2009-02-07 Thread Tim Moore
We had some good luck modifying the client found here: http://www.zentus.com/js/xmlrpc.js.html Our modified version is at: http://labs.atlassian.com/svn/FEDEXX/trunk/atlassian.gadgets.xmlrpc.js You'd probably want to take the alert statement out of the top :-) and maybe change the namespace.

[OpenSocial] Re: How to call a function on remote server??

2009-02-06 Thread rinku dongaria
How do opensocial sends XML-RPC messages to the server to call a function ?? On Thu, Feb 5, 2009 at 10:38 PM, Chris Chabot chab...@google.com wrote: that's really a question about the programming language on the server, and not about opensocial. Say that you were using PHP, then you could

[OpenSocial] Re: How to call a function on remote server??

2009-02-06 Thread Chris Chabot
It doesn't, you would have to create a XML string your self, and then post it to the server using gadgets.io.makeRequest. All that makeRequest gives you is the ability to do a GET or a POST to a server, so just the basic IO. What you post, whether that is a string, json or xml, and what query

[OpenSocial] Re: How to call a function on remote server??

2009-02-06 Thread osanil maria goncalves
SCUSE IO NON CRIVO LIUGA DI LEI, IO VIVO ITALIA...SONO BRASILIANA Date: Fri, 6 Feb 2009 13:36:24 +0100Subject: [OpenSocial] Re: How to call a function on remote server??From: chab...@google.comto: opensocial-...@googlegroups.comit doesn't, you would have to create a XML string your self, and

[OpenSocial] Re: How to call a function on remote server??

2009-02-05 Thread Chris Chabot
that's really a question about the programming language on the server, and not about opensocial. Say that you were using PHP, then you could call different 'functions' in a page by: ?php $function = $_GET['action']; switch ($function) { case 'foo': include foo.php; break; case

[OpenSocial] Re: How to call a function on remote server??

2009-02-04 Thread yoichiro
Hi rinku, You'll be able to access to remote server using gadgets.io.makeRequest (). http://code.google.com/intl/en/apis/opensocial/articles/makerequest-0.8.html Thanks, Yoichiro On Feb 4, 8:34 pm, rinku dongaria rinku.donga...@gmail.com wrote: Hello friends, How to make call to a

[OpenSocial] Re: How to call a function on remote server??

2009-02-04 Thread rinku dongaria
Thanks Yoichiro... I have already used makeRequest call ... but this call will get a particular page on the server...what if we want to call a particular function on the server which is a subpart of the requested page?? On Thu, Feb 5, 2009 at 5:37 AM, yoichiro yoich...@eisbahn.jp wrote: Hi