🏠
ENG
Great Britain >

XML-RPC Package - Utilities - Ping

Introduction

This service returns the IP address of the calling client computer as a string. The service is designed as a simple method for training users on developing web-services.

Note : At the moment it returns an address of "255.255.255.255" regardless of the client as the code to pick up the calling computer's IP address is yet to be written.

Method Detail

Global settings for all services can be found here.

The method name is utils.ping.

This service takes no parameters and returns one parameter, the IP address of the calling client computer as a string (currently set to "255.255.255.255").

Note : A feature of the Apache XML-RPC interface used in this implementation means that the <string></string> value type identifier is missing.

Method Request

<?xml version="1.0"?>
<methodCall>
  <methodName>utils.ping</methodName>
  <params>
  </params>
</methodCall>

Method Response

<?xml version="1.0" encoding="ISO-8859-1"?>
<methodResponse>
  <params>
    <param>
      <value>255.255.255.255</value>
    </param>
  </params>
</methodResponse>