rubyjedi-soap4r 1.5.8.01 → 1.5.8.20100616125722

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. data/bin/wsdl2ruby.rb +1 -0
  2. data/bin/xsd2ruby.rb +1 -1
  3. data/lib/soap/baseData.rb +1 -1
  4. data/lib/soap/element.rb +0 -2
  5. data/lib/soap/generator.rb +1 -2
  6. data/lib/soap/mapping/encodedregistry.rb +1 -0
  7. data/lib/soap/mapping/factory.rb +2 -2
  8. data/lib/soap/mapping/mapping.rb +3 -4
  9. data/lib/soap/mapping/registry.rb +0 -15
  10. data/lib/soap/mapping/rubytypeFactory.rb +0 -1
  11. data/lib/soap/mapping/wsdlencodedregistry.rb +1 -1
  12. data/lib/soap/mimemessage.rb +1 -0
  13. data/lib/soap/nestedexception.rb +1 -1
  14. data/lib/soap/netHttpClient.rb +4 -4
  15. data/lib/soap/ns.rb +4 -0
  16. data/lib/soap/property.rb +21 -15
  17. data/lib/soap/rpc/element.rb +1 -1
  18. data/lib/soap/rpc/standaloneServer.rb +1 -1
  19. data/lib/soap/soap.rb +4 -2
  20. data/lib/soap/streamHandler.rb +1 -1
  21. data/lib/soap/version.rb +8 -0
  22. data/lib/soap/wsdlDriver.rb +2 -2
  23. data/lib/wsdl/parser.rb +4 -4
  24. data/lib/wsdl/soap/classDefCreatorSupport.rb +1 -1
  25. data/lib/wsdl/soap/clientSkeltonCreator.rb +4 -2
  26. data/lib/wsdl/soap/driverCreator.rb +4 -2
  27. data/lib/wsdl/soap/methodDefCreator.rb +1 -1
  28. data/lib/wsdl/soap/servantSkeltonCreator.rb +4 -2
  29. data/lib/wsdl/soap/wsdl2ruby.rb +1 -1
  30. data/lib/wsdl/xmlSchema/parser.rb +4 -4
  31. data/lib/wsdl/xmlSchema/xsd2ruby.rb +1 -1
  32. data/lib/xsd/charset.rb +4 -3
  33. data/lib/xsd/codegen/gensupport.rb +8 -5
  34. data/lib/xsd/datatypes.rb +6 -6
  35. data/lib/xsd/ns.rb +1 -1
  36. data/lib/xsd/qname.rb +2 -2
  37. data/lib/xsd/xmlparser.rb +11 -17
  38. data/lib/xsd/xmlparser/libxmlparser.rb +6 -10
  39. data/test/helper.rb +6 -0
  40. data/test/soap/asp.net/test_aspdotnet.rb +3 -3
  41. data/test/soap/auth/test_basic.rb +2 -2
  42. data/test/soap/auth/test_digest.rb +2 -2
  43. data/test/soap/calc/server.cgi +2 -0
  44. data/test/soap/calc/test_calc.rb +3 -2
  45. data/test/soap/calc/test_calc2.rb +3 -2
  46. data/test/soap/calc/test_calc_cgi.rb +1 -1
  47. data/test/soap/case/test_mapping.rb +2 -2
  48. data/test/soap/fault/test_customfault.rb +1 -1
  49. data/test/soap/fault/test_fault.rb +1 -1
  50. data/test/soap/fault/test_soaparray.rb +1 -1
  51. data/test/soap/filter/test_filter.rb +1 -1
  52. data/test/soap/header/server.cgi +1 -0
  53. data/test/soap/header/test_authheader.rb +1 -1
  54. data/test/soap/header/test_authheader_cgi.rb +1 -1
  55. data/test/soap/header/test_simplehandler.rb +1 -1
  56. data/test/soap/helloworld/test_helloworld.rb +3 -2
  57. data/test/soap/literalArrayMapping/test_definedarray.rb +2 -2
  58. data/test/soap/marshal/marshaltestlib.rb +5 -2
  59. data/test/soap/marshal/test_digraph.rb +1 -1
  60. data/test/soap/marshal/test_marshal.rb +3 -2
  61. data/test/soap/marshal/test_struct.rb +1 -1
  62. data/test/soap/ssl/sslsvr.rb +1 -0
  63. data/test/soap/ssl/test_ssl.rb +1 -1
  64. data/test/soap/struct/test_struct.rb +2 -2
  65. data/test/soap/swa/test_file.rb +1 -1
  66. data/test/soap/test_basetype.rb +1 -1
  67. data/test/soap/test_cookie.rb +2 -2
  68. data/test/soap/test_custom_ns.rb +4 -4
  69. data/test/soap/test_custommap.rb +1 -1
  70. data/test/soap/test_empty.rb +6 -6
  71. data/test/soap/test_envelopenamespace.rb +2 -2
  72. data/test/soap/test_extraattr.rb +2 -2
  73. data/test/soap/test_generator.rb +5 -3
  74. data/test/soap/test_httpconfigloader.rb +1 -1
  75. data/test/soap/test_mapping.rb +1 -1
  76. data/test/soap/test_nestedexception.rb +28 -14
  77. data/test/soap/test_nil.rb +23 -28
  78. data/test/soap/test_no_indent.rb +3 -3
  79. data/test/soap/test_property.rb +2 -2
  80. data/test/soap/test_response_as_xml.rb +4 -4
  81. data/test/soap/test_soapelement.rb +1 -1
  82. data/test/soap/test_streamhandler.rb +2 -2
  83. data/test/soap/test_styleuse.rb +2 -2
  84. data/test/soap/wsdlDriver/test_calc.rb +2 -2
  85. data/test/soap/wsdlDriver/test_document.rb +2 -2
  86. data/test/soap/wsdlDriver/test_simpletype.rb +3 -2
  87. data/test/testutil.rb +4 -4
  88. data/test/wsdl/abstract/test_abstract.rb +2 -2
  89. data/test/wsdl/anonymous/test_anonymous.rb +2 -2
  90. data/test/wsdl/any/test_any.rb +2 -2
  91. data/test/wsdl/axisArray/test_axisarray.rb +2 -2
  92. data/test/wsdl/choice/test_choice.rb +2 -2
  93. data/test/wsdl/complexcontent/test_echo.rb +2 -2
  94. data/test/wsdl/datetime/test_datetime.rb +3 -2
  95. data/test/wsdl/document/array/test_array.rb +2 -2
  96. data/test/wsdl/document/test_nosoapaction.rb +2 -2
  97. data/test/wsdl/document/test_number.rb +2 -2
  98. data/test/wsdl/document/test_rpc.rb +2 -2
  99. data/test/wsdl/fault/multifault.wsdl +8 -8
  100. data/test/wsdl/fault/test_fault.rb +3 -3
  101. data/test/wsdl/fault/test_multifault.rb +13 -13
  102. data/test/wsdl/group/test_rpc.rb +2 -2
  103. data/test/wsdl/list/test_list.rb +2 -2
  104. data/test/wsdl/map/test_map.rb +1 -1
  105. data/test/wsdl/marshal/test_wsdlmarshal.rb +3 -4
  106. data/test/wsdl/oneway/test_oneway.rb +2 -2
  107. data/test/wsdl/overload/test_overload.rb +2 -2
  108. data/test/wsdl/qualified/test_qualified.rb +4 -4
  109. data/test/wsdl/qualified/test_unqualified.rb +4 -4
  110. data/test/wsdl/raa/test_raa.rb +4 -4
  111. data/test/wsdl/ref/test_ref.rb +2 -2
  112. data/test/wsdl/rpc/test_rpc.rb +2 -2
  113. data/test/wsdl/rpc/test_rpc_lit.rb +18 -18
  114. data/test/wsdl/simplecontent/test_simplecontent.rb +2 -2
  115. data/test/wsdl/simpletype/rpc/test_rpc.rb +2 -2
  116. data/test/wsdl/simpletype/test_simpletype.rb +2 -2
  117. data/test/wsdl/soap/test_soapbodyparts.rb +1 -1
  118. data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +2 -2
  119. data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +2 -2
  120. data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +2 -2
  121. data/test/wsdl/soaptype/test_soaptype.rb +5 -5
  122. data/test/wsdl/test_emptycomplextype.rb +1 -1
  123. data/test/wsdl/test_fault.rb +1 -1
  124. data/test/wsdl/test_multiplefault.rb +1 -1
  125. data/test/xsd/codegen/test_classdef.rb +1 -1
  126. data/test/xsd/test_noencoding.rb +1 -1
  127. data/test/xsd/test_ns.rb +1 -1
  128. data/test/xsd/test_xmlschemaparser.rb +1 -1
  129. data/test/xsd/test_xsd.rb +1 -1
  130. data/test/xsd/xsd2ruby/test_xsd2ruby.rb +3 -3
  131. metadata +24 -33
  132. data/lib/soap/rpc/element.rb.orig +0 -378
  133. data/lib/soap/ruby18ext.rb +0 -13
  134. data/lib/xsd/xmlparser.rb.orig +0 -110
  135. data/test/results +0 -4810
  136. data/test/soap/header/session.pstoredb +0 -0
  137. data/test/wsdl/marshal/Person.rb +0 -1
  138. data/test/wsdl/simpletype/rpc/echo_version.rb +0 -1
  139. data/test/wsdl/simpletype/rpc/echo_versionDriver.rb +0 -10
  140. data/test/wsdl/simpletype/rpc/echo_versionMappingRegistry.rb +0 -4
  141. data/test/wsdl/simpletype/rpc/echo_versionServant.rb +0 -3
  142. data/test/wsdl/simpletype/rpc/echo_version_service.rb +0 -3
  143. data/test/wsdl/simpletype/rpc/echo_version_serviceClient.rb +0 -34
  144. data/test/wsdl/soap/wsdl2ruby/echo_version.rb +0 -1
  145. data/test/wsdl/soap/wsdl2ruby/echo_versionDriver.rb +0 -10
  146. data/test/wsdl/soap/wsdl2ruby/echo_versionMappingRegistry.rb +0 -4
  147. data/test/wsdl/soap/wsdl2ruby/echo_versionServant.rb +0 -3
  148. data/test/wsdl/soap/wsdl2ruby/echo_version_service.cgi +0 -3
  149. data/test/wsdl/soap/wsdl2ruby/echo_version_service.rb +0 -7
  150. data/test/wsdl/soap/wsdl2ruby/echo_version_serviceClient.rb +0 -34
