rubyjedi-soap4r 1.5.8.20100616125722 → 1.5.8.20100619003610

Sign up to get free protection for your applications and to get access to all the features.
Files changed (367) hide show
  1. data/bin/wsdl2ruby.rb +1 -0
  2. data/bin/xsd2ruby.rb +1 -0
  3. data/lib/soap/attachment.rb +1 -0
  4. data/lib/soap/attrproxy.rb +1 -0
  5. data/lib/soap/baseData.rb +1 -0
  6. data/lib/soap/element.rb +2 -1
  7. data/lib/soap/encodingstyle/aspDotNetHandler.rb +1 -0
  8. data/lib/soap/encodingstyle/handler.rb +1 -0
  9. data/lib/soap/encodingstyle/literalHandler.rb +1 -0
  10. data/lib/soap/encodingstyle/soapHandler.rb +1 -0
  11. data/lib/soap/filter.rb +1 -0
  12. data/lib/soap/filter/filterchain.rb +1 -0
  13. data/lib/soap/filter/handler.rb +1 -0
  14. data/lib/soap/filter/streamhandler.rb +1 -0
  15. data/lib/soap/generator.rb +1 -0
  16. data/lib/soap/header/handler.rb +1 -0
  17. data/lib/soap/header/handlerset.rb +1 -0
  18. data/lib/soap/header/mappinghandler.rb +1 -0
  19. data/lib/soap/header/simplehandler.rb +1 -0
  20. data/lib/soap/httpconfigloader.rb +1 -0
  21. data/lib/soap/mapping.rb +1 -0
  22. data/lib/soap/mapping/encodedregistry.rb +1 -0
  23. data/lib/soap/mapping/factory.rb +1 -0
  24. data/lib/soap/mapping/literalregistry.rb +1 -0
  25. data/lib/soap/mapping/mapping.rb +2 -1
  26. data/lib/soap/mapping/registry.rb +1 -0
  27. data/lib/soap/mapping/rubytypeFactory.rb +1 -0
  28. data/lib/soap/mapping/schemadefinition.rb +1 -0
  29. data/lib/soap/mapping/typeMap.rb +1 -0
  30. data/lib/soap/mapping/wsdlencodedregistry.rb +1 -0
  31. data/lib/soap/mapping/wsdlliteralregistry.rb +1 -0
  32. data/lib/soap/marshal.rb +1 -0
  33. data/lib/soap/mimemessage.rb +1 -0
  34. data/lib/soap/nestedexception.rb +1 -0
  35. data/lib/soap/netHttpClient.rb +1 -0
  36. data/lib/soap/ns.rb +1 -0
  37. data/lib/soap/parser.rb +1 -0
  38. data/lib/soap/processor.rb +1 -0
  39. data/lib/soap/property.rb +1 -0
  40. data/lib/soap/proxy.rb +1 -0
  41. data/lib/soap/rpc/cgistub.rb +1 -0
  42. data/lib/soap/rpc/driver.rb +1 -0
  43. data/lib/soap/rpc/element.rb +1 -0
  44. data/lib/soap/rpc/httpserver.rb +1 -0
  45. data/lib/soap/rpc/methodDef.rb +1 -0
  46. data/lib/soap/rpc/proxy.rb +1 -0
  47. data/lib/soap/rpc/router.rb +1 -0
  48. data/lib/soap/rpc/rpc.rb +1 -0
  49. data/lib/soap/rpc/soaplet.rb +1 -0
  50. data/lib/soap/rpc/standaloneServer.rb +1 -0
  51. data/lib/soap/soap.rb +1 -0
  52. data/lib/soap/streamHandler.rb +1 -0
  53. data/lib/soap/version.rb +2 -1
  54. data/lib/soap/wsdlDriver.rb +1 -0
  55. data/lib/wsdl/binding.rb +1 -0
  56. data/lib/wsdl/data.rb +1 -0
  57. data/lib/wsdl/definitions.rb +1 -0
  58. data/lib/wsdl/documentation.rb +1 -0
  59. data/lib/wsdl/import.rb +1 -0
  60. data/lib/wsdl/importer.rb +1 -0
  61. data/lib/wsdl/info.rb +1 -0
  62. data/lib/wsdl/message.rb +1 -0
  63. data/lib/wsdl/operation.rb +1 -0
  64. data/lib/wsdl/operationBinding.rb +1 -0
  65. data/lib/wsdl/param.rb +1 -0
  66. data/lib/wsdl/parser.rb +1 -0
  67. data/lib/wsdl/part.rb +1 -0
  68. data/lib/wsdl/port.rb +1 -0
  69. data/lib/wsdl/portType.rb +1 -0
  70. data/lib/wsdl/service.rb +1 -0
  71. data/lib/wsdl/soap/address.rb +1 -0
  72. data/lib/wsdl/soap/binding.rb +1 -0
  73. data/lib/wsdl/soap/body.rb +1 -0
  74. data/lib/wsdl/soap/cgiStubCreator.rb +1 -0
  75. data/lib/wsdl/soap/classDefCreator.rb +1 -0
  76. data/lib/wsdl/soap/classDefCreatorSupport.rb +1 -0
  77. data/lib/wsdl/soap/classNameCreator.rb +1 -0
  78. data/lib/wsdl/soap/clientSkeltonCreator.rb +1 -0
  79. data/lib/wsdl/soap/complexType.rb +1 -0
  80. data/lib/wsdl/soap/data.rb +1 -0
  81. data/lib/wsdl/soap/definitions.rb +1 -0
  82. data/lib/wsdl/soap/driverCreator.rb +1 -0
  83. data/lib/wsdl/soap/element.rb +1 -0
  84. data/lib/wsdl/soap/encodedMappingRegistryCreator.rb +1 -0
  85. data/lib/wsdl/soap/fault.rb +1 -0
  86. data/lib/wsdl/soap/header.rb +1 -0
  87. data/lib/wsdl/soap/headerfault.rb +1 -0
  88. data/lib/wsdl/soap/literalMappingRegistryCreator.rb +1 -0
  89. data/lib/wsdl/soap/mappingRegistryCreator.rb +1 -0
  90. data/lib/wsdl/soap/mappingRegistryCreatorSupport.rb +1 -0
  91. data/lib/wsdl/soap/methodDefCreator.rb +1 -0
  92. data/lib/wsdl/soap/operation.rb +1 -0
  93. data/lib/wsdl/soap/servantSkeltonCreator.rb +1 -0
  94. data/lib/wsdl/soap/servletStubCreator.rb +1 -0
  95. data/lib/wsdl/soap/standaloneServerStubCreator.rb +1 -0
  96. data/lib/wsdl/soap/wsdl2ruby.rb +9 -0
  97. data/lib/wsdl/types.rb +1 -0
  98. data/lib/wsdl/wsdl.rb +1 -0
  99. data/lib/wsdl/xmlSchema/all.rb +1 -0
  100. data/lib/wsdl/xmlSchema/annotation.rb +1 -0
  101. data/lib/wsdl/xmlSchema/any.rb +1 -0
  102. data/lib/wsdl/xmlSchema/anyAttribute.rb +1 -0
  103. data/lib/wsdl/xmlSchema/attribute.rb +1 -0
  104. data/lib/wsdl/xmlSchema/attributeGroup.rb +1 -0
  105. data/lib/wsdl/xmlSchema/choice.rb +1 -0
  106. data/lib/wsdl/xmlSchema/complexContent.rb +1 -0
  107. data/lib/wsdl/xmlSchema/complexExtension.rb +1 -0
  108. data/lib/wsdl/xmlSchema/complexRestriction.rb +1 -0
  109. data/lib/wsdl/xmlSchema/complexType.rb +1 -0
  110. data/lib/wsdl/xmlSchema/content.rb +1 -0
  111. data/lib/wsdl/xmlSchema/data.rb +1 -0
  112. data/lib/wsdl/xmlSchema/element.rb +1 -0
  113. data/lib/wsdl/xmlSchema/enumeration.rb +1 -0
  114. data/lib/wsdl/xmlSchema/fractiondigits.rb +1 -0
  115. data/lib/wsdl/xmlSchema/group.rb +1 -0
  116. data/lib/wsdl/xmlSchema/import.rb +1 -0
  117. data/lib/wsdl/xmlSchema/importHandler.rb +1 -0
  118. data/lib/wsdl/xmlSchema/importer.rb +1 -0
  119. data/lib/wsdl/xmlSchema/include.rb +1 -0
  120. data/lib/wsdl/xmlSchema/length.rb +1 -0
  121. data/lib/wsdl/xmlSchema/list.rb +1 -0
  122. data/lib/wsdl/xmlSchema/maxexclusive.rb +1 -0
  123. data/lib/wsdl/xmlSchema/maxinclusive.rb +1 -0
  124. data/lib/wsdl/xmlSchema/maxlength.rb +1 -0
  125. data/lib/wsdl/xmlSchema/minexclusive.rb +1 -0
  126. data/lib/wsdl/xmlSchema/mininclusive.rb +1 -0
  127. data/lib/wsdl/xmlSchema/minlength.rb +1 -0
  128. data/lib/wsdl/xmlSchema/parser.rb +1 -0
  129. data/lib/wsdl/xmlSchema/pattern.rb +1 -0
  130. data/lib/wsdl/xmlSchema/ref.rb +1 -0
  131. data/lib/wsdl/xmlSchema/schema.rb +1 -0
  132. data/lib/wsdl/xmlSchema/sequence.rb +1 -0
  133. data/lib/wsdl/xmlSchema/simpleContent.rb +1 -0
  134. data/lib/wsdl/xmlSchema/simpleExtension.rb +1 -0
  135. data/lib/wsdl/xmlSchema/simpleRestriction.rb +1 -0
  136. data/lib/wsdl/xmlSchema/simpleType.rb +1 -0
  137. data/lib/wsdl/xmlSchema/totaldigits.rb +1 -0
  138. data/lib/wsdl/xmlSchema/union.rb +1 -0
  139. data/lib/wsdl/xmlSchema/unique.rb +1 -0
  140. data/lib/wsdl/xmlSchema/whitespace.rb +1 -0
  141. data/lib/wsdl/xmlSchema/xsd2ruby.rb +2 -0
  142. data/lib/xsd/charset.rb +1 -0
  143. data/lib/xsd/codegen.rb +1 -0
  144. data/lib/xsd/codegen/classdef.rb +1 -0
  145. data/lib/xsd/codegen/commentdef.rb +1 -0
  146. data/lib/xsd/codegen/gensupport.rb +1 -0
  147. data/lib/xsd/codegen/methoddef.rb +1 -0
  148. data/lib/xsd/codegen/moduledef.rb +1 -0
  149. data/lib/xsd/datatypes.rb +11 -10
  150. data/lib/xsd/datatypes1999.rb +1 -0
  151. data/lib/xsd/iconvcharset.rb +1 -0
  152. data/lib/xsd/mapping.rb +1 -0
  153. data/lib/xsd/namedelements.rb +1 -0
  154. data/lib/xsd/ns.rb +1 -0
  155. data/lib/xsd/qname.rb +1 -0
  156. data/lib/xsd/xmlparser.rb +1 -0
  157. data/lib/xsd/xmlparser/libxmlparser.rb +1 -0
  158. data/lib/xsd/xmlparser/parser.rb +1 -0
  159. data/lib/xsd/xmlparser/rexmlparser.rb +1 -0
  160. data/lib/xsd/xmlparser/xmlparser.rb +1 -0
  161. data/lib/xsd/xmlparser/xmlscanner.rb +1 -0
  162. data/test/16runner.rb +1 -0
  163. data/test/helper.rb +2 -1
  164. data/test/interopR2/base.rb +1 -0
  165. data/test/interopR2/client.NetRemoting.rb +1 -0
  166. data/test/interopR2/client.rb +1 -0
  167. data/test/interopR2/client4S4C.rb +1 -0
  168. data/test/interopR2/client4S4C2.rb +1 -0
  169. data/test/interopR2/clientASP.NET.rb +1 -0
  170. data/test/interopR2/clientApacheAxis.rb +1 -0
  171. data/test/interopR2/clientApacheSOAP.rb +1 -0
  172. data/test/interopR2/clientBEAWebLogic.rb +1 -0
  173. data/test/interopR2/clientBase.rb +1 -0
  174. data/test/interopR2/clientCapeConnect.rb +1 -0
  175. data/test/interopR2/clientDelphi.rb +1 -0
  176. data/test/interopR2/clientEasySoap.rb +1 -0
  177. data/test/interopR2/clientFrontier.rb +1 -0
  178. data/test/interopR2/clientGLUE.rb +1 -0
  179. data/test/interopR2/clientHP.rb +1 -0
  180. data/test/interopR2/clientJAX-RPC.rb +1 -0
  181. data/test/interopR2/clientJSOAP.rb +1 -0
  182. data/test/interopR2/clientKafkaXSLT.rb +1 -0
  183. data/test/interopR2/clientMSSOAPToolkit2.0.rb +1 -0
  184. data/test/interopR2/clientMSSOAPToolkit3.0.rb +1 -0
  185. data/test/interopR2/clientNuSOAP.rb +1 -0
  186. data/test/interopR2/clientNuWave.rb +1 -0
  187. data/test/interopR2/clientOpenLink.rb +1 -0
  188. data/test/interopR2/clientOracle.rb +1 -0
  189. data/test/interopR2/clientPEAR.rb +1 -0
  190. data/test/interopR2/clientPhalanx.rb +1 -0
  191. data/test/interopR2/clientSIMACE.rb +1 -0
  192. data/test/interopR2/clientSOAP4R.rb +1 -0
  193. data/test/interopR2/clientSOAP__Lite.rb +1 -0
  194. data/test/interopR2/clientSQLData.rb +1 -0
  195. data/test/interopR2/clientSilverStream.rb +1 -0
  196. data/test/interopR2/clientSpray2001.rb +1 -0
  197. data/test/interopR2/clientSun.rb +1 -0
  198. data/test/interopR2/clientVWOpentalkSoap.rb +1 -0
  199. data/test/interopR2/clientWASP.rb +1 -0
  200. data/test/interopR2/clientWASPC.rb +1 -0
  201. data/test/interopR2/clientWebMethods.rb +1 -0
  202. data/test/interopR2/clientWhiteMesa.rb +1 -0
  203. data/test/interopR2/clientWingfoot.rb +1 -0
  204. data/test/interopR2/clientXMLBus.rb +1 -0
  205. data/test/interopR2/clientXMLRPC-EPI.rb +1 -0
  206. data/test/interopR2/clientXSOAP.rb +1 -0
  207. data/test/interopR2/clientZSI.rb +1 -0
  208. data/test/interopR2/clienteSOAP.rb +1 -0
  209. data/test/interopR2/clientgSOAP.rb +1 -0
  210. data/test/interopR2/clientkSOAP.rb +1 -0
  211. data/test/interopR2/iSimonReg.rb +1 -0
  212. data/test/interopR2/interopResultBase.rb +1 -0
  213. data/test/interopR2/interopService.rb +1 -0
  214. data/test/interopR2/rwikiInteropService.rb +1 -0
  215. data/test/interopR2/server.cgi +1 -0
  216. data/test/interopR2/server.rb +1 -0
  217. data/test/interopR2/simonReg.rb +1 -0
  218. data/test/interopR4/client.rb +1 -0
  219. data/test/runner.rb +1 -0
  220. data/test/sm11/classDef.rb +1 -0
  221. data/test/sm11/client.rb +1 -0
  222. data/test/sm11/driver.rb +1 -0
  223. data/test/sm11/servant.rb +1 -0
  224. data/test/sm11/server.rb +1 -0
  225. data/test/soap/asp.net/test_aspdotnet.rb +1 -0
  226. data/test/soap/auth/test_basic.rb +1 -0
  227. data/test/soap/auth/test_digest.rb +1 -0
  228. data/test/soap/calc/calc.rb +1 -0
  229. data/test/soap/calc/calc2.rb +1 -0
  230. data/test/soap/calc/server.cgi +1 -0
  231. data/test/soap/calc/server.rb +1 -0
  232. data/test/soap/calc/server2.rb +1 -0
  233. data/test/soap/calc/test_calc.rb +1 -0
  234. data/test/soap/calc/test_calc2.rb +1 -0
  235. data/test/soap/calc/test_calc_cgi.rb +1 -0
  236. data/test/soap/case/test_mapping.rb +1 -0
  237. data/test/soap/fault/test_customfault.rb +1 -0
  238. data/test/soap/fault/test_fault.rb +1 -0
  239. data/test/soap/fault/test_soaparray.rb +1 -0
  240. data/test/soap/filter/test_filter.rb +1 -0
  241. data/test/soap/header/server.cgi +1 -0
  242. data/test/soap/header/test_authheader.rb +1 -0
  243. data/test/soap/header/test_authheader_cgi.rb +1 -0
  244. data/test/soap/header/test_simplehandler.rb +1 -0
  245. data/test/soap/helloworld/hw_s.rb +1 -0
  246. data/test/soap/helloworld/test_helloworld.rb +1 -0
  247. data/test/soap/literalArrayMapping/amazonEc.rb +1 -0
  248. data/test/soap/literalArrayMapping/amazonEcDriver.rb +1 -0
  249. data/test/soap/literalArrayMapping/test_definedarray.rb +1 -0
  250. data/test/soap/marshal/marshaltestlib.rb +4 -3
  251. data/test/soap/marshal/test_digraph.rb +1 -0
  252. data/test/soap/marshal/test_marshal.rb +1 -0
  253. data/test/soap/marshal/test_struct.rb +1 -0
  254. data/test/soap/ssl/sslsvr.rb +1 -0
  255. data/test/soap/ssl/test_ssl.rb +1 -0
  256. data/test/soap/struct/test_struct.rb +1 -0
  257. data/test/soap/styleuse/client.rb +1 -0
  258. data/test/soap/styleuse/server.rb +1 -0
  259. data/test/soap/swa/test_file.rb +1 -0
  260. data/test/soap/test_basetype.rb +1 -0
  261. data/test/soap/test_cookie.rb +1 -0
  262. data/test/soap/test_custom_ns.rb +1 -0
  263. data/test/soap/test_custommap.rb +1 -0
  264. data/test/soap/test_empty.rb +1 -0
  265. data/test/soap/test_envelopenamespace.rb +1 -0
  266. data/test/soap/test_extraattr.rb +1 -0
  267. data/test/soap/test_generator.rb +1 -0
  268. data/test/soap/test_httpconfigloader.rb +1 -0
  269. data/test/soap/test_mapping.rb +1 -0
  270. data/test/soap/test_nestedexception.rb +19 -18
  271. data/test/soap/test_nil.rb +1 -0
  272. data/test/soap/test_no_indent.rb +1 -0
  273. data/test/soap/test_property.rb +1 -0
  274. data/test/soap/test_response_as_xml.rb +1 -0
  275. data/test/soap/test_soapelement.rb +1 -0
  276. data/test/soap/test_streamhandler.rb +1 -0
  277. data/test/soap/test_styleuse.rb +1 -0
  278. data/test/soap/wsdlDriver/echo_version.rb +1 -0
  279. data/test/soap/wsdlDriver/test_calc.rb +1 -0
  280. data/test/soap/wsdlDriver/test_document.rb +1 -0
  281. data/test/soap/wsdlDriver/test_simpletype.rb +1 -0
  282. data/test/testutil.rb +1 -0
  283. data/test/wsdl/abstract/test_abstract.rb +1 -0
  284. data/test/wsdl/anonymous/expectedClassDef.rb +1 -0
  285. data/test/wsdl/anonymous/expectedDriver.rb +1 -0
  286. data/test/wsdl/anonymous/expectedMappingRegistry.rb +1 -0
  287. data/test/wsdl/anonymous/test_anonymous.rb +1 -0
  288. data/test/wsdl/any/expectedDriver.rb +1 -0
  289. data/test/wsdl/any/expectedEcho.rb +1 -0
  290. data/test/wsdl/any/expectedMappingRegistry.rb +1 -0
  291. data/test/wsdl/any/expectedService.rb +1 -0
  292. data/test/wsdl/any/test_any.rb +1 -0
  293. data/test/wsdl/axisArray/test_axisarray.rb +1 -0
  294. data/test/wsdl/choice/test_choice.rb +1 -0
  295. data/test/wsdl/complexcontent/test_echo.rb +1 -0
  296. data/test/wsdl/datetime/DatetimeService.rb +1 -0
  297. data/test/wsdl/datetime/datetimeServant.rb +1 -0
  298. data/test/wsdl/datetime/test_datetime.rb +1 -0
  299. data/test/wsdl/document/array/test_array.rb +1 -0
  300. data/test/wsdl/document/test_nosoapaction.rb +1 -0
  301. data/test/wsdl/document/test_number.rb +1 -0
  302. data/test/wsdl/document/test_rpc.rb +1 -0
  303. data/test/wsdl/fault/test_fault.rb +1 -0
  304. data/test/wsdl/fault/test_multifault.rb +1 -0
  305. data/test/wsdl/group/expectedClassdef.rb +1 -0
  306. data/test/wsdl/group/expectedDriver.rb +1 -0
  307. data/test/wsdl/group/expectedMappingRegistry.rb +1 -0
  308. data/test/wsdl/group/test_rpc.rb +1 -0
  309. data/test/wsdl/list/test_list.rb +1 -0
  310. data/test/wsdl/map/test_map.rb +1 -0
  311. data/test/wsdl/marshal/person_org.rb +1 -0
  312. data/test/wsdl/marshal/test_wsdlmarshal.rb +1 -0
  313. data/test/wsdl/oneway/test_oneway.rb +1 -0
  314. data/test/wsdl/overload/expectedClient.rb +1 -0
  315. data/test/wsdl/overload/expectedDriver.rb +1 -0
  316. data/test/wsdl/overload/expectedServant.rb +1 -0
  317. data/test/wsdl/overload/test_overload.rb +1 -0
  318. data/test/wsdl/qualified/test_qualified.rb +1 -0
  319. data/test/wsdl/qualified/test_unqualified.rb +1 -0
  320. data/test/wsdl/raa/RAAService.rb +1 -0
  321. data/test/wsdl/raa/expectedClassDef.rb +1 -0
  322. data/test/wsdl/raa/expectedDriver.rb +1 -0
  323. data/test/wsdl/raa/expectedMappingRegistry.rb +1 -0
  324. data/test/wsdl/raa/test_raa.rb +1 -0
  325. data/test/wsdl/ref/expectedDriver.rb +1 -0
  326. data/test/wsdl/ref/expectedProduct.rb +1 -0
  327. data/test/wsdl/ref/test_ref.rb +1 -0
  328. data/test/wsdl/rpc/RPC-Literal-TestDefinitions.rb +91 -0
  329. data/test/wsdl/rpc/RPC-Literal-TestDefinitionsDriver.rb +148 -0
  330. data/test/wsdl/rpc/RPC-Literal-TestDefinitionsMappingRegistry.rb +169 -0
  331. data/test/wsdl/rpc/test_rpc.rb +1 -0
  332. data/test/wsdl/rpc/test_rpc_lit.rb +1 -0
  333. data/test/wsdl/simplecontent/test_simplecontent.rb +1 -0
  334. data/test/wsdl/simpletype/rpc/expectedClient.rb +1 -0
  335. data/test/wsdl/simpletype/rpc/expectedDriver.rb +1 -0
  336. data/test/wsdl/simpletype/rpc/expectedEchoVersion.rb +1 -0
  337. data/test/wsdl/simpletype/rpc/expectedMappingRegistry.rb +1 -0
  338. data/test/wsdl/simpletype/rpc/expectedServant.rb +1 -0
  339. data/test/wsdl/simpletype/rpc/expectedService.rb +1 -0
  340. data/test/wsdl/simpletype/rpc/test_rpc.rb +1 -0
  341. data/test/wsdl/simpletype/test_simpletype.rb +1 -0
  342. data/test/wsdl/soap/test_soapbodyparts.rb +1 -0
  343. data/test/wsdl/soap/wsdl2ruby/expectedClassdef.rb +1 -0
  344. data/test/wsdl/soap/wsdl2ruby/expectedClient.rb +1 -0
  345. data/test/wsdl/soap/wsdl2ruby/expectedDriver.rb +1 -0
  346. data/test/wsdl/soap/wsdl2ruby/expectedMappingRegistry.rb +1 -0
  347. data/test/wsdl/soap/wsdl2ruby/expectedServant.rb +1 -0
  348. data/test/wsdl/soap/wsdl2ruby/expectedService.cgi +1 -0
  349. data/test/wsdl/soap/wsdl2ruby/expectedService.rb +1 -0
  350. data/test/wsdl/soap/wsdl2ruby/section/expectedClassdef.rb +1 -0
  351. data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +1 -0
  352. data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +1 -0
  353. data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +1 -0
  354. data/test/wsdl/soaptype/test_soaptype.rb +1 -0
  355. data/test/wsdl/test_emptycomplextype.rb +1 -0
  356. data/test/wsdl/test_fault.rb +1 -0
  357. data/test/wsdl/test_multiplefault.rb +1 -0
  358. data/test/xsd/codegen/test_classdef.rb +1 -0
  359. data/test/xsd/test_noencoding.rb +1 -0
  360. data/test/xsd/test_ns.rb +1 -0
  361. data/test/xsd/test_xmlschemaparser.rb +1 -0
  362. data/test/xsd/test_xsd.rb +1 -0
  363. data/test/xsd/xsd2ruby/expected_mysample.rb +1 -0
  364. data/test/xsd/xsd2ruby/expected_mysample_mapper.rb +1 -0
  365. data/test/xsd/xsd2ruby/expected_mysample_mapping_registry.rb +1 -0
  366. data/test/xsd/xsd2ruby/test_xsd2ruby.rb +1 -0
  367. metadata +6 -7
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema ref support.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema schema definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema complexType definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema simpleContent definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema simpleType extension definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema simpleContent restriction definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema simpleType definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema totalDigits definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema union definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema unique element.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # WSDL4R - XMLSchema whiteSpace definition for WSDL.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XSD to ruby mapping library.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -121,6 +122,7 @@ private
121
122
  filename = File.join(basedir, filename)
