Test Math Service



This is a sample XML-RPC service illustrating method calls with simple parameters and return type.

The following methods are supported:

method math.Add

Add two integers and return the result

Parameters

integerA - first number
integerB - second number

Return Value

integerA plus B.

method math.Divide

Divide one integer by another and return the result.

Parameters

integerA
integerB

Return Value

integerA divided by B. Returns Fault Response on divide by zero.

method math.Multiply

Multiply two integers and return the result

Parameters

integerA
integerB

Return Value

integerA multiplied by B.

method math.Subtract

Subtract one integer from another and return the result

Parameters

integerA
integerB

Return Value

integerA minus B.

method math.SumAndDifference

Calculate sum and difference of two integers.

Parameters

integerA
integerB

Return Value

struct SumAndDiffA struct containing two members, sum and difference.

struct SumAndDiff

Members

integersum
integerdifference

 

MathService 0.0.0   CookComputing.XmlRpcServerV2 3.0.0   .NET CLR 4.0.30319