Commit Graph

10 Commits

Author SHA1 Message Date
nahi 3f4d04564b * lib/soap/mapping/factory.rb: mark marshalled basetype objects when
@allow_original_mapping is true.  multi-referencing basetype node is
  prohibited in SOAP/1.1 encoding but soap4r's original ruby object mapping
  requires basetype to be marked to detect self referencing loop.
  e.g. o = 1; o.instance_eval { @iv = o }  soap4r's original mapping is only
  used through soap/marshal API.

* test/soap/marshal/test_marshal.rb: add tests for self referencing immutable
  objects.

* test/soap/calc/test_calc_cgi.rb: fix test name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-31 16:50:27 +00:00
nahi 7eb52a8cd5 * lib/soap/generator.rb: better XML pretty printing.
* lib/soap/encodingstyle/soapHandler.rb: remove unnecessary namespace
  assignment in the element which has "encodingStyle" attribute, and add
  necessary namespace assignment for "arrayType" attribute.

* test/soap/calc/test_calc_cgi.rb: take over $DEBUG to ruby process through CGI.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-30 14:25:21 +00:00
nahi 00ac002f79 * test/soap/calc/*, test/soap/helloworld/*: set logging threshold to ERROR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-22 15:43:10 +00:00
nahi 208ff30c07 * test/soap/calc/*, test/soap/helloworld/*: catch the exception from test
server thread and recover.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-20 15:37:11 +00:00
nahi cf73166d47 * test/soap/calc/*, test/soap/helloworkd/*: changed port# of test server.
(17171)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-18 15:21:18 +00:00
nahi 16658578a5 * lib/xsd/datatypes.rb: Rational -> Decimal string bug fix.
* test/soap/marshal/test_marshal.rb: ditto.

* test/soap/calc/test_calc_cgi.rb: add Config::CONFIG["EXEECT"] to RUBYBIN.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-05 05:42:04 +00:00
nahi 637af54751 * test/logger/test_logger.rb: unlinking file before close causes problem under
win32 box.

* lib/xsd/datatypes.rb(XSDFloat, XSDDouble): add +/- sign explicitly when
  stringified and embedded into XML instance.  Ruby's sprintf may format -0.0
  as "0.0" (no minus sign) depending on underlying C sprintf implementation.

* test/xsd/test_xsd.rb, test/soap/test_basetype.rb: follow above change.

* test/soap/calc/*: give httpd config param "CGIInterpreter".
  "/usr/bin/env ruby" thing does not work under non-Unix boxes.

* ChangeLog: corrected wrong DoW of my log entries...


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-10-01 15:29:43 +00:00
nahi 6671baa96b * lib/soap/rpc/cgistub.rb: make logging severity threshold higher.
* lib/soap/rpc/standaloneServer.rb: defer WEBrick server start to give a change
  to reset logging severity threshold.

* test/soap/calc/test_*, test/soap/helloworld/test_helloworld.rb: run silent.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-27 07:03:29 +00:00
nahi 2e0b087b02 * test/soap/*, test/wsdl/*, test/xsd/*: move TestCase classes into each module
namespace.  TestMarshal in test/soap/marshal/test_marshal.rb crashed with
  test/ruby/test_marshal.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-26 18:34:41 +00:00
nahi db9445103c * lib/soap/* (29 files): SOAP4R added.
* lib/wsdl/* (42 files): WSDL4R added.

* lib/xsd/* (12 files): XSD4R added.

* test/soap/* (16 files): added.

* test/wsdl/* (2 files): added.

* test/xsd/* (3 files): added.

* sample/soap/* (27 files): added.

* sample/wsdl/* (13 files): added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-24 15:18:44 +00:00