122
123
  end
123
124
  File.open(filename, "w") do |f|
125
+ f.puts "# encoding: ASCII-8BIT"
124
126
  yield f
125
127
  end
126
128
  end
data/lib/xsd/charset.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - Charset handling library.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
data/lib/xsd/codegen.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - Generating code library
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - Generating class definition code
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - Generating comment definition code
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - Code generation support
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - Generating method definition code
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - Generating module definition code
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
data/lib/xsd/datatypes.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XML Schema Datatype implementation.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -506,8 +507,9 @@ require 'rational'
506
507
  require 'date'
507
508
 
508
509
  module XSDDateTimeImpl
509
- DayInSec = 86400 # 24 * 60 * 60
510
- DayInMicro = 86400_000_000
510
+ SecInMicro = 1000000 # 1 second = 1 million microseconds
511
+ DayInSec = 86400 # 24 Hours/Day * 60 Minutes/Hour * 60 Seconds/Minute
512
+ DayInMicro = (DayInSec * SecInMicro)
511
513
 
512
514
  def to_obj(klass)
513
515
  if klass == Time
@@ -525,11 +527,11 @@ module XSDDateTimeImpl
525
527
  begin
526
528
  if @data.offset * DayInSec == Time.now.utc_offset
527
529
  d = @data
