From 46635e49e276ae6e54b204748a6b6e449c471e13 Mon Sep 17 00:00:00 2001 From: nahi Date: Mon, 20 Dec 2004 14:41:10 +0000 Subject: * added files: * lib/soap/mapping/wsdl*.rb * lib/wsdl/soap/element.rb * lib/wsdl/xmlSchema/simpleContent.rb * modified files: * lib/soap/* * lib/wsdl/* * lib/xsd/* * test/soap/* * test/wsdl/* * test/xsd/* * sample/soap/* * sample/sdl/* * summary * imported from the soap4r repository. Version: 1.5.3-ruby1.8.2 * added several XSD basetype support: nonPositiveInteger, negativeInteger, nonNegativeInteger, unsignedLong, unsignedInt, unsignedShort, unsignedByte, positiveInteger * HTTP client connection/send/receive timeout support. * HTTP client/server gzipped content encoding support. * improved WSDL schema definition support; still is far from complete, but is making step by step improovement. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/soap/calc/server.rb | 6 +++++- sample/soap/calc/server2.rb | 6 +++++- sample/soap/helloworld/hw_s.rb | 3 +++ 3 files changed, 13 insertions(+), 2 deletions(-) (limited to 'sample') diff --git a/sample/soap/calc/server.rb b/sample/soap/calc/server.rb index 12a3968b5..97661be9d 100644 --- a/sample/soap/calc/server.rb +++ b/sample/soap/calc/server.rb @@ -13,5 +13,9 @@ class CalcServer < SOAP::RPC::StandaloneServer end if $0 == __FILE__ - status = CalcServer.new('CalcServer', nil, '0.0.0.0', 7000).start + server = CalcServer.new('CalcServer', nil, '0.0.0.0', 7000) + trap(:INT) do + server.shutdown + end + server.start end diff --git a/sample/soap/calc/server2.rb b/sample/soap/calc/server2.rb index 735721de6..bb0f643d7 100644 --- a/sample/soap/calc/server2.rb +++ b/sample/soap/calc/server2.rb @@ -16,5 +16,9 @@ class CalcServer2 < SOAP::RPC::StandaloneServer end if $0 == __FILE__ - status = CalcServer2.new('CalcServer', 'http://tempuri.org/calcService', '0.0.0.0', 7000).start + server = CalcServer2.new('CalcServer', 'http://tempuri.org/calcService', '0.0.0.0', 7000) + trap(:INT) do + server.shutdown + end + status = server.start end diff --git a/sample/soap/helloworld/hw_s.rb b/sample/soap/helloworld/hw_s.rb index b917f72fc..f9f819a19 100644 --- a/sample/soap/helloworld/hw_s.rb +++ b/sample/soap/helloworld/hw_s.rb @@ -13,5 +13,8 @@ end if $0 == __FILE__ server = HelloWorldServer.new('hws', 'urn:hws', '0.0.0.0', 2000) + trap(:INT) do + server.shutdown + end server.start end -- cgit