soap4r-sgonyea 1.5.9 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (365) hide show
  1. data/bin/wsdl2ruby.rb +0 -2
  2. data/bin/xsd2ruby.rb +1 -2
  3. data/lib/soap/attachment.rb +0 -1
  4. data/lib/soap/attrproxy.rb +0 -1
  5. data/lib/soap/baseData.rb +1 -2
  6. data/lib/soap/element.rb +1 -2
  7. data/lib/soap/encodingstyle/aspDotNetHandler.rb +0 -1
  8. data/lib/soap/encodingstyle/handler.rb +0 -1
  9. data/lib/soap/encodingstyle/literalHandler.rb +0 -1
  10. data/lib/soap/encodingstyle/soapHandler.rb +0 -1
  11. data/lib/soap/filter.rb +0 -1
  12. data/lib/soap/filter/filterchain.rb +0 -1
  13. data/lib/soap/filter/handler.rb +0 -1
  14. data/lib/soap/filter/streamhandler.rb +0 -1
  15. data/lib/soap/generator.rb +2 -2
  16. data/lib/soap/header/handler.rb +0 -1
  17. data/lib/soap/header/handlerset.rb +0 -1
  18. data/lib/soap/header/mappinghandler.rb +0 -1
  19. data/lib/soap/header/simplehandler.rb +0 -1
  20. data/lib/soap/httpconfigloader.rb +0 -1
  21. data/lib/soap/mapping.rb +0 -1
  22. data/lib/soap/mapping/encodedregistry.rb +0 -2
  23. data/lib/soap/mapping/factory.rb +1 -2
  24. data/lib/soap/mapping/literalregistry.rb +0 -1
  25. data/lib/soap/mapping/mapping.rb +2 -3
  26. data/lib/soap/mapping/registry.rb +0 -1
  27. data/lib/soap/mapping/rubytypeFactory.rb +1 -2
  28. data/lib/soap/mapping/schemadefinition.rb +0 -1
  29. data/lib/soap/mapping/typeMap.rb +0 -1
  30. data/lib/soap/mapping/wsdlencodedregistry.rb +0 -1
  31. data/lib/soap/mapping/wsdlliteralregistry.rb +0 -1
  32. data/lib/soap/marshal.rb +0 -1
  33. data/lib/soap/mimemessage.rb +0 -2
  34. data/lib/soap/nestedexception.rb +1 -2
  35. data/lib/soap/netHttpClient.rb +0 -1
  36. data/lib/soap/ns.rb +0 -5
  37. data/lib/soap/parser.rb +0 -1
  38. data/lib/soap/processor.rb +0 -1
  39. data/lib/soap/property.rb +3 -24
  40. data/lib/soap/proxy.rb +0 -1
  41. data/lib/soap/rpc/cgistub.rb +0 -1
  42. data/lib/soap/rpc/driver.rb +0 -1
  43. data/lib/soap/rpc/element.rb +1 -2
  44. data/lib/soap/rpc/httpserver.rb +0 -1
  45. data/lib/soap/rpc/methodDef.rb +0 -1
  46. data/lib/soap/rpc/proxy.rb +0 -1
  47. data/lib/soap/rpc/router.rb +0 -1
  48. data/lib/soap/rpc/rpc.rb +0 -1
  49. data/lib/soap/rpc/soaplet.rb +0 -1
  50. data/lib/soap/rpc/standaloneServer.rb +0 -1
  51. data/lib/soap/soap.rb +1 -4
  52. data/lib/soap/streamHandler.rb +1 -2
  53. data/lib/soap/wsdlDriver.rb +0 -1
  54. data/lib/wsdl/binding.rb +0 -1
  55. data/lib/wsdl/data.rb +0 -1
  56. data/lib/wsdl/definitions.rb +0 -1
  57. data/lib/wsdl/documentation.rb +0 -1
  58. data/lib/wsdl/import.rb +0 -1
  59. data/lib/wsdl/importer.rb +0 -1
  60. data/lib/wsdl/info.rb +0 -1
  61. data/lib/wsdl/message.rb +0 -1
  62. data/lib/wsdl/operation.rb +0 -1
  63. data/lib/wsdl/operationBinding.rb +0 -1
  64. data/lib/wsdl/param.rb +0 -1
  65. data/lib/wsdl/parser.rb +0 -1
  66. data/lib/wsdl/part.rb +0 -1
  67. data/lib/wsdl/port.rb +0 -1
  68. data/lib/wsdl/portType.rb +0 -1
  69. data/lib/wsdl/service.rb +0 -1
  70. data/lib/wsdl/soap/address.rb +0 -1
  71. data/lib/wsdl/soap/binding.rb +0 -1
  72. data/lib/wsdl/soap/body.rb +0 -1
  73. data/lib/wsdl/soap/cgiStubCreator.rb +0 -1
  74. data/lib/wsdl/soap/classDefCreator.rb +0 -1
  75. data/lib/wsdl/soap/classDefCreatorSupport.rb +1 -2
  76. data/lib/wsdl/soap/classNameCreator.rb +0 -1
  77. data/lib/wsdl/soap/clientSkeltonCreator.rb +2 -5
  78. data/lib/wsdl/soap/complexType.rb +0 -1
  79. data/lib/wsdl/soap/data.rb +0 -1
  80. data/lib/wsdl/soap/definitions.rb +0 -1
  81. data/lib/wsdl/soap/driverCreator.rb +2 -5
  82. data/lib/wsdl/soap/element.rb +0 -1
  83. data/lib/wsdl/soap/encodedMappingRegistryCreator.rb +0 -1
  84. data/lib/wsdl/soap/fault.rb +0 -1
  85. data/lib/wsdl/soap/header.rb +0 -1
  86. data/lib/wsdl/soap/headerfault.rb +0 -1
  87. data/lib/wsdl/soap/literalMappingRegistryCreator.rb +0 -1
  88. data/lib/wsdl/soap/mappingRegistryCreator.rb +0 -1
  89. data/lib/wsdl/soap/mappingRegistryCreatorSupport.rb +0 -1
  90. data/lib/wsdl/soap/methodDefCreator.rb +0 -1
  91. data/lib/wsdl/soap/operation.rb +0 -1
  92. data/lib/wsdl/soap/servantSkeltonCreator.rb +2 -5
  93. data/lib/wsdl/soap/servletStubCreator.rb +0 -1
  94. data/lib/wsdl/soap/standaloneServerStubCreator.rb +0 -1
  95. data/lib/wsdl/soap/wsdl2ruby.rb +0 -9
  96. data/lib/wsdl/types.rb +0 -1
  97. data/lib/wsdl/wsdl.rb +0 -1
  98. data/lib/wsdl/xmlSchema/all.rb +0 -1
  99. data/lib/wsdl/xmlSchema/annotation.rb +0 -1
  100. data/lib/wsdl/xmlSchema/any.rb +0 -1
  101. data/lib/wsdl/xmlSchema/anyAttribute.rb +0 -1
  102. data/lib/wsdl/xmlSchema/attribute.rb +0 -1
  103. data/lib/wsdl/xmlSchema/attributeGroup.rb +0 -1
  104. data/lib/wsdl/xmlSchema/choice.rb +0 -1
  105. data/lib/wsdl/xmlSchema/complexContent.rb +0 -1
  106. data/lib/wsdl/xmlSchema/complexExtension.rb +0 -1
  107. data/lib/wsdl/xmlSchema/complexRestriction.rb +0 -1
  108. data/lib/wsdl/xmlSchema/complexType.rb +0 -1
  109. data/lib/wsdl/xmlSchema/content.rb +0 -1
  110. data/lib/wsdl/xmlSchema/data.rb +0 -1
  111. data/lib/wsdl/xmlSchema/element.rb +0 -1
  112. data/lib/wsdl/xmlSchema/enumeration.rb +0 -1
  113. data/lib/wsdl/xmlSchema/fractiondigits.rb +0 -1
  114. data/lib/wsdl/xmlSchema/group.rb +0 -1
  115. data/lib/wsdl/xmlSchema/import.rb +0 -1
  116. data/lib/wsdl/xmlSchema/importHandler.rb +0 -1
  117. data/lib/wsdl/xmlSchema/importer.rb +0 -1
  118. data/lib/wsdl/xmlSchema/include.rb +0 -1
  119. data/lib/wsdl/xmlSchema/length.rb +0 -1
  120. data/lib/wsdl/xmlSchema/list.rb +0 -1
  121. data/lib/wsdl/xmlSchema/maxexclusive.rb +0 -1
  122. data/lib/wsdl/xmlSchema/maxinclusive.rb +0 -1
  123. data/lib/wsdl/xmlSchema/maxlength.rb +0 -1
  124. data/lib/wsdl/xmlSchema/minexclusive.rb +0 -1
  125. data/lib/wsdl/xmlSchema/mininclusive.rb +0 -1
  126. data/lib/wsdl/xmlSchema/minlength.rb +0 -1
  127. data/lib/wsdl/xmlSchema/parser.rb +0 -1
  128. data/lib/wsdl/xmlSchema/pattern.rb +0 -1
  129. data/lib/wsdl/xmlSchema/ref.rb +0 -1
  130. data/lib/wsdl/xmlSchema/schema.rb +0 -1
  131. data/lib/wsdl/xmlSchema/sequence.rb +0 -1
  132. data/lib/wsdl/xmlSchema/simpleContent.rb +0 -1
  133. data/lib/wsdl/xmlSchema/simpleExtension.rb +0 -1
  134. data/lib/wsdl/xmlSchema/simpleRestriction.rb +0 -1
  135. data/lib/wsdl/xmlSchema/simpleType.rb +0 -1
  136. data/lib/wsdl/xmlSchema/totaldigits.rb +0 -1
  137. data/lib/wsdl/xmlSchema/union.rb +0 -1
  138. data/lib/wsdl/xmlSchema/unique.rb +0 -1
  139. data/lib/wsdl/xmlSchema/whitespace.rb +0 -1
  140. data/lib/wsdl/xmlSchema/xsd2ruby.rb +0 -2
  141. data/lib/xsd/charset.rb +5 -6
  142. data/lib/xsd/codegen.rb +0 -1
  143. data/lib/xsd/codegen/classdef.rb +0 -1
  144. data/lib/xsd/codegen/commentdef.rb +0 -1
  145. data/lib/xsd/codegen/gensupport.rb +1 -5
  146. data/lib/xsd/codegen/methoddef.rb +0 -1
  147. data/lib/xsd/codegen/moduledef.rb +0 -1
  148. data/lib/xsd/datatypes.rb +16 -16
  149. data/lib/xsd/datatypes1999.rb +0 -1
  150. data/lib/xsd/iconvcharset.rb +0 -1
  151. data/lib/xsd/mapping.rb +0 -1
  152. data/lib/xsd/namedelements.rb +0 -1
  153. data/lib/xsd/ns.rb +1 -2
  154. data/lib/xsd/qname.rb +2 -3
  155. data/lib/xsd/xmlparser.rb +8 -9
  156. data/lib/xsd/xmlparser/libxmlparser.rb +0 -1
  157. data/lib/xsd/xmlparser/parser.rb +0 -1
  158. data/lib/xsd/xmlparser/rexmlparser.rb +0 -1
  159. data/lib/xsd/xmlparser/xmlparser.rb +0 -1
  160. data/lib/xsd/xmlparser/xmlscanner.rb +0 -1
  161. data/test/16runner.rb +0 -1
  162. data/test/interopR2/base.rb +0 -1
  163. data/test/interopR2/client.NetRemoting.rb +0 -1
  164. data/test/interopR2/client.rb +0 -1
  165. data/test/interopR2/client4S4C.rb +0 -1
  166. data/test/interopR2/client4S4C2.rb +0 -1
  167. data/test/interopR2/clientASP.NET.rb +0 -1
  168. data/test/interopR2/clientApacheAxis.rb +0 -1
  169. data/test/interopR2/clientApacheSOAP.rb +0 -1
  170. data/test/interopR2/clientBEAWebLogic.rb +0 -1
  171. data/test/interopR2/clientBase.rb +0 -1
  172. data/test/interopR2/clientCapeConnect.rb +0 -1
  173. data/test/interopR2/clientDelphi.rb +0 -1
  174. data/test/interopR2/clientEasySoap.rb +0 -1
  175. data/test/interopR2/clientFrontier.rb +0 -1
  176. data/test/interopR2/clientGLUE.rb +0 -1
  177. data/test/interopR2/clientHP.rb +0 -1
  178. data/test/interopR2/clientJAX-RPC.rb +0 -1
  179. data/test/interopR2/clientJSOAP.rb +0 -1
  180. data/test/interopR2/clientKafkaXSLT.rb +0 -1
  181. data/test/interopR2/clientMSSOAPToolkit2.0.rb +0 -1
  182. data/test/interopR2/clientMSSOAPToolkit3.0.rb +0 -1
  183. data/test/interopR2/clientNuSOAP.rb +0 -1
  184. data/test/interopR2/clientNuWave.rb +0 -1
  185. data/test/interopR2/clientOpenLink.rb +0 -1
  186. data/test/interopR2/clientOracle.rb +0 -1
  187. data/test/interopR2/clientPEAR.rb +0 -1
  188. data/test/interopR2/clientPhalanx.rb +0 -1
  189. data/test/interopR2/clientSIMACE.rb +0 -1
  190. data/test/interopR2/clientSOAP4R.rb +0 -1
  191. data/test/interopR2/clientSOAP__Lite.rb +0 -1
  192. data/test/interopR2/clientSQLData.rb +0 -1
  193. data/test/interopR2/clientSilverStream.rb +0 -1
  194. data/test/interopR2/clientSpray2001.rb +0 -1
  195. data/test/interopR2/clientSun.rb +0 -1
  196. data/test/interopR2/clientVWOpentalkSoap.rb +0 -1
  197. data/test/interopR2/clientWASP.rb +0 -1
  198. data/test/interopR2/clientWASPC.rb +0 -1
  199. data/test/interopR2/clientWebMethods.rb +0 -1
  200. data/test/interopR2/clientWhiteMesa.rb +0 -1
  201. data/test/interopR2/clientWingfoot.rb +0 -1
  202. data/test/interopR2/clientXMLBus.rb +0 -1
  203. data/test/interopR2/clientXMLRPC-EPI.rb +0 -1
  204. data/test/interopR2/clientXSOAP.rb +0 -1
  205. data/test/interopR2/clientZSI.rb +0 -1
  206. data/test/interopR2/clienteSOAP.rb +0 -1
  207. data/test/interopR2/clientgSOAP.rb +0 -1
  208. data/test/interopR2/clientkSOAP.rb +0 -1
  209. data/test/interopR2/iSimonReg.rb +0 -1
  210. data/test/interopR2/interopResultBase.rb +0 -1
  211. data/test/interopR2/interopService.rb +0 -1
  212. data/test/interopR2/rwikiInteropService.rb +0 -1
  213. data/test/interopR2/server.cgi +0 -1
  214. data/test/interopR2/server.rb +0 -1
  215. data/test/interopR2/simonReg.rb +0 -1
  216. data/test/interopR4/client.rb +0 -1
  217. data/test/runner.rb +0 -1
  218. data/test/sm11/classDef.rb +0 -1
  219. data/test/sm11/client.rb +0 -1
  220. data/test/sm11/driver.rb +0 -1
  221. data/test/sm11/servant.rb +0 -1
  222. data/test/sm11/server.rb +0 -1
  223. data/test/soap/asp.net/test_aspdotnet.rb +3 -4
  224. data/test/soap/auth/test_basic.rb +2 -3
  225. data/test/soap/auth/test_digest.rb +2 -3
  226. data/test/soap/calc/calc.rb +0 -1
  227. data/test/soap/calc/calc2.rb +0 -1
  228. data/test/soap/calc/server.cgi +0 -3
  229. data/test/soap/calc/server.rb +0 -1
  230. data/test/soap/calc/server2.rb +0 -1
  231. data/test/soap/calc/test_calc.rb +2 -4
  232. data/test/soap/calc/test_calc2.rb +2 -4
  233. data/test/soap/calc/test_calc_cgi.rb +1 -2
  234. data/test/soap/case/test_mapping.rb +2 -3
  235. data/test/soap/fault/test_customfault.rb +1 -2
  236. data/test/soap/fault/test_fault.rb +1 -2
  237. data/test/soap/fault/test_soaparray.rb +1 -2
  238. data/test/soap/filter/test_filter.rb +1 -2
  239. data/test/soap/header/server.cgi +0 -2
  240. data/test/soap/header/test_authheader.rb +1 -2
  241. data/test/soap/header/test_authheader_cgi.rb +1 -2
  242. data/test/soap/header/test_simplehandler.rb +1 -2
  243. data/test/soap/helloworld/hw_s.rb +0 -1
  244. data/test/soap/helloworld/test_helloworld.rb +2 -4
  245. data/test/soap/literalArrayMapping/amazonEc.rb +0 -1
  246. data/test/soap/literalArrayMapping/amazonEcDriver.rb +0 -1
  247. data/test/soap/literalArrayMapping/test_definedarray.rb +2 -3
  248. data/test/soap/marshal/marshaltestlib.rb +5 -9
  249. data/test/soap/marshal/test_digraph.rb +1 -2
  250. data/test/soap/marshal/test_marshal.rb +2 -4
  251. data/test/soap/marshal/test_struct.rb +1 -2
  252. data/test/soap/ssl/sslsvr.rb +0 -2
  253. data/test/soap/ssl/test_ssl.rb +1 -2
  254. data/test/soap/struct/test_struct.rb +2 -3
  255. data/test/soap/styleuse/client.rb +0 -1
  256. data/test/soap/styleuse/server.rb +0 -1
  257. data/test/soap/swa/test_file.rb +1 -2
  258. data/test/soap/test_basetype.rb +1 -2
  259. data/test/soap/test_cookie.rb +2 -3
  260. data/test/soap/test_custom_ns.rb +4 -5
  261. data/test/soap/test_custommap.rb +1 -2
  262. data/test/soap/test_empty.rb +6 -7
  263. data/test/soap/test_envelopenamespace.rb +2 -3
  264. data/test/soap/test_extraattr.rb +2 -3
  265. data/test/soap/test_generator.rb +6 -11
  266. data/test/soap/test_httpconfigloader.rb +1 -2
  267. data/test/soap/test_mapping.rb +1 -2
  268. data/test/soap/test_nestedexception.rb +14 -29
  269. data/test/soap/test_nil.rb +2 -16
  270. data/test/soap/test_no_indent.rb +3 -4
  271. data/test/soap/test_property.rb +1 -3
  272. data/test/soap/test_response_as_xml.rb +4 -5
  273. data/test/soap/test_soapelement.rb +1 -2
  274. data/test/soap/test_streamhandler.rb +2 -3
  275. data/test/soap/test_styleuse.rb +2 -3
  276. data/test/soap/wsdlDriver/echo_version.rb +0 -1
  277. data/test/soap/wsdlDriver/test_calc.rb +2 -3
  278. data/test/soap/wsdlDriver/test_document.rb +2 -3
  279. data/test/soap/wsdlDriver/test_simpletype.rb +2 -4
  280. data/test/testutil.rb +4 -5
  281. data/test/wsdl/abstract/test_abstract.rb +2 -3
  282. data/test/wsdl/anonymous/expectedClassDef.rb +0 -1
  283. data/test/wsdl/anonymous/expectedDriver.rb +0 -1
  284. data/test/wsdl/anonymous/expectedMappingRegistry.rb +0 -1
  285. data/test/wsdl/anonymous/test_anonymous.rb +2 -3
  286. data/test/wsdl/any/expectedDriver.rb +0 -1
  287. data/test/wsdl/any/expectedEcho.rb +0 -1
  288. data/test/wsdl/any/expectedMappingRegistry.rb +0 -1
  289. data/test/wsdl/any/expectedService.rb +0 -1
  290. data/test/wsdl/any/test_any.rb +2 -3
  291. data/test/wsdl/axisArray/test_axisarray.rb +2 -3
  292. data/test/wsdl/choice/test_choice.rb +2 -3
  293. data/test/wsdl/complexcontent/test_echo.rb +2 -3
  294. data/test/wsdl/datetime/DatetimeService.rb +0 -1
  295. data/test/wsdl/datetime/datetimeServant.rb +0 -1
  296. data/test/wsdl/datetime/test_datetime.rb +2 -4
  297. data/test/wsdl/document/array/test_array.rb +2 -3
  298. data/test/wsdl/document/test_nosoapaction.rb +2 -3
  299. data/test/wsdl/document/test_number.rb +2 -3
  300. data/test/wsdl/document/test_rpc.rb +2 -3
  301. data/test/wsdl/fault/multifault.wsdl +8 -8
  302. data/test/wsdl/fault/test_fault.rb +3 -4
  303. data/test/wsdl/fault/test_multifault.rb +13 -14
  304. data/test/wsdl/group/expectedClassdef.rb +0 -1
  305. data/test/wsdl/group/expectedDriver.rb +0 -1
  306. data/test/wsdl/group/expectedMappingRegistry.rb +0 -1
  307. data/test/wsdl/group/test_rpc.rb +2 -3
  308. data/test/wsdl/list/test_list.rb +2 -3
  309. data/test/wsdl/map/test_map.rb +1 -2
  310. data/test/wsdl/marshal/person_org.rb +0 -1
  311. data/test/wsdl/marshal/test_wsdlmarshal.rb +4 -4
  312. data/test/wsdl/oneway/test_oneway.rb +2 -3
  313. data/test/wsdl/overload/expectedClient.rb +0 -1
  314. data/test/wsdl/overload/expectedDriver.rb +0 -1
  315. data/test/wsdl/overload/expectedServant.rb +0 -1
  316. data/test/wsdl/overload/test_overload.rb +2 -3
  317. data/test/wsdl/qualified/test_qualified.rb +4 -5
  318. data/test/wsdl/qualified/test_unqualified.rb +4 -5
  319. data/test/wsdl/raa/RAAService.rb +0 -1
  320. data/test/wsdl/raa/expectedClassDef.rb +0 -1
  321. data/test/wsdl/raa/expectedDriver.rb +0 -1
  322. data/test/wsdl/raa/expectedMappingRegistry.rb +0 -1
  323. data/test/wsdl/raa/test_raa.rb +4 -5
  324. data/test/wsdl/ref/expectedDriver.rb +0 -1
  325. data/test/wsdl/ref/expectedProduct.rb +0 -1
  326. data/test/wsdl/ref/test_ref.rb +2 -3
  327. data/test/wsdl/rpc/test_rpc.rb +2 -3
  328. data/test/wsdl/rpc/test_rpc_lit.rb +18 -19
  329. data/test/wsdl/simplecontent/test_simplecontent.rb +2 -3
  330. data/test/wsdl/simpletype/rpc/expectedClient.rb +0 -1
  331. data/test/wsdl/simpletype/rpc/expectedDriver.rb +0 -1
  332. data/test/wsdl/simpletype/rpc/expectedEchoVersion.rb +0 -1
  333. data/test/wsdl/simpletype/rpc/expectedMappingRegistry.rb +0 -1
  334. data/test/wsdl/simpletype/rpc/expectedServant.rb +0 -1
  335. data/test/wsdl/simpletype/rpc/expectedService.rb +0 -1
  336. data/test/wsdl/simpletype/rpc/test_rpc.rb +2 -3
  337. data/test/wsdl/simpletype/test_simpletype.rb +2 -3
  338. data/test/wsdl/soap/test_soapbodyparts.rb +1 -2
  339. data/test/wsdl/soap/wsdl2ruby/expectedClassdef.rb +0 -1
  340. data/test/wsdl/soap/wsdl2ruby/expectedClient.rb +0 -1
  341. data/test/wsdl/soap/wsdl2ruby/expectedDriver.rb +0 -1
  342. data/test/wsdl/soap/wsdl2ruby/expectedMappingRegistry.rb +0 -1
  343. data/test/wsdl/soap/wsdl2ruby/expectedServant.rb +0 -1
  344. data/test/wsdl/soap/wsdl2ruby/expectedService.cgi +0 -1
  345. data/test/wsdl/soap/wsdl2ruby/expectedService.rb +0 -1
  346. data/test/wsdl/soap/wsdl2ruby/section/expectedClassdef.rb +0 -1
  347. data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +2 -3
  348. data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +2 -3
  349. data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +2 -3
  350. data/test/wsdl/soaptype/test_soaptype.rb +5 -6
  351. data/test/wsdl/test_emptycomplextype.rb +1 -2
  352. data/test/wsdl/test_fault.rb +1 -2
  353. data/test/wsdl/test_multiplefault.rb +1 -2
  354. data/test/xsd/codegen/test_classdef.rb +1 -2
  355. data/test/xsd/test_noencoding.rb +1 -2
  356. data/test/xsd/test_ns.rb +1 -2
  357. data/test/xsd/test_xmlschemaparser.rb +1 -2
  358. data/test/xsd/test_xsd.rb +1 -2
  359. data/test/xsd/xsd2ruby/expected_mysample.rb +0 -1
  360. data/test/xsd/xsd2ruby/expected_mysample_mapper.rb +0 -1
  361. data/test/xsd/xsd2ruby/expected_mysample_mapping_registry.rb +0 -1
  362. data/test/xsd/xsd2ruby/test_xsd2ruby.rb +3 -4
  363. metadata +13 -15
  364. data/lib/soap/version.rb +0 -9
  365. data/test/helper.rb +0 -7