528
- usec = (d.sec_fraction * DayInMicro).round
530
+ usec = (RUBY_VERSION.to_f >= 1.9) ? (d.sec_fraction * SecInMicro).to_i : (d.sec_fraction * DayInMicro).round
529
531
  Time.local(d.year, d.month, d.mday, d.hour, d.min, d.sec, usec)
530
532
  else
531
533
  d = @data.newof
532
- usec = (d.sec_fraction * DayInMicro).round
534
+ usec = (RUBY_VERSION.to_f >= 1.9) ? (d.sec_fraction * SecInMicro).to_i : (d.sec_fraction * DayInMicro).round
533
535
  Time.gm(d.year, d.month, d.mday, d.hour, d.min, d.sec, usec)
534
536
  end
535
537
  rescue ArgumentError
@@ -583,11 +585,10 @@ module XSDDateTimeImpl
583
585
  t <<= 12 if t.year < 0
584
586
  t
585
587
  elsif t.is_a?(Time)
586
- jd = DateTime.civil_to_jd(t.year, t.mon, t.mday, DateTime::ITALY)
587
- fr = DateTime.time_to_day_fraction(t.hour, t.min, [t.sec, 59].min) +
588
- t.usec.to_r / DayInMicro
588
+ jd = DateTime.send(:civil_to_jd, t.year, t.mon, t.mday, DateTime::ITALY)
589
+ fr = DateTime.send(:time_to_day_fraction, t.hour, t.min, [t.sec, 59].min) + t.usec.to_r / DayInMicro
589
590
  of = t.utc_offset.to_r / DayInSec
