TEST: custom user input

Enter your own xml here if you have a specific xmlrpc query you would like to perform.

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print

TEST: arrayOfStructsTest

This handler takes a single parameter, an array of structs, each of which contains at least three elements named moe, larry and curly, all s. Your handler must add all the struct elements named curly and return the result.

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print

TEST: countTheEntities

This handler takes a single parameter, a string, that contains any number of predefined entities, namely <, >, &, ' and ". Your handler must return a struct that contains five fields, all numbers: ctLeftAngleBrackets, ctRightAngleBrackets, ctAmpersands, ctApostrophes, ctQuotes. To validate, the numbers must be correct

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print

TEST: easyStructTest

This handler takes a single parameter, a struct, containing at least three elements named moe, larry and curly, all s. Your handler must add the three numbers and return the result.

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print

TEST: echoStructTest

This handler takes a single parameter, a struct. Your handler must return the struct.

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print

TEST: manyTypesTest

This handler takes six parameters, and returns an array containing all the parameters.

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print

TEST: moderateSizeArrayCheck

This handler takes a single parameter, which is an array containing between 100 and 200 elements. Each of the items is a string, your handler must return a string containing the concatenated text of the first and last elements.

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print

TEST: nestedStructTest

This handler takes a single parameter, a struct, that models a daily calendar. At the top level, there is one struct for each year. Each year is broken down into months, and months into days. Most of the days are empty in the struct you receive, but the entry for April 1, 2000 contains a least three elements named moe, larry and curly, all s. Your handler must add the three numbers and return the result.

Ken MacLeod: "This description isn't clear, I expected '2000.April.1' when in fact it's '2000.04.01'. Adding a note saying that month and day are two-digits with leading 0s, and January is 01 would help." Done.

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print

TEST: simpleStructReturnTest

This handler takes one parameter, and returns a struct containing three elements, times10, times100 and times1000, the result of multiplying the number by 10, 100 and 1000.

Enter your xmlrpc query


encoding

output type
xml php

These options apply to xml output type only.
output version
xmlrpc simple
output verbosity
pretty newlines only no white space
output escaping
markup cdata non-ascii non-print