@@ -1,9 +1,9 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'wsdl/parser'
3
4
  require 'wsdl/soap/wsdl2ruby'
4
5
  require 'soap/rpc/standaloneServer'
5
6
  require 'soap/wsdlDriver'
6
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
7
7
 
8
8
 
9
9
  module WSDL; module RPC
@@ -1,8 +1,8 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'wsdl/soap/wsdl2ruby'
3
4
  require 'soap/rpc/standaloneServer'
4
5
  require 'soap/wsdlDriver'
5
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
6
6
 
7
7
 
8
8
  if defined?(HTTPClient) and defined?(OpenSSL)
@@ -191,9 +191,9 @@ class TestRPCLIT < Test::Unit::TestCase
191
191
  drv.generate_explicit_type = false
192
192
  # response contains only 1 part.
193
193
  result = drv.echoStringArray(ArrayOfstring["a", "b", "c"])[0]
194
- assert_equal(ECHO_STRING_ARRAY_REQUEST, parse_requestxml(str),
194
+ assert_xml_equal(ECHO_STRING_ARRAY_REQUEST, parse_requestxml(str),
195
195
  [ECHO_STRING_ARRAY_REQUEST, parse_requestxml(str)].join("\n\n"))
196
- assert_equal(ECHO_STRING_ARRAY_RESPONSE, parse_responsexml(str),
196
+ assert_xml_equal(ECHO_STRING_ARRAY_RESPONSE, parse_responsexml(str),
197
197
  [ECHO_STRING_ARRAY_RESPONSE, parse_responsexml(str)].join("\n\n"))
198
198
  assert_equal(ArrayOfstring["a", "b", "c"], result)
199
199
  end
@@ -237,9 +237,9 @@ class TestRPCLIT < Test::Unit::TestCase
237
237
  # response contains only 1 part.
238
238
  result = drv.echoStringArrayInline(ArrayOfstringInline["a", "b", "c"])[0]
239
239
  assert_equal(ArrayOfstring["a", "b", "c"], result)
240
- assert_equal(ECHO_STRING_ARRAY_INLINE_REQUEST, parse_requestxml(str),
240
+ assert_xml_equal(ECHO_STRING_ARRAY_INLINE_REQUEST, parse_requestxml(str),
241
241
  [ECHO_STRING_ARRAY_INLINE_REQUEST, parse_requestxml(str)].join("\n\n"))
242
- assert_equal(ECHO_STRING_ARRAY_INLINE_RESPONSE, parse_responsexml(str))
242
+ assert_xml_equal(ECHO_STRING_ARRAY_INLINE_RESPONSE, parse_responsexml(str))
243
243
  end
244
244
 
245
245
  ECHO_NESTED_STRUCT_REQUEST =
@@ -298,9 +298,9 @@ class TestRPCLIT < Test::Unit::TestCase
298
298
  assert_equal('str', result.structItem.varString)
299
299
  assert_equal('1', result.structItem.varInt)
300
300
  assert_equal('+1', result.structItem.varFloat)
301
- assert_equal(ECHO_NESTED_STRUCT_REQUEST, parse_requestxml(str),
301
+ assert_xml_equal(ECHO_NESTED_STRUCT_REQUEST, parse_requestxml(str),
302
302
  [ECHO_NESTED_STRUCT_REQUEST, parse_requestxml(str)].join("\n\n"))
303
- assert_equal(ECHO_NESTED_STRUCT_RESPONSE, parse_responsexml(str))
303
+ assert_xml_equal(ECHO_NESTED_STRUCT_RESPONSE, parse_responsexml(str))
304
304
  end
305
305
 
306
306
  ECHO_NESTED_STRUCT_REQUEST_NIL =
@@ -350,9 +350,9 @@ class TestRPCLIT < Test::Unit::TestCase
350
350
  result = @client.echoNestedStruct(SOAPStructStruct.new("str", nil, 1.0, SOAPStruct.new("str", ::SOAP::SOAPNil.new, 1.0)))[0]
351
351
  assert(!result.respond_to?(:varInt))
352
352
  assert(result.respond_to?(:varString))
353
- assert_equal(ECHO_NESTED_STRUCT_REQUEST_NIL, parse_requestxml(str),
353
+ assert_xml_equal(ECHO_NESTED_STRUCT_REQUEST_NIL, parse_requestxml(str),
354
354
  [ECHO_NESTED_STRUCT_REQUEST_NIL, parse_requestxml(str)].join("\n\n"))
355
- assert_equal(ECHO_NESTED_STRUCT_RESPONSE_NIL, parse_responsexml(str))
355
+ assert_xml_equal(ECHO_NESTED_STRUCT_RESPONSE_NIL, parse_responsexml(str))
356
356
  end
357
357
 
358
358
  def test_stub_echoNestedStruct
@@ -367,8 +367,8 @@ class TestRPCLIT < Test::Unit::TestCase
367
367
  assert_equal('str', result.structItem.varString)
368
368
  assert_equal(1, result.structItem.varInt)
369
369
  assert_equal(1.0, result.structItem.varFloat)
370
- assert_equal(ECHO_NESTED_STRUCT_REQUEST, parse_requestxml(str))
371
- assert_equal(ECHO_NESTED_STRUCT_RESPONSE, parse_responsexml(str))
370
+ assert_xml_equal(ECHO_NESTED_STRUCT_REQUEST, parse_requestxml(str))
371
+ assert_xml_equal(ECHO_NESTED_STRUCT_RESPONSE, parse_responsexml(str))
372
372
  end
373
373
 
374
374
  def test_stub_echoNestedStruct_nil
@@ -379,9 +379,9 @@ class TestRPCLIT < Test::Unit::TestCase
379
379
  result = drv.echoNestedStruct(SOAPStructStruct.new("str", nil, 1.0, SOAPStruct.new("str", ::SOAP::SOAPNil.new, 1.0)))[0]
380
380
  assert(result.respond_to?(:varInt))
381
381
  assert(result.respond_to?(:varString))
382
- assert_equal(ECHO_NESTED_STRUCT_REQUEST_NIL, parse_requestxml(str),
382
+ assert_xml_equal(ECHO_NESTED_STRUCT_REQUEST_NIL, parse_requestxml(str),
383
383
  [ECHO_NESTED_STRUCT_REQUEST_NIL, parse_requestxml(str)].join("\n\n"))
384
- assert_equal(ECHO_NESTED_STRUCT_RESPONSE_NIL, parse_responsexml(str))
384
+ assert_xml_equal(ECHO_NESTED_STRUCT_RESPONSE_NIL, parse_responsexml(str))
385
385
  end
386
386
 
387
387
  ECHO_STRUCT_ARRAY_REQUEST =
@@ -439,9 +439,9 @@ class TestRPCLIT < Test::Unit::TestCase
439
439
  # response contains only 1 part.
440
440
  e = SOAPStruct.new("str", 2, 2.1)
441
441
  result = @client.echoStructArray(ArrayOfSOAPStruct[e, e])
442
- assert_equal(ECHO_STRUCT_ARRAY_REQUEST, parse_requestxml(str),
442
+ assert_xml_equal(ECHO_STRUCT_ARRAY_REQUEST, parse_requestxml(str),
443
443
  [ECHO_STRUCT_ARRAY_REQUEST, parse_requestxml(str)].join("\n\n"))
444
- assert_equal(ECHO_STRUCT_ARRAY_RESPONSE, parse_responsexml(str))
444
+ assert_xml_equal(ECHO_STRUCT_ARRAY_RESPONSE, parse_responsexml(str))
445
445
  end
446
446
 
447
447
  def test_stub_echoStructArray
@@ -451,8 +451,8 @@ class TestRPCLIT < Test::Unit::TestCase
451
451
  # response contains only 1 part.
452
452
  e = SOAPStruct.new("str", 2, 2.1)
453
453
  result = drv.echoStructArray(ArrayOfSOAPStruct[e, e])
454
- assert_equal(ECHO_STRUCT_ARRAY_REQUEST, parse_requestxml(str))
455
- assert_equal(ECHO_STRUCT_ARRAY_RESPONSE, parse_responsexml(str))
454
+ assert_xml_equal(ECHO_STRUCT_ARRAY_REQUEST, parse_requestxml(str))
455
+ assert_xml_equal(ECHO_STRUCT_ARRAY_RESPONSE, parse_responsexml(str))
456
456
  end
457
457
 
458
458
  def parse_requestxml(str)
@@ -1,9 +1,9 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'wsdl/parser'
3
4
  require 'wsdl/soap/wsdl2ruby'
4
5
  require 'soap/rpc/standaloneServer'
5
6
  require 'soap/wsdlDriver'
6
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
7
7
 
8
8
 
9
9
  module WSDL; module SimpleContent
@@ -1,7 +1,7 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'wsdl/parser'
3
4
  require 'wsdl/soap/wsdl2ruby'
4
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', '..', 'testutil.rb')
5
5
 
6
6
 
7
7
  module WSDL; module SimpleType
@@ -1,7 +1,7 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'soap/rpc/standaloneServer'
3
4
  require 'soap/wsdlDriver'
4
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
5
5
 
6
6
 
7
7
  module WSDL
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'soap/rpc/standaloneServer'
3
3
  require 'soap/wsdlDriver'
4
4
 
@@ -1,7 +1,7 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'soap/marshal'
3
4
  require 'rbconfig'
4
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', '..', '..', 'testutil.rb')
5
5
 
6
6
 
7
7
  module WSDL; module SOAP
@@ -1,9 +1,9 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'wsdl/parser'
3
4
  require 'wsdl/soap/wsdl2ruby'
4
5
  require 'soap/rpc/standaloneServer'
5
6
  require 'soap/wsdlDriver'
6
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', '..', '..', 'testutil.rb')
7
7
 
8
8
 
9
9
  module WSDL; module SOAP; module T_WSDL2Ruby
@@ -1,7 +1,7 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'wsdl/parser'
3
4
  require 'wsdl/soap/wsdl2ruby'
4
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', '..', 'testutil.rb')
5
5
 
6
6
 
7
7
  module WSDL; module SOAP
@@ -1,9 +1,9 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'wsdl/parser'
3
4
  require 'wsdl/soap/wsdl2ruby'
4
5
  require 'soap/rpc/standaloneServer'
5
6
  require 'soap/wsdlDriver'
6
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
7
7
 
8
8
 
9
9
  module WSDL; module RPC
@@ -128,7 +128,7 @@ SOAPTYPE_NATIVE_XML = %q[<?xml version="1.0" encoding="utf-8" ?>
128
128
  assert_equal(456, res.long)
129
129
  assert_equal(789.0, res.double)
130
130
 
131
- assert_equal(SOAPTYPE_WSDL_XML, parse_requestxml(str))
131
+ assert_xml_equal(SOAPTYPE_WSDL_XML, parse_requestxml(str))
132
132
  end
133
133
 
134
134
  def test_stub
@@ -145,7 +145,7 @@ SOAPTYPE_NATIVE_XML = %q[<?xml version="1.0" encoding="utf-8" ?>
145
145
  assert_equal(456, res.long)
146
146
  assert_equal(789.0, res.double)
147
147
 
148
- assert_equal(SOAPTYPE_WSDL_XML, parse_requestxml(str))
148
+ assert_xml_equal(SOAPTYPE_WSDL_XML, parse_requestxml(str))
149
149
  end
150
150
 
151
151
  def test_native
@@ -166,7 +166,7 @@ SOAPTYPE_NATIVE_XML = %q[<?xml version="1.0" encoding="utf-8" ?>
166
166
  assert_equal(456, res.long)
167
167
  assert_equal(789.0, res.double)
168
168
 
169
- assert_equal(SOAPTYPE_NATIVE_XML, parse_requestxml(str))
169
+ assert_xml_equal(SOAPTYPE_NATIVE_XML, parse_requestxml(str))
170
170
  end
171
171
 
172
172
  def parse_requestxml(str)
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'wsdl/parser'
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'soap/processor'
3
3
  require 'soap/mapping'
4
4
  require 'soap/rpc/element'
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'wsdl/parser'
3
3
  require 'wsdl/soap/classDefCreator'
4
4
  require 'wsdl/soap/classNameCreator'
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'xsd/codegen/classdef'
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'wsdl/xmlSchema/parser'
3
3
 
4
4
 
data/test/xsd/test_ns.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'soap/marshal'
3
3
 
4
4
 
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'wsdl/xmlSchema/parser'
3
3
 
4
4
 
data/test/xsd/test_xsd.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'test/unit'
1
+ require 'helper'
2
2
  require 'xsd/datatypes'
3
3
 
4
4
 
@@ -1,6 +1,6 @@
1
- require 'test/unit'
1
+ require 'helper'
2
+ require 'testutil'
2
3
  require 'wsdl/xmlSchema/xsd2ruby'
3
- require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
4
4
 
5
5
 
6
6
  module XSD; module XSD2Ruby
@@ -21,8 +21,8 @@ class TestXSD2Ruby < Test::Unit::TestCase
21
21
  gen.opt['mapper'] = nil
22
22
  gen.opt['force'] = true
23
23
  gen.run
24
- TestUtil.require(DIR, 'mysample.rb', 'mysample_mapping_registry.rb', 'mysample_mapper.rb')
25
24
  end
25
+ TestUtil.require(DIR, 'mysample.rb', 'mysample_mapping_registry.rb', 'mysample_mapper.rb')
26
26
  end
27
27
 
28
28
  def teardown
metadata CHANGED
@@ -1,39 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyjedi-soap4r
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 40201232251491
4
5
  prerelease: false
5
6
  segments:
6
7
  - 1
7
8
  - 5
8
9
  - 8
9
- - 1
10
- version: 1.5.8.01
10
+ - 20100616125722
11
+ version: 1.5.8.20100616125722
11
12
  platform: ruby
12
13
  authors:
13
- - NAKAMURA, Hiroshi
14
+ - Laurence A. Lee, Hiroshi NAKAMURA
14
15
  autorequire:
15
16
  bindir: bin
16
17
  cert_chain: []
17
18
 
18
- date: 2007-09-24 00:00:00 -10:00
19
+ date: 2010-06-16 00:00:00 -10:00
19
20
  default_executable:
20
21
  dependencies:
21
22
  - !ruby/object:Gem::Dependency
22
23
  name: httpclient
23
24
  prerelease: false
24
25
  requirement: &id001 !ruby/object:Gem::Requirement
26
+ none: false
25
27
  requirements:
26
- - - ">="
28
+ - - ~>
27
29
  - !ruby/object:Gem::Version
30
+ hash: 119
28
31
  segments:
29
32
  - 2
30
33
  - 1
31
- - 1
32
- version: 2.1.1
34
+ - 5
35
+ - 2
36
+ version: 2.1.5.2
33
37
  type: :runtime
34
38
  version_requirements: *id001
35
39
  description:
36
- email: nahi@ruby-lang.org
40
+ email: rubyjedi@gmail.com, nahi@ruby-lang.org
37
41
  executables:
38
42
  - wsdl2ruby.rb
39
43
  - xsd2ruby.rb
@@ -137,7 +141,6 @@ files:
137
141
  - lib/xsd/charset.rb
138
142
  - lib/xsd/namedelements.rb
139
143
  - lib/xsd/datatypes.rb
140
- - lib/xsd/xmlparser.rb.orig
141
144
  - lib/xsd/codegen/classdef.rb
142
145
  - lib/xsd/codegen/methoddef.rb
143
146
  - lib/xsd/codegen/commentdef.rb
@@ -153,6 +156,7 @@ files:
153
156
  - lib/xsd/qname.rb
154
157
  - lib/xsd/xmlparser.rb
155
158
  - lib/soap/attrproxy.rb
159
+ - lib/soap/version.rb
156
160
  - lib/soap/streamHandler.rb
157
161
  - lib/soap/proxy.rb
158
162
  - lib/soap/marshal.rb
@@ -192,10 +196,8 @@ files:
192
196
  - lib/soap/mapping.rb
193
197
  - lib/soap/baseData.rb
194
198
  - lib/soap/attachment.rb
195
- - lib/soap/ruby18ext.rb
196
199
  - lib/soap/rpc/cgistub.rb
197
200
  - lib/soap/rpc/proxy.rb
198
- - lib/soap/rpc/element.rb.orig
199
201
  - lib/soap/rpc/methodDef.rb
200
202
  - lib/soap/rpc/standaloneServer.rb
201
203
  - lib/soap/rpc/driver.rb
@@ -318,26 +320,19 @@ files:
318
320
  - test/wsdl/list/list.wsdl
319
321
  - test/wsdl/soap/soapbodyparts.wsdl
320
322
  - test/wsdl/soap/wsdl2ruby/expectedService.rb
321
- - test/wsdl/soap/wsdl2ruby/echo_version.rb
322
323
  - test/wsdl/soap/wsdl2ruby/expectedClassdef.rb
323
- - test/wsdl/soap/wsdl2ruby/echo_versionServant.rb
324
324
  - test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb
325
- - test/wsdl/soap/wsdl2ruby/echo_versionMappingRegistry.rb
326
325
  - test/wsdl/soap/wsdl2ruby/expectedDriver.rb
327
326
  - test/wsdl/soap/wsdl2ruby/expectedService.cgi
328
- - test/wsdl/soap/wsdl2ruby/echo_version_service.cgi
329
- - test/wsdl/soap/wsdl2ruby/echo_version_service.rb
330
327
  - test/wsdl/soap/wsdl2ruby/expectedClient.rb
331
328
  - test/wsdl/soap/wsdl2ruby/expectedServant.rb
332
329
  - test/wsdl/soap/wsdl2ruby/expectedMappingRegistry.rb
333
- - test/wsdl/soap/wsdl2ruby/echo_version_serviceClient.rb
334
330
  - test/wsdl/soap/wsdl2ruby/section/test_section.rb
335
331
  - test/wsdl/soap/wsdl2ruby/section/expectedClassdef.rb
336
332
  - test/wsdl/soap/wsdl2ruby/section/section.xsd
337
333
  - test/wsdl/soap/wsdl2ruby/rpc.wsdl
338
334
  - test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb
339
335
  - test/wsdl/soap/wsdl2ruby/soapenc/soapenc.wsdl
340
- - test/wsdl/soap/wsdl2ruby/echo_versionDriver.rb
341
336
  - test/wsdl/soap/test_soapbodyparts.rb
342
337
  - test/wsdl/ref/test_ref.rb
343
338
  - test/wsdl/ref/product.wsdl
@@ -346,19 +341,13 @@ files:
346
341
  - test/wsdl/simpletype/test_simpletype.rb
347
342
  - test/wsdl/simpletype/simpletype.wsdl
348
343
  - test/wsdl/simpletype/rpc/expectedService.rb
349
- - test/wsdl/simpletype/rpc/echo_version.rb
350
- - test/wsdl/simpletype/rpc/echo_versionServant.rb
351
- - test/wsdl/simpletype/rpc/echo_versionMappingRegistry.rb
352
344
  - test/wsdl/simpletype/rpc/test_rpc.rb
353
345
  - test/wsdl/simpletype/rpc/expectedDriver.rb
354
- - test/wsdl/simpletype/rpc/echo_version_service.rb
355
346
  - test/wsdl/simpletype/rpc/expectedClient.rb
356
347
  - test/wsdl/simpletype/rpc/expectedServant.rb
357
348
  - test/wsdl/simpletype/rpc/expectedMappingRegistry.rb
358
- - test/wsdl/simpletype/rpc/echo_version_serviceClient.rb
359
349
  - test/wsdl/simpletype/rpc/rpc.wsdl
360
350
  - test/wsdl/simpletype/rpc/expectedEchoVersion.rb
361
- - test/wsdl/simpletype/rpc/echo_versionDriver.rb
362
351
  - test/wsdl/fault/fault.wsdl
363
352
  - test/wsdl/fault/test_multifault.rb
364
353
  - test/wsdl/fault/multifault.wsdl
@@ -386,13 +375,13 @@ files:
386
375
  - test/wsdl/marshal/test_wsdlmarshal.rb
387
376
  - test/wsdl/marshal/person.wsdl
388
377
  - test/wsdl/marshal/person_org.rb
389
- - test/wsdl/marshal/Person.rb
390
378
  - test/wsdl/rpc/test_rpc.rb
391
379
  - test/wsdl/rpc/test-rpc-lit.wsdl
392
380
  - test/wsdl/rpc/test_rpc_lit.rb
393
381
  - test/wsdl/rpc/rpc.wsdl
394
382
  - test/wsdl/soaptype/test_soaptype.rb
395
383
  - test/wsdl/soaptype/soaptype.wsdl
384
+ - test/helper.rb
396
385
  - test/testutil.rb
397
386
  - test/xsd/xmllang.xml
398
387
  - test/xsd/noencoding.xml
@@ -451,7 +440,6 @@ files:
451
440
  - test/soap/header/server.cgi
452
441
  - test/soap/header/test_authheader_cgi.rb
453
442
  - test/soap/header/test_simplehandler.rb
454
- - test/soap/header/session.pstoredb
455
443
  - test/soap/header/test_authheader.rb
456
444
  - test/soap/test_httpconfigloader.rb
457
445
  - test/soap/wsdlDriver/test_calc.rb
@@ -483,10 +471,9 @@ files:
483
471
  - test/soap/htpasswd
484
472
  - test/soap/test_nestedexception.rb
485
473
  - test/soap/test_response_as_xml.rb
486
- - test/results
487
474
  - test/16runner.rb
488
475
  has_rdoc: true
489
- homepage: http://dev.ctor.org/soap4r
476
+ homepage: http://wiki.github.com/rubyjedi/soap4r
490
477
  licenses: []
491
478
 
492
479
  post_install_message:
@@ -495,25 +482,29 @@ rdoc_options: []
495
482
  require_paths:
496
483
  - lib
497
484
  required_ruby_version: !ruby/object:Gem::Requirement
485
+ none: false
498
486
  requirements:
499
487
  - - ">="
500
488
  - !ruby/object:Gem::Version
489
+ hash: 3
501
490
  segments:
502
491
  - 0
503
492
  version: "0"
504
493
  required_rubygems_version: !ruby/object:Gem::Requirement
494
+ none: false
505
495
  requirements:
506
496
  - - ">="
507
497
  - !ruby/object:Gem::Version
498
+ hash: 3
508
499
  segments:
509
500
  - 0
510
501
  version: "0"
511
- requirements: []
512
-
502
+ requirements:
503
+ - none
513
504
  rubyforge_project:
514
- rubygems_version: 1.3.6
505
+ rubygems_version: 1.3.7
515
506
  signing_key:
516
507
  specification_version: 3
517
508
  summary: An updated implementation of SOAP 1.1 for Ruby 1.8 and 1.9.
518
- test_files:
519
- - test/runner.rb
509
+ test_files: []
510
+