590
- DateTime.new!(DateTime.jd_to_ajd(jd, fr, of), of, DateTime::ITALY)
591
+ DateTime.new!(DateTime.send(:jd_to_ajd, jd, fr, of), of, DateTime::ITALY)
591
592
  else
592
593
  screen_data_str(t)
593
594
  end
@@ -651,8 +652,8 @@ private
651
652
  if @data.sec_fraction.nonzero?
652
653
  if @secfrac
653
654
  s << ".#{ @secfrac }"
654
- elsif (RUBY_VERSION.to_f >= 1.9) # RubyJedi: Ruby 1.9's DateTime.sec_fraction() appears to be more 'sane' and doesn't need to be multiplied.
655
- s << sprintf("%.16f", @data.sec_fraction.to_f).sub(/^0/, '').sub(/0*$/, '')
655
+ elsif (RUBY_VERSION.to_f >= 1.9)
656
+ s << sprintf("%.16f",@data.sec_fraction.to_f).sub(/^0/, '').sub(/0*$/, '')
656
657
  else
657
658
  s << sprintf("%.16f",(@data.sec_fraction * DayInSec).to_f).sub(/^0/, '').sub(/0*$/, '')
658
659
  end
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XML Schema Datatype 1999 support
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - Charset handling with iconv.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
data/lib/xsd/mapping.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XML Mapping for Ruby
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - WSDL named element collection.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
data/lib/xsd/ns.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XML Schema Namespace library
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
data/lib/xsd/qname.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XML QName definition.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
data/lib/xsd/xmlparser.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XML Instance parser library.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XMLParser XML parser library.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XML Instance parser library.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - REXMLParser XML parser library.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XMLParser XML parser library.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  # XSD4R - XMLScan XML parser library.
2
3
  # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