data/bin/wsdl2ruby.rb CHANGED
@@ -1,6 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
- # encoding: ASCII-8BIT
3
- $:.unshift File.join(File.dirname(__FILE__),'../lib') if ENV['DEBUG_SOAP4R']
4
2
 
5
3
  require 'getoptlong'
6
4
  require 'logger'
data/bin/xsd2ruby.rb CHANGED
@@ -1,11 +1,10 @@
1
1
  #!/usr/bin/env ruby
2
- # encoding: ASCII-8BIT
3
- $:.unshift File.join(File.dirname(__FILE__),'../lib') if ENV['DEBUG_SOAP4R']
4
2
 
5
3
  require 'getoptlong'
6
4
  require 'logger'
7
5
  require 'wsdl/xmlSchema/xsd2ruby'
8
6
 
7
+
9
8
  class XSD2RubyApp < Logger::Application
10
9
  private
11
10
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # soap/attachment.rb: SOAP4R - SwA implementation.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - attribute proxy interface.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
data/lib/soap/baseData.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # soap/baseData.rb: SOAP4R - Base type library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1080,7 +1079,7 @@ private
1080
1079
  "#{typename}[" << ',' * (rank - 1) << ']'
1081
1080
  end
1082
1081
 
1083
- TypeParseRegexp = Regexp.new('^(.+)\[([\d,]*)\]$', nil, 'n')
1082
+ TypeParseRegexp = Regexp.new('^(.+)\[([\d,]*)\]$', nil, 'NONE')
1084
1083
 
