XML-RPC Tester
This page let's you play around with jsolait's xmlrpc module You can use it to call any function of any xmlrpc service. All you need to do is to type in the URL of the service into the first textbox. Enter the names of the methods the service exposes into the next textbox. If you want xmlrpc to use introspection(service needs to support system.listMethods) to retrieve method names then just leave the methods textbox empty. Type in the method call expression into the last textbox in the code. Once you hit 'run' the code will be evaluated. The result of this evaluation will be put out into the txResult text box. If the evaluation caused an exception (Fault or Error) the exception will be put out.
Please keep in mind that when using mozilla due to security restrictions only calls to the same server the page is hosted on can be made. The same may apply to IE (check the security settings of IE).
try preset (echo) | try preset (tryArgs2String) | try preset (tryArgs2Array)var methods = [];
try{
var service = new xmlrpc.ServiceProxy(serviceURL, methods);
txRsult.value = service.;
}catch(e){
printTrace(e);
}
txResult:
services at jsolait.net
There is a service with a few methods running on jsolait.net.The service is located at:
http://jsolait.net/services/test.xmlrpcThe following methods are available:
echo(msg) returns the value of the parameter msg try itargs2String(args*) returns a string containing the values of the parameters passed. try itargs2Array(args*) returns an array containing the values of the parameters passed. try itHit "try it" to set up the tester with these methods.