4
 
data/test/16runner.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'test/unit/testsuite'
2
3
  require 'test/unit/testcase'
3
4
 
data/test/helper.rb CHANGED
@@ -1,6 +1,7 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'test/unit'
2
3
  require 'rubygems'
3
4
  require 'test/unit/xml' ## RubyJedi
4
5
 
5
6
  ENV['DEBUG_SOAP4R'] = 'true' ## Needed to force wsdl2ruby.rb and xsd2ruby.rb to use DEVELOPMENT soap4r libs instead of installed soap4r libs
6
- $DEBUG = !!ENV['WIREDUMPS']
7
+ $DEBUG = !!ENV['WIREDUMPS']
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  require 'soap/soap'
2
3
  require 'soap/mapping'
3
4
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'dotNetRemotingWebServices'
4
5
  $serverBase = 'http://www.mssoapinterop.org/remoting/ServiceA.soap'
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  $KCODE = 'EUC'
2
3
 
3
4
  require 'test/unit'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = '4S4C'
4
5
  $server = 'http://soap.4s4c.com/ilab/soap.asp'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = '4S4C2'
4
5
  $server = 'http://soap.4s4c.com/ilab2/soap.asp'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'MSASPdotNETWebServices'
4
5
  $serverBase = 'http://www.mssoapinterop.org/asmx/simple.asmx'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'ApacheAxis'