1085
1084
  def self.parse_type(string)
1086
1085
  TypeParseRegexp =~ string
data/lib/soap/element.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP elements library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -104,7 +103,7 @@ class SOAPBody < SOAPStruct
104
103
  if data
105
104
  if data.respond_to?(:to_xmlpart)
106
105
  data = SOAP::SOAPRawData.new(data)
107
- elsif defined?(::REXML) and defined?(::REXML::Element) and data.is_a?(::REXML::Element)
106
+ elsif defined?(::REXML) and data.is_a?(::REXML::Element)
108
107
  data = SOAP::SOAPRawData.new(SOAP::SOAPREXMLElementWrap.new(data))
109
108
  end
110
109
  if data.respond_to?(:elename)
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - ASP.NET EncodingStyle handler library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - EncodingStyle handler library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - XML Literal EncodingStyle handler library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP EncodingStyle handler library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
data/lib/soap/filter.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP filter.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP filter chain.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP envelope filter base class.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP stream filter base class.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP XML Instance Generator library.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -270,7 +269,8 @@ private
270
269
  end
271
270
 
272
271
  def get_encode_char_regexp
273
- ENCODE_CHAR_REGEXP[XSD::Charset.encoding] ||= Regexp.new("[#{EncodeMap.keys.join}]", nil, (RUBY_VERSION.to_f >= 1.9) ? 'n' : XSD::Charset.encoding) # RubyJedi: compatible with Ruby 1.8.6 and above
272
+ ENCODE_CHAR_REGEXP[XSD::Charset.encoding] ||=
273
+ Regexp.new("[#{EncodeMap.keys.join}]", nil, XSD::Charset.encoding)
274
274
  end
