Searched refs:XMLRPC (Results 1 - 25 of 37) sorted by relevance

12

/macosx-10.10/ruby-106/ruby/lib/
H A Dxmlrpc.rb9 # XMLRPC is a lightweight protocol that enables remote procedure calls over
12 # XMLRPC allows you to create simple distributed computing solutions that span
27 # server = XMLRPC::Client.new2("http://xmlrpc-c.sourceforge.net/api/sample.php")
36 # == Features of XMLRPC for Ruby
64 # * SandStorm component architecture XMLRPC::Client interface
73 # server = XMLRPC::Client.new( "xmlrpc-c.sourceforge.net", "/api/sample.php")
83 # === XMLRPC::Client with XML-RPC fault-structure handling
87 # ==== by catching a XMLRPC::FaultException exception
92 # server = XMLRPC::Client.new( "xmlrpc-c.sourceforge.net", "/api/sample.php")
103 # rescue XMLRPC
301 module XMLRPC; end module
[all...]
/macosx-10.10/CPANInternal-159.1/SOAP-Lite-1.11/examples/XMLRPC/
H A Dsimple1.pl6 use XMLRPC::Lite;
8 print XMLRPC::Lite
H A Dxmlrpc.cgi3 # -- XMLRPC::Lite -- services.soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
5 use XMLRPC::Transport::HTTP;
7 XMLRPC::Transport::HTTP::CGI
17 toolkitName => 'XMLRPC::Lite',
18 toolkitVersion => XMLRPC::Lite->VERSION,
H A Dxmlrpc.daemon3 # -- XMLRPC::Lite -- services.soaplite.com -- Copyright (C) 2001 Paul Kulchenko --
5 use XMLRPC::Transport::HTTP;
7 my $daemon = XMLRPC::Transport::HTTP::Daemon
11 print "Contact to XMLRPC server at ", $daemon->url, "\n";
19 toolkitName => 'XMLRPC::Lite',
20 toolkitVersion => XMLRPC::Lite->VERSION,
/macosx-10.10/ruby-106/ruby/test/xmlrpc/
H A Dtest_features.rb13 XMLRPC::XMLWriter.each_installed_writer do |writer|
14 c = XMLRPC::Create.new(writer)
16 XMLRPC::Config.module_eval {remove_const(:ENABLE_NIL_CREATE)}
17 XMLRPC::Config.const_set(:ENABLE_NIL_CREATE, false)
20 XMLRPC::Config.module_eval {remove_const(:ENABLE_NIL_CREATE)}
21 XMLRPC::Config.const_set(:ENABLE_NIL_CREATE, true)
27 XMLRPC::Config.module_eval {remove_const(:ENABLE_NIL_CREATE)}
28 XMLRPC::Config.const_set(:ENABLE_NIL_CREATE, true)
30 XMLRPC::XMLWriter.each_installed_writer do |writer|
31 c = XMLRPC
[all...]
H A Dtest_marshal.rb7 include XMLRPC::Marshallable
17 XMLRPC::Marshal.dump_response('arg')
23 XMLRPC::Marshal.dump_call('methodName', 'arg')
29 res = XMLRPC::Marshal.dump_response(value)
31 assert_equal(value, XMLRPC::Marshal.load_response(res))
39 res = XMLRPC::Marshal.dump_call(methodName, value, value)
41 assert_equal(exp, XMLRPC::Marshal.load_call(res))
58 XMLRPC::Base64.new("\001"*1000), # base64
67 XMLRPC::XMLParser.each_installed_parser do |parser|
68 m = XMLRPC
[all...]
H A Dtest_datetime.rb9 assert_instance_of(XMLRPC::DateTime, dt)
13 assert_raise(ArgumentError) { XMLRPC::DateTime.new(4.5, 13, 32, 25, 60, 60) }
14 assert_raise(ArgumentError) { XMLRPC::DateTime.new(2001, 12, 32, 25, 60, 60) }
15 assert_raise(ArgumentError) { XMLRPC::DateTime.new(2001, 12, 31, 25, 60, 60) }
16 assert_raise(ArgumentError) { XMLRPC::DateTime.new(2001, 12, 31, 24, 60, 60) }
17 assert_raise(ArgumentError) { XMLRPC::DateTime.new(2001, 12, 31, 24, 59, 60) }
18 assert_nothing_raised(ArgumentError) { XMLRPC::DateTime.new(2001, 12, 31, 24, 59, 59) }
20 assert_raise(ArgumentError) { XMLRPC::DateTime.new(2001, 0, 0, -1, -1, -1) }
21 assert_raise(ArgumentError) { XMLRPC::DateTime.new(2001, 1, 0, -1, -1, -1) }
22 assert_raise(ArgumentError) { XMLRPC
[all...]
H A Dtest_webrick_server.rb20 s = XMLRPC::WEBrickServlet.new
33 raise XMLRPC::FaultException.new(1, "division by zero")
40 raise XMLRPC::FaultException.new(-99, "Method #{name} missing" +
72 @s = XMLRPC::Client.new3(:port => PORT, :use_ssl => use_ssl)
78 @s = XMLRPC::Client.new3(:port => PORT, :use_ssl => use_ssl)
104 assert_raise(XMLRPC::FaultException) { @s.call('test.div', 1, 0) }
109 assert_instance_of XMLRPC::FaultException, param
H A Dtest_cookie.rb12 s = XMLRPC::WEBrickServlet.new
54 raise XMLRPC::FaultException.new(29, "Authentication required")
59 raise XMLRPC::FaultException.new(-99, "Method #{name} missing" +
73 @s = XMLRPC::Client.new3(:port => port)
88 exception = assert_raise(XMLRPC::FaultException) do
H A Dtest_parser.rb24 @datetime_expected = XMLRPC::DateTime.new(2004, 11, 5, 1, 15, 23)
62 unless fault.is_a? XMLRPC::FaultException
63 assert(false, "must be an instance of class XMLRPC::FaultException")
70 fault = XMLRPC::FaultException.new(1234, 'an error message')
72 assert_equal('#<XMLRPC::FaultException: an error message>', fault.inspect)
77 XMLRPC::XMLParser.each_installed_parser do |parser|
H A Dtest_client.rb5 module XMLRPC module
36 class Client < XMLRPC::Client
180 XMLRPC::Client.new2 'ftp://example.org'
186 XMLRPC::Client.new2 ':::::'
/macosx-10.10/ruby-106/ruby/lib/xmlrpc/
H A Dconfig.rb6 module XMLRPC # :nodoc: module
30 # enable marshalling ruby objects which include XMLRPC::Marshallable
H A Dmarshal.rb12 module XMLRPC # :nodoc: module
14 # Marshalling of XMLRPC::Create#methodCall and XMLRPC::Create#methodResponse
51 create.methodResponse( ! param.kind_of?( XMLRPC::FaultException ) , param )
H A Dbase64.rb7 module XMLRPC # :nodoc: module
12 # You can use XMLRPC::Base64 on the client and server-side as a
16 # Creates a new XMLRPC::Base64 instance with string +str+ as the
56 end # module XMLRPC
H A Dcreate.rb10 module XMLRPC # :nodoc: module
91 XMLRPC::XMLWriter::Classes.each do |klass|
153 if params.size != 1 or params[0] === XMLRPC::FaultException
243 when XMLRPC::DateTime
247 when XMLRPC::Base64
251 if Config::ENABLE_MARSHALLING and param.class.included_modules.include? XMLRPC::Marshallable
285 end # module XMLRPC
/macosx-10.10/CPANInternal-159.1/SOAP-Lite-1.11/t/
H A D06-modules.t22 UDDI::Lite XMLRPC::Lite
23 XMLRPC::Transport::HTTP
24 XMLRPC::Transport::TCP
25 XMLRPC::Transport::POP3
/macosx-10.10/tcl-105/tcl_ext/tclsoap/tclsoap/tests/
H A Dall.tcl29 source $srcdir/XMLRPC.tcl
/macosx-10.10/tcl-105/tcl_ext/tclsoap/tclsoap/cgi-bin/soap/
H A Dvalidator.tcl16 package require XMLRPC
30 XMLRPC::export validator1.whichToolkit validator1.countTheEntities \
261 # Link the XMLRPC names to global names suitable for use with SOAP.
263 # XMLRPC expects to see the method names as defined in this file, but SOAP
H A Dtclsoap-Test.tcl15 package require XMLRPC
99 XMLRPC::export $newname
/macosx-10.10/tcl-105/tcl_ext/tclsoap/tclsoap/
H A DpkgIndex.tcl21 package ifneeded XMLRPC 1.0.1 [list source [file join $dir XMLRPC.tcl]]
H A DXMLRPC.tcl0 # XMLRPC.tcl - Copyright (C) 2001 Pat Thoyts <patthoyts@users.sourceforge.net>
19 namespace eval ::XMLRPC {
21 variable rcs_version { $Id: XMLRPC.tcl,v 1.9 2008/07/09 16:14:23 andreas_kupries Exp $ }
33 proc ::XMLRPC::create {args} {
42 proc ::XMLRPC::configure { args } {
46 proc ::XMLRPC::cget { args } {
50 proc ::XMLRPC::dump { args } {
54 proc ::XMLRPC::proxyconfig { args } {
58 proc ::XMLRPC::export {args} {
77 proc ::XMLRPC
[all...]
/macosx-10.10/tcl-105/tcl_ext/tclsoap/tclsoap/doc/
H A Dscriptview.cgi32 xpath.tcl XMLRPC.tcl XMLRPC-domain.tcl XMLRPC-typed.tcl \
33 samples/SOAP-tests.tcl samples/XMLRPC-tests.tcl }
/macosx-10.10/tcl-105/tcl_ext/tclsoap/tclsoap/samples/
H A DXMLRPC-tests.tcl0 # XMLRPC-tests.tcl - Copyright (C) 2001 Pat Thoyts <Pat.Thoyts@bigfoot.com>
17 # @(#)$Id: XMLRPC-tests.tcl,v 1.4 2001/12/08 01:19:02 patthoyts Exp $
19 package require XMLRPC
29 XMLRPC::create getStateName \
35 XMLRPC::create getStateList \
46 XMLRPC::create listMethods \
53 XMLRPC::create getCategories \
60 XMLRPC::create getChannels \
68 XMLRPC::create getChannelsByCategory \
86 XMLRPC
[all...]
H A Dxmlrpc-methods-client.tcl1 # Create the commands for my XMLRPC-domain package
3 package require XMLRPC
7 lappend methods [ XMLRPC::create tclsoapTest1.rcsid \
11 lappend methods [ XMLRPC::create tclsoapTest1.base64 \
15 lappend methods [ XMLRPC::create tclsoapTest1.time \
19 lappend methods [ XMLRPC::create tclsoapTest1.square \
23 lappend methods [ XMLRPC::create tclsoapTest1.sort \
27 lappend methods [ XMLRPC::create tclsoapTest1.platform \
H A DAsync.tcl3 # Example of a method using asynchronous HTTP tranfers for SOAP/XMLRPC
19 package require XMLRPC
74 XMLRPC::create getCategories \
80 XMLRPC::create getItems \
91 #XMLRPC::proxyconfig

Completed in 200 milliseconds

12