note 29298 added to ref.xmlrpc

From: Date: Sun, 09 Feb 2003 03:52:35 +0000
Subject: note 29298 added to ref.xmlrpc
Groups: php.notes 
Request: Send a blank email to php-notes+get-43672@lists.php.net to get a copy of this message
If anyone is interested in making XMLRPC requests directly from the client, I have been able to get xmlrpc to work with vcXMLRPC javascript backend. After about 1 week of scanning the market, I found this solution to be the best on Javascript back end. It uses the Microsoft.HTTP activeX control for IE, or HTTPRequest Object for Mozilla. You include vc(Virtual Cowboys) vcXMLRPC.js file into your pages and make the rpc calls from with javascript to create the requests. It works both ways. Two Notes: I have tested it on IE 6.02 and you need to change lines in ProcessRequest : function to read: dom = this.getObject("XMLDOM",http.responseText); and change the getObject function to use the latest ActiveX Control: MSXML2.XMLHTTP.3.0 (or 4.0) MSXML2.DOMDocument.3.0 (or 4.0) The controls are found on MSDN in the Web Services -> XML area. As another note, you DO NOT NEED the rpcproxy.cgi script to use this. That is a proxy script to get around JS Security. You can use PHP to build the proxy. But, I was able to get the CGI working with GCC compiler on Solaris (change the -KPCI, depend and -x03 optimizer settings in the Makefile ) -- http://www.php.net/manual/en/ref.xmlrpc.php http://master.php.net/manage/user-notes.php?action=edit+29298 http://master.php.net/manage/user-notes.php?action=delete+29298 http://master.php.net/manage/user-notes.php?action=reject+29298

« previous php.notes (#43672) next »