275
275
 
276
276
  def find_handler(encodingstyle)
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP Header handler item
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP Header handler set
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP Mapping header item handler
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP Simple header item handler
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - HTTP config loader.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
data/lib/soap/mapping.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Ruby type mapping utility.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - encoded mapping registry.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -464,7 +463,6 @@ private
464
463
  else
465
464
  child = Mapping.get_attribute(obj, eledef.varname)
466
465
  if child.respond_to?(:each) and eledef.as_array?
467
- child = child.lines if child.respond_to?(:lines) # RubyJedi: compatible with Ruby 1.8.6 and above
468
466
  child.each do |item|
469
467
  ele.add(name, typedobj2soap(item, eledef.mapped_class))
470
468
  end
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Mapping factory.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -43,7 +42,7 @@ class Factory
43
42
  else
44
43
  # should we sort instance_variables? how?
45
44
  obj.instance_variables.each do |var|
46
- name = var.to_s.sub(/^@/, '')
45
+ name = var.sub(/^@/, '')
47
46
  elename = Mapping.name2elename(name)
48
47
  node.add(elename,
49
48
  Mapping._obj2soap(obj.instance_variable_get(var), map))
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - literal mapping registry.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Ruby type mapping utility.
3
2
  # Copyright (C) 2000-2007 NAKAMURA Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -127,7 +126,7 @@ module Mapping
