MCQs Test!! VB Basic Test !! Essentials of VB !! Creating User Services !! function !! Anatomy !! GK March-2019 !! DATA TYPES IN JAVA !! Classes ,Constructor ,Methods,Inheritance !! Ecology-I !! Biology 2019 !! Gk april 2019 !! Biology (living world) !! Plant anatomy !! CELL STRUCTURES AND FUNCTION !! General biology !! Human physiology !! Data structure !! Ecology-II !! GK TEST !! Reproduction in plants !! Human reproduction !! The ABC of C !! Operating system set1 !! Operating system set2 !! Gk and current affairs !! Animal kingdom !! Number system !! Animal kingdom-II !! Gk TEST-III !! Number series !! Microorganisms !! Interview question in c !! Time and Work !! Percentage !! General history !! Average !! Cells !! Locomotion and Movement !! paging !! Bacteriology !! Page replacement policy !! Secondary memory and Disk scheduling !! Introduction of Nervous System and neurons !! Plant harmones !! Transport and Mineral Nutrition in Plants !! Neurotransmitters !! Modern Indian History !! Photosynthesis in Plants !! Modern Indian History-II !! Plant respiration !! Environment & Biodiversity !! Environment & Biodiversity - II !! Algae, Bryophytes, Pteridophytes !! Area !! Cricket !! Days of the Year (India and the World) !! Plant Pathology - I !! Indian Transport System !! Plant Pathology - II !! Aptitude !! Biology !! Botany !! C language !! Computer Science !! Core Java !! Gate !! GK !! Mysql !! Operating system !! Physics !! VB-Visual Basic !! Zoology

Web Services

SOAP IN Web services

SOAP Tutorial

XML-RPC
Previous Home Next

Introduction

XML-RPC is a Remote Procedure Calling protocol that works over the Internet. XML-RPC can be used with Java, C, C++, PHP and many other programming languages. XML-RPC protocol was created in 1998 by Dave Winer.

Actually Extensible Markup Language (XML) provides a vocabulary for describing Remote Procedure Calls (RPC) which is transmitted between computers using the Hyper Text Transfer Protocol (HTTP). XML-RPC allows two or more computers running different operating systems and programs and also that are written in different languages to share and process. For example, a Java application could written in a Perl program, which in turn can be written in Python application and so on. XML-RPC works by sending a HTTP request to a server.

Example of an xml request

<?xml version="1.0"?>
<methodResponse>
  <params>
    <param>
        <value><string>South Delhi India </string></value>
    </param>
  </params>
</methodResponse>

Example of an xml response

<?xml version="1.0"?>
<methodCall>
  <methodName>examples.getCountryName</methodName>
  <params>
    <param>
        <value><int>30</int></value>
    </param>
  </params>
</methodCall>

 

XML-RPC Tag Format

Tag Description Example
<int> Whole Numbers and Integer 2,-1
<boolean> False(0) or True(1) 1
<string> String of characters hello world
<double> Double precision floating point -12.23

Advantage Of XML-RPC

XML-RPC has various advantages.Some of the advantages are given below:-

  1. Can call remote procedures on a machine with different operating system.
  2. XML-RPC can be used with Java, PHP, C, C++, and many other programming languages.
  3. XML-RPC not only call remote procedures but allows two or more computers running different operating systems and programs written in different languages to share processing.
  4. Web services allow the reuse of services and components within an infrastructure.
Previous Home Next