Changes between Version 4 and Version 5 of examples/xmlrpc/tester

Show
Ignore:
Timestamp:
03/01/06 14:54:47 (5 years ago)
Author:
Jan-Klaas Kollhof (IP: 81.1.74.92)
Comment:

switched to use new xmlrpc service handler for mod python

Legend:

Unmodified
Added
Removed
Modified
  • examples/xmlrpc/tester

    v4 v5  
    2020    var xmlrpc = imprt("xmlrpc"); 
    2121}catch(e){ 
    22     reportException(e); 
     22    alert(e); 
    2323    throw "importing of xmlrpc module failed."; 
    2424} 
     
    5858 
    5959tryEcho = function(){ 
    60     document.getElementById("txServer").value = "http://jsolait.net/test.py"; 
     60    document.getElementById("txServer").value = "http://jsolait.net/services/test.xmlrpc"; 
    6161    document.getElementById("txMethods").value = ""; 
    6262    document.getElementById("txEval").value = "echo('hello echo')"; 
     
    6767 
    6868tryArgs2String = function(){ 
    69     document.getElementById("txServer").value = "http://jsolait.net/test.py"; 
     69    document.getElementById("txServer").value = "http://jsolait.net/services/test.xmlrpc"; 
    7070    document.getElementById("txMethods").value = ""; 
    7171    document.getElementById("txEval").value = "args2String('hello', {a:1234, b:'five'}, [6, 7, 8, 9])"; 
     
    7676 
    7777tryArgs2Array = function(){ 
    78     document.getElementById("txServer").value = "http://jsolait.net/test.py"; 
     78    document.getElementById("txServer").value = "http://jsolait.net/services/test.xmlrpc"; 
    7979    document.getElementById("txMethods").value = ""; 
    8080    document.getElementById("txEval").value = "args2Array('hello', {a:1234, b:'five'}, [6, 7, 8, 9])"; 
     
    148148        <textarea wrap="off" id="txResult" cols="75" rows="10"></textarea> 
    149149 
    150         <h2>methods on jsolait.net</h2> 
     150        <h2>services at jsolait.net</h2> 
    151151             
    152152            There is a service with a few methods running on jsolait.net.<br /> 
    153             The service is: <code>http://jsolait.net/test.py</code><br /> 
     153            The service is located at: <code>http://jsolait.net/services/test.xmlrpc</code><br /> 
    154154            The following methods are available:<br /> 
    155155            <b><code>echo(msg)</code></b> returns the value of the parameter <code>msg</code> <a href="javascript:tryEcho()"> try it</a><br />