XML-RPC
the post from 10.06.06 in which a method for sending values from one server to another using either (a) POST or (b) redirection assumed that each server was accessible by a user coming from a browser anywhere in the world.
however, what if one server is "internal" (firewalled?) so that no one from outside the local network can navigate to a page on that server?
a third option for passing values is to use the XML-RPC protocol. PHP has a PEAR library which implements this so that the visible web server can define the internal server, the path to a file on it, a function in that file, and an array of parameters to be input into that function. basically, this is remote procedure call wrapped inside an XML "packet" (?).
the internal server then runs the program, wraps the response in an XML packet, and sends it back to the XML client program. all this is done without the web user pointing the browser to the internal server (which would time out).
unfortunately, this package and its contents do not seem to be well documented but information and code samples are available at the pear.php.net site as well as at codebuilder.com.
this seems like a very useful tool for developers writing applications over multiple servers and it saved me...
however, what if one server is "internal" (firewalled?) so that no one from outside the local network can navigate to a page on that server?
a third option for passing values is to use the XML-RPC protocol. PHP has a PEAR library which implements this so that the visible web server can define the internal server, the path to a file on it, a function in that file, and an array of parameters to be input into that function. basically, this is remote procedure call wrapped inside an XML "packet" (?).
the internal server then runs the program, wraps the response in an XML packet, and sends it back to the XML client program. all this is done without the web user pointing the browser to the internal server (which would time out).
unfortunately, this package and its contents do not seem to be well documented but information and code samples are available at the pear.php.net site as well as at codebuilder.com.
this seems like a very useful tool for developers writing applications over multiple servers and it saved me...
1 Comments:
At 2:15 PM ,
frylime said...
where are the updates?
Post a Comment
Subscribe to Post Comments [Atom]
<< Home