home *** CD-ROM | disk | FTP | other *** search
/ PC World 2002 May / PCWorld_2002-05_cd.bin / Software / TemaCD / activetcltk / ActiveTcl8.3.4.1-8.win32-ix86.exe / ActiveTcl8.3.4.1-win32-ix86 / demos / TclSOAP / xmlrpc-methods-client.tcl < prev    next >
Encoding:
Text File  |  2001-10-22  |  911 b   |  32 lines

  1. # Create the commands for my XMLRPC-domain package
  2.  
  3. package require XMLRPC
  4. set methods {}
  5.  
  6. lappend methods [ XMLRPC::create tclsoapTest1.rcsid \
  7.               -proxy http://localhost:8015/rpc/rcsid \
  8.               -params {} ]
  9.  
  10. lappend methods [ XMLRPC::create tclsoapTest1.base64 \
  11.               -proxy http://localhost:8015/rpc/base64 \
  12.               -params {msg string} ]
  13.  
  14. lappend methods [ XMLRPC::create tclsoapTest1.time \
  15.               -proxy http://localhost:8015/rpc/time \
  16.               -params {} ]
  17.  
  18. lappend methods [ XMLRPC::create tclsoapTest1.square \
  19.               -proxy http://localhost:8015/rpc/square \
  20.               -params {num integer} ]
  21.  
  22. lappend methods [ XMLRPC::create tclsoapTest1.sort \
  23.               -proxy http://localhost:8015/rpc/sort \
  24.               -params { list string } ]
  25.  
  26. lappend methods [ XMLRPC::create tclsoapTest1.platform \
  27.               -proxy http://localhost:8015/rpc/platform \
  28.               -params {} ]
  29.  
  30. puts "$methods"
  31. unset methods
  32.