4
5
  $server = 'http://nagoya.apache.org:5049/axis/services/echo'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'ApacheSOAP2.2'
4
5
  $serverBase = 'http://nagoya.apache.org:5049/soap/servlet/rpcrouter'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'BEAWebLogic8.1'
4
5
  $serverBase = 'http://webservice.bea.com:7001/base/SoapInteropBaseService'
@@ -1,3 +1,4 @@
1
+ # encoding: ASCII-8BIT
1
2
  $KCODE = 'EUC'
2
3
 
3
4
  require 'logger'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'CapeConnect'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'Delphi'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'EasySoap++'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'Frontier'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'GLUE'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'HPSOAP'
4
5
  $server = 'http://soap.bluestone.com/hpws/soap/EchoService'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'JAX-RPC'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'SpheonJSOAP'
4
5
  $server = 'http://soap.fmui.de/RPC'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'KafkaXSLTSOAP'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'MicrosoftSoapToolkitV2'
4
5
  $serverBase = 'http://mssoapinterop.org/stk/InteropB.wsdl'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'MicrosoftSoapToolkit3.0'
4
5
  $serverBase = 'http://mssoapinterop.org/stkV3/InteropTyped.wsdl'
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'NuSOAP'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'NuWave'
4
5
 
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # encoding: ASCII-8BIT
2
3
 
3
4
  $serverName = 'OpenLink'
4
5