127
126
  def self._obj2soap(obj, registry, type = nil)
128
127
  if obj.respond_to?(:to_xmlpart)
129
128
  SOAPRawData.new(obj)
130
- elsif defined?(::REXML) and defined?(::REXML::Element) and obj.is_a?(::REXML::Element)
129
+ elsif defined?(::REXML) and obj.is_a?(::REXML::Element)
131
130
  SOAPRawData.new(SOAPREXMLElementWrap.new(obj))
132
131
  elsif referent = Thread.current[:SOAPMapping][:MarshalKey][obj.__id__] and
133
132
  !Thread.current[:SOAPMapping][:NoReference]
@@ -166,7 +165,7 @@ module Mapping
166
165
  # ex. a.b => a.2eb
167
166
  #
168
167
  def self.name2elename(name)
169
- name.to_s.gsub(/([^a-zA-Z0-9:_\-]+)/n) {
168
+ name.gsub(/([^a-zA-Z0-9:_\-]+)/n) {
170
169
  '.' << $1.unpack('H2' * $1.size).join('.')
171
170
  }.gsub(/::/n, '..')
172
171
  end
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Mapping registry.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Ruby type mapping factory.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -193,7 +192,7 @@ class RubytypeFactory < Factory
193
192
  param.add('member', ele_member)
194
193
  addiv2soapattr(param, obj, map)
195
194
  end
196
- when ::IO, ::Binding, ::Data, ::Dir, ::File::Stat,
195
+ when ::IO, ::Binding, ::Continuation, ::Data, ::Dir, ::File::Stat,
197
196
  ::MatchData, Method, ::Proc, ::Process::Status, ::Thread,
198
197
  ::ThreadGroup, ::UnboundMethod
199
198
  return nil
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Ruby type mapping schema definition utility.
3
2
  # Copyright (C) 2000-2007 NAKAMURA Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Base type mapping definition
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - WSDL encoded mapping registry.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - WSDL literal mapping registry.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
data/lib/soap/marshal.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Marshalling/Unmarshalling Ruby's object using SOAP Encoding.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - MIME Message implementation.
3
2
  # Copyright (C) 2002 Jamie Herre.
4
3
 
@@ -50,7 +49,6 @@ class MIMEMessage
50
49
 
51
50
  def parse(str)
52
51
  header_cache = nil
53
- str = str.lines if str.respond_to?(:lines) # RubyJedi: compatible with Ruby 1.8.6 and above
54
52
  str.each do |line|
55
53
  case line
56
54
  when /^\A[^\: \t]+:\s*.+$/
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Nested exception implementation
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -21,7 +20,7 @@ module NestedException
21
20
  end
22
21
 
23
22
  def set_backtrace(backtrace)
24
- if defined?(@cause) and @cause.respond_to?(:backtrace)
23
+ if @cause and @cause.respond_to?(:backtrace)
25
24
  @original_backtrace = backtrace
26
25
  =begin
27
26
  # for agressive backtrace abstraction: 'here' only should not be good
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - net/http wrapper
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
data/lib/soap/ns.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP Namespace library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -14,10 +13,6 @@ require 'soap/soap'
14
13
 
15
14
  module SOAP
16
15
 
17
- ## Rubyjedi: Provide these (deprecated) constants for backward compatibility with older ActionWebService
18
- SOAPNamespaceTag = 'env'
19
- XSDNamespaceTag = 'xsd'
20
- XSINamespaceTag = 'xsi'
21
16
 
22
17
  class NS < XSD::NS
23
18
  KNOWN_TAG = XSD::NS::KNOWN_TAG.dup.update(
data/lib/soap/parser.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP XML Instance Parser library.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - marshal/unmarshal interface.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
data/lib/soap/property.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # soap/property.rb: SOAP4R - Property implementation.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -66,17 +65,11 @@ class Property
66
65
 
67
66
  KEY_REGSRC = '([^=:\\\\]*(?:\\\\.[^=:\\\\]*)*)'
68
67
  DEF_REGSRC = '\\s*' + KEY_REGSRC + '\\s*[=:]\\s*(.*)'
69
- #COMMENT_REGEXP = Regexp.new('^(?:#.*|)$', nil, 'u')
70
- #CATDEF_REGEXP = Regexp.new("^\\[\\s*#{KEY_REGSRC}\\s*\\]$", nil, 'u')
71
- #LINE_REGEXP = Regexp.new("^#{DEF_REGSRC}$", nil, 'u')
72
-
73
- COMMENT_REGEXP = Regexp.new('^(?:#.*|)$') # RubyJedi: Attempt at 1.9 Compatibility // , nil, 'u')
74
- CATDEF_REGEXP = Regexp.new("^\\[\\s*#{KEY_REGSRC}\\s*\\]$") # RubyJedi: Attempt at 1.9 Compatibility // , nil, 'u')
75
- LINE_REGEXP = Regexp.new("^#{DEF_REGSRC}$") # RubyJedi: Attempt at 1.9 Compatibility // , nil, 'u')
76
-
68
+ COMMENT_REGEXP = Regexp.new('^(?:#.*|)$', nil, 'u')
69
+ CATDEF_REGEXP = Regexp.new("^\\[\\s*#{KEY_REGSRC}\\s*\\]$", nil, 'u')
70
+ LINE_REGEXP = Regexp.new("^#{DEF_REGSRC}$", nil, 'u')
77
71
  def load(stream)
78
72
  key_prefix = ""
79
- stream = stream.lines if stream.respond_to?(:lines) # RubyJedi: compatible with Ruby 1.8.6 and above
80
73
  stream.each_with_index do |line, lineno|
81
74
  line.sub!(/\r?\n\z/u, '')
82
75
  case line
@@ -324,17 +317,3 @@ end
324
317
 
325
318
 
326
319
  end
327
-
328
-
329
- # for ruby/1.6.
330
- #unless Enumerable.instance_methods.include?(:inject)
331
- # module Enumerable
332
- # def inject(init)
333
- # result = init
334
- # each do |item|
335
- # result = yield(result, item)
336
- # end
337
- # result
338
- # end
339
- # end
340
- #end
data/lib/soap/proxy.rb CHANGED
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - Proxy library.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - CGI/mod_ruby stub library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - SOAP RPC driver
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - RPC element definition.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -231,7 +230,7 @@ private
231
230
  mapped_class = SOAPMethod.parse_mapped_class(param.mapped_class)
232
231
  qname = param.qname
233
232
  if qname.nil? and mapped_class
234
- qname = TypeMap.respond_to?(:key) ? TypeMap.key(mapped_class) : TypeMap.index(mapped_class) # RubyJedi: compatible with Ruby 1.8.6 and above
233
+ qname = TypeMap.index(mapped_class)
235
234
  end
236
235
  case param.io_type
237
236
  when IN
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - WEBrick HTTP Server
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - A method definition
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - RPC Proxy library.
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3
 
@@ -1,4 +1,3 @@
1
- # encoding: ASCII-8BIT
2
1
  # SOAP4R - RPC Routing library
3
2
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
3