PHPBuilder - The web of services: using XML_RPC Page 3



RSS Twitter
Articles Php Functions

The web of services: using XML_RPC - Page 3

by: Luis Argerich
|
March 29, 2001

XML_RPC a Standard for Distributed Processing.

XML_RPC is a standard for distributed processing over the internet. RPC: remote procedure call is a mechanism to launch procedures that may exist in different machines and be programmed in different languages. This is the key paradigm of distributed processing. In a distributed processing environment we can, for example, find a calculator software that runs the adding and substracting operations in different machines, the adding operation might be programmed in APL in a RS6000 machine and the substraction in "C" in a Unix Host. Other developers building distributed calculators can also use this "distributed" procedures or choose better ones. In RPC the key components are "procedures", servers provide procedures that the clients can call. Procedures might receive paremeters and return values. XML_RPC implements the RPC mechanism by using an XML vocabulary for passing and receiving data and the HTTP as the protocol carrier. XML_RPC servers accept XML_RPC requests and return XML_RPC responses. XML_RPC clients send XML_RPC requests and accept XML_RPC responses. They must decode the response and provide the answer in the way they want.

The XML_RPC Protocol.

The complete XML_RPC specification can be found in http://www.xmlrpc.com/spec. This is a summary:
The XML_RPC request.
It should be a HTTP POST request, the body of the request will be in XML, the format of the XML part of the request is:
<?xml version="1.0" ?>
<methodCall>
  <methodName>examples.getStateName</methodName>
  <params>
     <param>
        <value><i4>41</i4></value>
     </param>
  </params>
</methodCall>

« Previous Page
1
|
2
|
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
Next Page »

Comment and Contribute

Your comment has been submitted and is pending approval.

Author:
Luis Argerich

Comment:



Comment:

(Maximum characters: 1200). You have characters left.