rtiss_soap4r 2.1.0 → 3.0.0.beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (712) hide show
  1. checksums.yaml +4 -4
  2. data/.codeclimate.yml +20 -0
  3. data/.envrc +4 -0
  4. data/.ruby-version +1 -0
  5. data/.travis.yml +39 -0
  6. data/COPYING +7 -0
  7. data/GPL +340 -0
  8. data/Gemfile +53 -0
  9. data/Gemfile.lock +221 -0
  10. data/README.md +57 -0
  11. data/RELEASE_en.html +1900 -0
  12. data/RUBYS +56 -0
  13. data/Rakefile +88 -0
  14. data/bin/wsdl2ruby.rb +1 -4
  15. data/bin/xsd2ruby.rb +2 -4
  16. data/gemfiles/httpclient.gemfile +26 -0
  17. data/install.rb +91 -0
  18. data/lib/soap/attachment.rb +27 -11
  19. data/lib/soap/attrproxy.rb +0 -1
  20. data/lib/soap/baseData.rb +15 -3
  21. data/lib/soap/element.rb +1 -2
  22. data/lib/soap/encodingstyle/aspDotNetHandler.rb +0 -1
  23. data/lib/soap/encodingstyle/handler.rb +0 -1
  24. data/lib/soap/encodingstyle/literalHandler.rb +0 -1
  25. data/lib/soap/encodingstyle/soapHandler.rb +0 -1
  26. data/lib/soap/filter/filterchain.rb +1 -2
  27. data/lib/soap/filter/handler.rb +0 -1
  28. data/lib/soap/filter/streamhandler.rb +0 -1
  29. data/lib/soap/filter.rb +0 -1
  30. data/lib/soap/generator.rb +3 -3
  31. data/lib/soap/header/handler.rb +0 -1
  32. data/lib/soap/header/handlerset.rb +0 -1
  33. data/lib/soap/header/mappinghandler.rb +0 -1
  34. data/lib/soap/header/simplehandler.rb +0 -1
  35. data/lib/soap/http_logger.rb +16 -2
  36. data/lib/soap/httpconfigloader.rb +1 -2
  37. data/lib/soap/mapping/encodedregistry.rb +22 -20
  38. data/lib/soap/mapping/factory.rb +42 -13
  39. data/lib/soap/mapping/literalregistry.rb +3 -6
  40. data/lib/soap/mapping/mapping.rb +11 -12
  41. data/lib/soap/mapping/registry.rb +2 -5
  42. data/lib/soap/mapping/rubytypeFactory.rb +2 -2
  43. data/lib/soap/mapping/schemadefinition.rb +0 -1
  44. data/lib/soap/mapping/typeMap.rb +0 -2
  45. data/lib/soap/mapping/wsdlencodedregistry.rb +1 -2
  46. data/lib/soap/mapping/wsdlliteralregistry.rb +0 -1
  47. data/lib/soap/mapping.rb +0 -1
  48. data/lib/soap/marshal.rb +0 -1
  49. data/lib/soap/mimemessage.rb +52 -27
  50. data/lib/soap/nestedexception.rb +1 -2
  51. data/lib/soap/netHttpClient.rb +4 -5
  52. data/lib/soap/ns.rb +0 -5
  53. data/lib/soap/parser.rb +1 -1
  54. data/lib/soap/processor.rb +0 -1
  55. data/lib/soap/property.rb +21 -18
  56. data/lib/soap/proxy.rb +0 -1
  57. data/lib/soap/rpc/cgistub.rb +3 -4
  58. data/lib/soap/rpc/driver.rb +175 -176
  59. data/lib/soap/rpc/element.rb +2 -3
  60. data/lib/soap/rpc/element.rb.orig +374 -0
  61. data/lib/soap/rpc/httpserver.rb +1 -3
  62. data/lib/soap/rpc/methodDef.rb +0 -1
  63. data/lib/soap/rpc/proxy.rb +2 -3
  64. data/lib/soap/rpc/router.rb +36 -7
  65. data/lib/soap/rpc/rpc.rb +0 -1
  66. data/lib/soap/rpc/soaplet.rb +2 -3
  67. data/lib/soap/rpc/standaloneServer.rb +1 -2
  68. data/lib/soap/soap.rb +4 -30
  69. data/lib/soap/streamHandler.rb +8 -10
  70. data/lib/soap/version.rb +3 -3
  71. data/lib/soap/wsdlDriver.rb +0 -2
  72. data/lib/wsdl/binding.rb +0 -1
  73. data/lib/wsdl/data.rb +0 -1
  74. data/lib/wsdl/definitions.rb +0 -1
  75. data/lib/wsdl/documentation.rb +0 -1
  76. data/lib/wsdl/import.rb +0 -1
  77. data/lib/wsdl/importer.rb +0 -1
  78. data/lib/wsdl/info.rb +0 -1
  79. data/lib/wsdl/message.rb +0 -1
  80. data/lib/wsdl/operation.rb +0 -1
  81. data/lib/wsdl/operationBinding.rb +3 -4
  82. data/lib/wsdl/param.rb +0 -1
  83. data/lib/wsdl/parser.rb +5 -21
  84. data/lib/wsdl/part.rb +0 -1
  85. data/lib/wsdl/port.rb +0 -1
  86. data/lib/wsdl/portType.rb +0 -1
  87. data/lib/wsdl/service.rb +0 -1
  88. data/lib/wsdl/soap/address.rb +0 -1
  89. data/lib/wsdl/soap/binding.rb +0 -1
  90. data/lib/wsdl/soap/body.rb +0 -1
  91. data/lib/wsdl/soap/cgiStubCreator.rb +0 -1
  92. data/lib/wsdl/soap/classDefCreator.rb +20 -1
  93. data/lib/wsdl/soap/classDefCreatorSupport.rb +1 -2
  94. data/lib/wsdl/soap/classNameCreator.rb +0 -1
  95. data/lib/wsdl/soap/clientSkeltonCreator.rb +2 -5
  96. data/lib/wsdl/soap/complexType.rb +0 -1
  97. data/lib/wsdl/soap/data.rb +0 -1
  98. data/lib/wsdl/soap/definitions.rb +1 -2
  99. data/lib/wsdl/soap/driverCreator.rb +75 -74
  100. data/lib/wsdl/soap/element.rb +0 -1
  101. data/lib/wsdl/soap/encodedMappingRegistryCreator.rb +0 -1
  102. data/lib/wsdl/soap/fault.rb +0 -1
  103. data/lib/wsdl/soap/header.rb +0 -1
  104. data/lib/wsdl/soap/headerfault.rb +0 -1
  105. data/lib/wsdl/soap/literalMappingRegistryCreator.rb +0 -1
  106. data/lib/wsdl/soap/mappingRegistryCreator.rb +0 -1
  107. data/lib/wsdl/soap/mappingRegistryCreatorSupport.rb +0 -1
  108. data/lib/wsdl/soap/methodDefCreator.rb +9 -1
  109. data/lib/wsdl/soap/operation.rb +1 -2
  110. data/lib/wsdl/soap/servantSkeltonCreator.rb +2 -5
  111. data/lib/wsdl/soap/servletStubCreator.rb +0 -1
  112. data/lib/wsdl/soap/standaloneServerStubCreator.rb +0 -1
  113. data/lib/wsdl/soap/wsdl2ruby.rb +9 -5
  114. data/lib/wsdl/types.rb +0 -1
  115. data/lib/wsdl/wsdl.rb +0 -1
  116. data/lib/wsdl/xmlSchema/all.rb +0 -1
  117. data/lib/wsdl/xmlSchema/annotation.rb +0 -1
  118. data/lib/wsdl/xmlSchema/any.rb +0 -1
  119. data/lib/wsdl/xmlSchema/anyAttribute.rb +0 -1
  120. data/lib/wsdl/xmlSchema/attribute.rb +0 -1
  121. data/lib/wsdl/xmlSchema/attributeGroup.rb +0 -1
  122. data/lib/wsdl/xmlSchema/choice.rb +0 -1
  123. data/lib/wsdl/xmlSchema/complexContent.rb +0 -1
  124. data/lib/wsdl/xmlSchema/complexExtension.rb +0 -1
  125. data/lib/wsdl/xmlSchema/complexRestriction.rb +0 -1
  126. data/lib/wsdl/xmlSchema/complexType.rb +0 -1
  127. data/lib/wsdl/xmlSchema/content.rb +0 -1
  128. data/lib/wsdl/xmlSchema/data.rb +0 -1
  129. data/lib/wsdl/xmlSchema/element.rb +1 -2
  130. data/lib/wsdl/xmlSchema/enumeration.rb +0 -1
  131. data/lib/wsdl/xmlSchema/fractiondigits.rb +0 -1
  132. data/lib/wsdl/xmlSchema/group.rb +0 -1
  133. data/lib/wsdl/xmlSchema/import.rb +1 -1
  134. data/lib/wsdl/xmlSchema/importHandler.rb +1 -1
  135. data/lib/wsdl/xmlSchema/importer.rb +0 -1
  136. data/lib/wsdl/xmlSchema/include.rb +1 -1
  137. data/lib/wsdl/xmlSchema/length.rb +0 -1
  138. data/lib/wsdl/xmlSchema/list.rb +0 -1
  139. data/lib/wsdl/xmlSchema/maxexclusive.rb +0 -1
  140. data/lib/wsdl/xmlSchema/maxinclusive.rb +0 -1
  141. data/lib/wsdl/xmlSchema/maxlength.rb +0 -1
  142. data/lib/wsdl/xmlSchema/minexclusive.rb +0 -1
  143. data/lib/wsdl/xmlSchema/mininclusive.rb +0 -1
  144. data/lib/wsdl/xmlSchema/minlength.rb +0 -1
  145. data/lib/wsdl/xmlSchema/parser.rb +4 -5
  146. data/lib/wsdl/xmlSchema/pattern.rb +0 -1
  147. data/lib/wsdl/xmlSchema/ref.rb +0 -1
  148. data/lib/wsdl/xmlSchema/schema.rb +0 -1
  149. data/lib/wsdl/xmlSchema/sequence.rb +0 -1
  150. data/lib/wsdl/xmlSchema/simpleContent.rb +0 -1
  151. data/lib/wsdl/xmlSchema/simpleExtension.rb +0 -1
  152. data/lib/wsdl/xmlSchema/simpleRestriction.rb +0 -1
  153. data/lib/wsdl/xmlSchema/simpleType.rb +0 -1
  154. data/lib/wsdl/xmlSchema/totaldigits.rb +0 -1
  155. data/lib/wsdl/xmlSchema/union.rb +0 -1
  156. data/lib/wsdl/xmlSchema/unique.rb +0 -1
  157. data/lib/wsdl/xmlSchema/whitespace.rb +0 -1
  158. data/lib/wsdl/xmlSchema/xsd2ruby.rb +0 -3
  159. data/lib/xsd/charset.rb +162 -152
  160. data/lib/xsd/codegen/classdef.rb +0 -1
  161. data/lib/xsd/codegen/commentdef.rb +0 -1
  162. data/lib/xsd/codegen/gensupport.rb +5 -9
  163. data/lib/xsd/codegen/methoddef.rb +0 -1
  164. data/lib/xsd/codegen/moduledef.rb +0 -1
  165. data/lib/xsd/codegen.rb +0 -1
  166. data/lib/xsd/datatypes.rb +1122 -1098
  167. data/lib/xsd/datatypes1999.rb +0 -1
  168. data/lib/xsd/iconvcharset.rb +2 -19
  169. data/lib/xsd/mapping.rb +0 -1
  170. data/lib/xsd/namedelements.rb +0 -1
  171. data/lib/xsd/ns.rb +1 -2
  172. data/lib/xsd/qname.rb +2 -3
  173. data/lib/xsd/xmlparser/libxmlparser.rb +22 -39
  174. data/lib/xsd/xmlparser/parser.rb +1 -2
  175. data/lib/xsd/xmlparser/rexmlparser.rb +8 -4
  176. data/lib/xsd/xmlparser/xmlparser.rb +50 -0
  177. data/lib/xsd/xmlparser/xmlscanner.rb +149 -0
  178. data/lib/xsd/xmlparser.rb +18 -23
  179. data/lib/xsd/xmlparser.rb.orig +76 -0
  180. data/rtiss_soap4r.gemspec +751 -0
  181. data/rubyStyle.css +104 -0
  182. data/sample/attachment/complexmime/EdmService.rb +124 -0
  183. data/sample/attachment/complexmime/README.txt +3 -0
  184. data/sample/attachment/complexmime/client.rb +57 -0
  185. data/sample/attachment/complexmime/drift.cdf +1 -0
  186. data/sample/attachment/complexmime/plaatje.png +1 -0
  187. data/sample/attachment/complexmime/server.rb +68 -0
  188. data/sample/attachment/swa/client.rb +13 -0
  189. data/sample/attachment/swa/server.rb +23 -0
  190. data/sample/basic/apacheClient.rb +92 -0
  191. data/sample/basic/babelfish.rb +16 -0
  192. data/sample/basic/calc/calc.rb +17 -0
  193. data/sample/basic/calc/calc2.rb +29 -0
  194. data/sample/basic/calc/client.rb +26 -0
  195. data/sample/basic/calc/client2.rb +29 -0
  196. data/sample/basic/calc/httpd.rb +20 -0
  197. data/sample/basic/calc/samplehttpd.conf +2 -0
  198. data/sample/basic/calc/server.cgi +15 -0
  199. data/sample/basic/calc/server.fcgi +22 -0
  200. data/sample/basic/calc/server.rb +21 -0
  201. data/sample/basic/calc/server2.rb +24 -0
  202. data/sample/basic/exchange/client.rb +19 -0
  203. data/sample/basic/exchange/exchange.rb +17 -0
  204. data/sample/basic/exchange/httpd.rb +20 -0
  205. data/sample/basic/exchange/samplehttpd.conf +2 -0
  206. data/sample/basic/exchange/server.cgi +14 -0
  207. data/sample/basic/exchange/server.rb +20 -0
  208. data/sample/basic/flickr.rb +26 -0
  209. data/sample/basic/helloworld/client.rb +6 -0
  210. data/sample/basic/helloworld/server.rb +20 -0
  211. data/sample/basic/sampleStruct/client.rb +16 -0
  212. data/sample/basic/sampleStruct/httpd.rb +20 -0
  213. data/sample/basic/sampleStruct/iSampleStruct.rb +22 -0
  214. data/sample/basic/sampleStruct/sampleStruct.rb +13 -0
  215. data/sample/basic/sampleStruct/samplehttpd.conf +2 -0
  216. data/sample/basic/sampleStruct/server.cgi +14 -0
  217. data/sample/basic/sampleStruct/server.rb +20 -0
  218. data/sample/basic/whois.rb +14 -0
  219. data/sample/basic/wsdl_helloworld/README +15 -0
  220. data/sample/basic/wsdl_helloworld/client/default.rb +1 -0
  221. data/sample/basic/wsdl_helloworld/client/defaultDriver.rb +47 -0
  222. data/sample/basic/wsdl_helloworld/client/hws.wsdl +46 -0
  223. data/sample/basic/wsdl_helloworld/client/hwsClient.rb +22 -0
  224. data/sample/basic/wsdl_helloworld/server/hw_s.rb +25 -0
  225. data/sample/basic/wsdl_helloworld/server/hws.wsdl +46 -0
  226. data/sample/basic/yahooNewsSearch.rb +36 -0
  227. data/sample/howto/as_xml/client.rb +22 -0
  228. data/sample/howto/as_xml/server.rb +22 -0
  229. data/sample/howto/base64/client.rb +17 -0
  230. data/sample/howto/base64/server.rb +30 -0
  231. data/sample/howto/custom_ns/client.rb +37 -0
  232. data/sample/howto/custom_ns/server.rb +42 -0
  233. data/sample/howto/documentliteral/README.txt +19 -0
  234. data/sample/howto/documentliteral/client.rb +11 -0
  235. data/sample/howto/documentliteral/echo.wsdl +66 -0
  236. data/sample/howto/documentliteral/servant.rb +11 -0
  237. data/sample/howto/filter/client.rb +42 -0
  238. data/sample/howto/filter/server.rb +67 -0
  239. data/sample/howto/scopesample/client.rb +34 -0
  240. data/sample/howto/scopesample/httpd.rb +22 -0
  241. data/sample/howto/scopesample/samplehttpd.conf +2 -0
  242. data/sample/howto/scopesample/servant.rb +18 -0
  243. data/sample/howto/scopesample/server.cgi +29 -0
  244. data/sample/howto/scopesample/server.rb +20 -0
  245. data/sample/howto/styleuse/client.rb +21 -0
  246. data/sample/howto/styleuse/server.rb +86 -0
  247. data/sample/howto/wsdl_fault/README.txt +11 -0
  248. data/sample/howto/wsdl_fault/fault/AddClient.rb +24 -0
  249. data/sample/howto/wsdl_fault/fault/AddServer.rb +15 -0
  250. data/sample/howto/wsdl_fault/fault/AddServiceImpl.rb +18 -0
  251. data/sample/howto/wsdl_fault/fault/fault.wsdl +79 -0
  252. data/sample/howto/wsdl_fault/multifault/AddClient.rb +28 -0
  253. data/sample/howto/wsdl_fault/multifault/AddServer.rb +15 -0
  254. data/sample/howto/wsdl_fault/multifault/AddServiceImpl.rb +24 -0
  255. data/sample/howto/wsdl_fault/multifault/fault.wsdl +96 -0
  256. data/sample/howto/wsdl_hash/client.rb +11 -0
  257. data/sample/howto/wsdl_hash/hash.wsdl +69 -0
  258. data/sample/howto/wsdl_hash/server.rb +17 -0
  259. data/sample/marshal/customfactory.rb +97 -0
  260. data/sample/marshal/customregistry.rb +17 -0
  261. data/sample/marshal/digraph.rb +43 -0
  262. data/sample/marshal/enum/README.txt +6 -0
  263. data/sample/marshal/enum/enum.xsd +23 -0
  264. data/sample/marshal/enum/enumsample.rb +20 -0
  265. data/sample/marshal/enum/enumsample_mapper.rb +7 -0
  266. data/sample/marshal/enum/enumsample_mapping_registry.rb +23 -0
  267. data/sample/marshal/enum/marshal.rb +9 -0
  268. data/sample/payload/basicauth/client.rb +10 -0
  269. data/sample/payload/basicauth/htpasswd +2 -0
  270. data/sample/payload/basicauth/server.rb +43 -0
  271. data/sample/payload/cookies/calc.rb +52 -0
  272. data/sample/payload/cookies/client.rb +30 -0
  273. data/sample/payload/cookies/filterclient.rb +52 -0
  274. data/sample/payload/cookies/server.rb +24 -0
  275. data/sample/payload/gzipped/client.rb +8 -0
  276. data/sample/payload/gzipped/server.rb +21 -0
  277. data/sample/payload/ssl/files/README +1 -0
  278. data/sample/payload/ssl/files/ca.cert +23 -0
  279. data/sample/payload/ssl/files/client.cert +19 -0
  280. data/sample/payload/ssl/files/client.key +15 -0
  281. data/sample/payload/ssl/files/server.cert +19 -0
  282. data/sample/payload/ssl/files/server.key +15 -0
  283. data/sample/payload/ssl/files/sslclient.properties +5 -0
  284. data/sample/payload/ssl/files/sslclient_require_noserverauth.properties +2 -0
  285. data/sample/payload/ssl/files/sslclient_with_clientauth.properties +9 -0
  286. data/sample/payload/ssl/files/subca.cert +21 -0
  287. data/sample/payload/ssl/sslclient.rb +12 -0
  288. data/sample/payload/ssl/sslclient_require_noserverauth.rb +12 -0
  289. data/sample/payload/ssl/sslclient_with_clientauth.rb +12 -0
  290. data/sample/payload/ssl/sslserver.rb +49 -0
  291. data/sample/payload/ssl/sslserver_noauth.rb +45 -0
  292. data/sample/payload/ssl/sslserver_require_clientauth.rb +50 -0
  293. data/sample/showcase/soap/hippo5tq/hippo5tq.rb +41 -0
  294. data/sample/showcase/soap/hippo5tq/hippo5tq2.rb +99 -0
  295. data/sample/showcase/soap/hippo5tq/hippoClient.rb +106 -0
  296. data/sample/showcase/soap/icd/IICD.rb +17 -0
  297. data/sample/showcase/soap/icd/icd.rb +46 -0
  298. data/sample/showcase/soap/mssoap/README.txt +62 -0
  299. data/sample/showcase/soap/mssoap/client.vba +19 -0
  300. data/sample/showcase/soap/mssoap/stockQuoteService.cgi +44 -0
  301. data/sample/showcase/soap/mssoap/stockQuoteService.rb +9 -0
  302. data/sample/showcase/soap/mssoap/stockQuoteService.wsdl +47 -0
  303. data/sample/showcase/soap/mssoap/stockQuoteServiceClient.rb +26 -0
  304. data/sample/showcase/soap/mssoap/stockQuoteServiceClient.xls +0 -0
  305. data/sample/showcase/soap/mssoap/stockQuoteServicePortTypeDriver.rb +46 -0
  306. data/sample/showcase/soap/netDicV06/INetDicV06.rb +36 -0
  307. data/sample/showcase/soap/netDicV06/netDicV06.rb +16 -0
  308. data/sample/showcase/soap/raa/SOAP__Lite.pl +15 -0
  309. data/sample/showcase/soap/raa/pocketSOAP.js +33 -0
  310. data/sample/showcase/soap/raa2.4/raa.rb +332 -0
  311. data/sample/showcase/soap/raa2.4/raa.wsdl +644 -0
  312. data/sample/showcase/soap/raa2.4/raaDriver.rb +255 -0
  313. data/sample/showcase/soap/raa2.4/raaServiceClient.rb +354 -0
  314. data/sample/showcase/soap/raa2.4/sample.rb +115 -0
  315. data/sample/showcase/soap/rwiki/rwikiClient.rb +29 -0
  316. data/sample/showcase/soap/rwiki/rwikiServer.cgi +44 -0
  317. data/sample/showcase/soap/soapbox/ContactsDataSet.xml +37 -0
  318. data/sample/showcase/soap/soapbox/ExceptionDataSet.xml +23 -0
  319. data/sample/showcase/soap/soapbox/MessageDataSet.xml +8 -0
  320. data/sample/showcase/soap/soapbox/SoapBoxWebService.wsdl +1233 -0
  321. data/sample/showcase/soap/soapbox/SoapBoxWebServiceWithRawXML.wsdl +1226 -0
  322. data/sample/showcase/soap/soapbox/wsdlDriver.rb +23 -0
  323. data/sample/showcase/wsdl/PayPalSvc/client.rb +36 -0
  324. data/sample/showcase/wsdl/amazon/AmazonSearch.rb +3160 -0
  325. data/sample/showcase/wsdl/amazon/AmazonSearchDriver.rb +546 -0
  326. data/sample/showcase/wsdl/amazon/sampleClient.rb +37 -0
  327. data/sample/showcase/wsdl/amazon/wsdlDriver.rb +52 -0
  328. data/sample/showcase/wsdl/amazonEC/client.rb +13 -0
  329. data/sample/showcase/wsdl/eBaySvc/sampleclient.rb +60 -0
  330. data/sample/showcase/wsdl/googleAdwords/CampaignService.wsdl +785 -0
  331. data/sample/showcase/wsdl/googleAdwords/ca.pem +19 -0
  332. data/sample/showcase/wsdl/googleAdwords/client.rb +40 -0
  333. data/sample/showcase/wsdl/googleAdwords/soap/property +1 -0
  334. data/sample/showcase/wsdl/googleSearch/GoogleSearch.rb +97 -0
  335. data/sample/showcase/wsdl/googleSearch/GoogleSearchDriver.rb +102 -0
  336. data/sample/showcase/wsdl/googleSearch/README +6 -0
  337. data/sample/showcase/wsdl/googleSearch/httpd.rb +20 -0
  338. data/sample/showcase/wsdl/googleSearch/sampleClient.rb +56 -0
  339. data/sample/showcase/wsdl/googleSearch/samplehttpd.conf +2 -0
  340. data/sample/showcase/wsdl/googleSearch/sjissearch.sh +3 -0
  341. data/sample/showcase/wsdl/googleSearch/wsdlDriver.rb +29 -0
  342. data/sample/showcase/wsdl/noaa/README.txt +5 -0
  343. data/sample/showcase/wsdl/noaa/client.rb +44 -0
  344. data/sample/showcase/wsdl/noaa/default.rb +46 -0
  345. data/sample/showcase/wsdl/noaa/defaultDriver.rb +66 -0
  346. data/sample/showcase/wsdl/noaa/defaultMappingRegistry.rb +74 -0
  347. data/sample/showcase/wsdl/noaa/ndfdXMLClient.rb +43 -0
  348. data/sample/showcase/wsdl/raa2.4/raa.rb +134 -0
  349. data/sample/showcase/wsdl/raa2.4/raa.wsdl +644 -0
  350. data/sample/showcase/wsdl/raa2.4/wsdlDriver.rb +117 -0
  351. data/sample/showcase/wsdl/rnn/client.rb +59 -0
  352. data/sample/showcase/wsdl/rnn/post.rb +27 -0
  353. data/sample/showcase/wsdl/rnn/rnn-hash.wsdl +282 -0
  354. data/sample/showcase/wsdl/rnn/rnn.wsdl +310 -0
  355. data/sample/showcase/wsdl/rnn/submit.rb +63 -0
  356. data/sample/showcase/wsdl/salesforce/SforceServiceClient.rb +280 -0
  357. data/sample/showcase/wsdl/salesforce/ca.pem +35 -0
  358. data/sample/showcase/wsdl/salesforce/client.rb +156 -0
  359. data/sample/showcase/wsdl/salesforce/default.rb +1740 -0
  360. data/sample/showcase/wsdl/salesforce/defaultDriver.rb +165 -0
  361. data/sample/showcase/wsdl/salesforce/soap/property +1 -0
  362. data/sample/soapheader/authheader/authmgr.rb +41 -0
  363. data/sample/soapheader/authheader/client.rb +40 -0
  364. data/sample/soapheader/authheader/client2.rb +42 -0
  365. data/sample/soapheader/authheader/server.rb +73 -0
  366. data/sample/soapheader/authheader/server2.rb +83 -0
  367. data/sample/soapheader/soapext_basicauth/client.rb +25 -0
  368. data/sample/soapheader/soapext_basicauth/mms_MizGIS.rb +701 -0
  369. data/sample/soapheader/soapext_basicauth/mms_MizGIS.wsdl +1007 -0
  370. data/sample/soapheader/soapext_basicauth/mms_MizGISClient.rb +231 -0
  371. data/sample/soapheader/soapext_basicauth/mms_MizGISDriver.rb +210 -0
  372. data/sample/soapheader/soapext_basicauth/mms_MizGISMappingRegistry.rb +1232 -0
  373. data/test/16runner.rb +68 -0
  374. data/test/interopR2/README.txt +2 -0
  375. data/test/interopR2/SOAPBuildersInterop_R2.wsdl +461 -0
  376. data/test/interopR2/SOAPBuildersInterop_R2GrB.wsdl +19 -0
  377. data/test/interopR2/base.rb +288 -0
  378. data/test/interopR2/client.NetRemoting.rb +17 -0
  379. data/test/interopR2/client.rb +1234 -0
  380. data/test/interopR2/client4S4C.rb +15 -0
  381. data/test/interopR2/client4S4C2.rb +14 -0
  382. data/test/interopR2/clientASP.NET.rb +17 -0
  383. data/test/interopR2/clientApacheAxis.rb +16 -0
  384. data/test/interopR2/clientApacheSOAP.rb +17 -0
  385. data/test/interopR2/clientBEAWebLogic.rb +17 -0
  386. data/test/interopR2/clientBase.rb +1967 -0
  387. data/test/interopR2/clientCapeConnect.rb +18 -0
  388. data/test/interopR2/clientDelphi.rb +19 -0
  389. data/test/interopR2/clientEasySoap.rb +14 -0
  390. data/test/interopR2/clientFrontier.rb +25 -0
  391. data/test/interopR2/clientGLUE.rb +32 -0
  392. data/test/interopR2/clientHP.rb +13 -0
  393. data/test/interopR2/clientJAX-RPC.rb +19 -0
  394. data/test/interopR2/clientJSOAP.rb +14 -0
  395. data/test/interopR2/clientKafkaXSLT.rb +15 -0
  396. data/test/interopR2/clientMSSOAPToolkit2.0.rb +17 -0
  397. data/test/interopR2/clientMSSOAPToolkit3.0.rb +17 -0
  398. data/test/interopR2/clientNuSOAP.rb +19 -0
  399. data/test/interopR2/clientNuWave.rb +15 -0
  400. data/test/interopR2/clientOpenLink.rb +15 -0
  401. data/test/interopR2/clientOracle.rb +15 -0
  402. data/test/interopR2/clientPEAR.rb +18 -0
  403. data/test/interopR2/clientPhalanx.rb +18 -0
  404. data/test/interopR2/clientSIMACE.rb +18 -0
  405. data/test/interopR2/clientSOAP4R.rb +18 -0
  406. data/test/interopR2/clientSOAP__Lite.rb +14 -0
  407. data/test/interopR2/clientSQLData.rb +18 -0
  408. data/test/interopR2/clientSilverStream.rb +17 -0
  409. data/test/interopR2/clientSpray2001.rb +17 -0
  410. data/test/interopR2/clientSun.rb +19 -0
  411. data/test/interopR2/clientVWOpentalkSoap.rb +19 -0
  412. data/test/interopR2/clientWASP.rb +19 -0
  413. data/test/interopR2/clientWASPC.rb +18 -0
  414. data/test/interopR2/clientWebMethods.rb +15 -0
  415. data/test/interopR2/clientWhiteMesa.rb +28 -0
  416. data/test/interopR2/clientWingfoot.rb +15 -0
  417. data/test/interopR2/clientXMLBus.rb +19 -0
  418. data/test/interopR2/clientXMLRPC-EPI.rb +17 -0
  419. data/test/interopR2/clientXSOAP.rb +14 -0
  420. data/test/interopR2/clientZSI.rb +19 -0
  421. data/test/interopR2/clienteSOAP.rb +18 -0
  422. data/test/interopR2/clientgSOAP.rb +18 -0
  423. data/test/interopR2/clientkSOAP.rb +17 -0
  424. data/test/interopR2/iSimonReg.rb +112 -0
  425. data/test/interopR2/interopResultBase.rb +114 -0
  426. data/test/interopR2/interopService.rb +247 -0
  427. data/test/interopR2/rwikiInteropService.rb +105 -0
  428. data/test/interopR2/server.cgi +270 -0
  429. data/test/interopR2/server.rb +275 -0
  430. data/test/interopR2/simonReg.rb +123 -0
  431. data/test/interopR2/test.sh +49 -0
  432. data/test/interopR4/client.rb +112 -0
  433. data/test/results +4810 -0
  434. data/test/runner.rb +7 -0
  435. data/test/sm11/classDef.rb +156 -0
  436. data/test/sm11/client.rb +542 -0
  437. data/test/sm11/driver.rb +183 -0
  438. data/test/sm11/servant.rb +1067 -0
  439. data/test/sm11/server.rb +25 -0
  440. data/test/soap/asp.net/hello.wsdl +96 -0
  441. data/test/soap/asp.net/test_aspdotnet.rb +123 -0
  442. data/test/soap/auth/htdigest +2 -0
  443. data/test/soap/auth/htpasswd +2 -0
  444. data/test/soap/auth/test_basic.rb +116 -0
  445. data/test/soap/auth/test_digest.rb +118 -0
  446. data/test/soap/calc/calc.rb +17 -0
  447. data/test/soap/calc/calc2.rb +29 -0
  448. data/test/soap/calc/server.cgi +13 -0
  449. data/test/soap/calc/server.rb +17 -0
  450. data/test/soap/calc/server2.rb +20 -0
  451. data/test/soap/calc/test_calc2.rb +55 -0
  452. data/test/soap/case/test_mapping.rb +33 -0
  453. data/test/soap/fault/test_customfault.rb +60 -0
  454. data/test/soap/fault/test_fault.rb +46 -0
  455. data/test/soap/fault/test_soaparray.rb +35 -0
  456. data/test/soap/filter/test_filter.rb +147 -0
  457. data/test/soap/header/server.cgi +122 -0
  458. data/test/soap/header/session.pstoredb +0 -0
  459. data/test/soap/header/test_authheader.rb +234 -0
  460. data/test/soap/header/test_authheader_cgi.rb +120 -0
  461. data/test/soap/header/test_simplehandler.rb +120 -0
  462. data/test/soap/helloworld/hw_s.rb +16 -0
  463. data/test/soap/helloworld/test_helloworld.rb +42 -0
  464. data/test/soap/htpasswd +2 -0
  465. data/test/soap/literalArrayMapping/amazonEc.rb +4778 -0
  466. data/test/soap/literalArrayMapping/amazonEcDriver.rb +172 -0
  467. data/test/soap/literalArrayMapping/amazonresponse.xml +100 -0
  468. data/test/soap/literalArrayMapping/test_definedarray.rb +33 -0
  469. data/test/soap/marshal/marshaltestlib.rb +456 -0
  470. data/test/soap/marshal/test_digraph.rb +56 -0
  471. data/test/soap/marshal/test_marshal.rb +26 -0
  472. data/test/soap/marshal/test_struct.rb +47 -0
  473. data/test/soap/ssl/README +1 -0
  474. data/test/soap/ssl/ca.cert +23 -0
  475. data/test/soap/ssl/client.cert +19 -0
  476. data/test/soap/ssl/client.key +15 -0
  477. data/test/soap/ssl/server.cert +19 -0
  478. data/test/soap/ssl/server.key +15 -0
  479. data/test/soap/ssl/sslsvr.rb +57 -0
  480. data/test/soap/ssl/subca.cert +21 -0
  481. data/test/soap/ssl/test_ssl.rb +238 -0
  482. data/test/soap/struct/test_struct.rb +69 -0
  483. data/test/soap/styleuse/client.rb +20 -0
  484. data/test/soap/styleuse/server.rb +86 -0
  485. data/test/soap/swa/test_file.rb +76 -0
  486. data/test/soap/test_basetype.rb +1090 -0
  487. data/test/soap/test_cookie.rb +111 -0
  488. data/test/soap/test_custom_ns.rb +105 -0
  489. data/test/soap/test_custommap.rb +110 -0
  490. data/test/soap/test_empty.rb +105 -0
  491. data/test/soap/test_envelopenamespace.rb +84 -0
  492. data/test/soap/test_extraattr.rb +54 -0
  493. data/test/soap/test_generator.rb +27 -0
  494. data/test/soap/test_httpconfigloader.rb +71 -0
  495. data/test/soap/test_mapping.rb +122 -0
  496. data/test/soap/test_nestedexception.rb +61 -0
  497. data/test/soap/test_nil.rb +61 -0
  498. data/test/soap/test_no_indent.rb +88 -0
  499. data/test/soap/test_property.rb +427 -0
  500. data/test/soap/test_response_as_xml.rb +116 -0
  501. data/test/soap/test_soapelement.rb +138 -0
  502. data/test/soap/test_streamhandler.rb +269 -0
  503. data/test/soap/test_styleuse.rb +327 -0
  504. data/test/soap/wsdlDriver/README.txt +2 -0
  505. data/test/soap/wsdlDriver/calc.wsdl +126 -0
  506. data/test/soap/wsdlDriver/document.wsdl +54 -0
  507. data/test/soap/wsdlDriver/echo_version.rb +29 -0
  508. data/test/soap/wsdlDriver/simpletype.wsdl +63 -0
  509. data/test/soap/wsdlDriver/test_calc.rb +72 -0
  510. data/test/soap/wsdlDriver/test_document.rb +72 -0
  511. data/test/soap/wsdlDriver/test_simpletype.rb +81 -0
  512. data/test/test_helper.rb +82 -0
  513. data/test/wsdl/abstract/abstract.rb +102 -0
  514. data/test/wsdl/abstract/abstract.wsdl +176 -0
  515. data/test/wsdl/abstract/abstractDriver.rb +73 -0
  516. data/test/wsdl/abstract/abstractMappingRegistry.rb +139 -0
  517. data/test/wsdl/abstract/test_abstract.rb +158 -0
  518. data/test/wsdl/anonymous/expectedClassDef.rb +128 -0
  519. data/test/wsdl/anonymous/expectedDriver.rb +61 -0
  520. data/test/wsdl/anonymous/expectedMappingRegistry.rb +176 -0
  521. data/test/wsdl/anonymous/lp.rb +128 -0
  522. data/test/wsdl/anonymous/lp.wsdl +147 -0
  523. data/test/wsdl/anonymous/lpDriver.rb +61 -0
  524. data/test/wsdl/anonymous/lpMappingRegistry.rb +176 -0
  525. data/test/wsdl/anonymous/test_anonymous.rb +130 -0
  526. data/test/wsdl/any/any.wsdl +114 -0
  527. data/test/wsdl/any/echo.rb +57 -0
  528. data/test/wsdl/any/echoDriver.rb +70 -0
  529. data/test/wsdl/any/echoMappingRegistry.rb +63 -0
  530. data/test/wsdl/any/echoServant.rb +52 -0
  531. data/test/wsdl/any/echo_service.rb +69 -0
  532. data/test/wsdl/any/echo_serviceClient.rb +52 -0
  533. data/test/wsdl/any/expectedDriver.rb +70 -0
  534. data/test/wsdl/any/expectedEcho.rb +57 -0
  535. data/test/wsdl/any/expectedMappingRegistry.rb +63 -0
  536. data/test/wsdl/any/expectedService.rb +69 -0
  537. data/test/wsdl/any/test_any.rb +193 -0
  538. data/test/wsdl/axisArray/axisArray.wsdl +87 -0
  539. data/test/wsdl/axisArray/itemList.rb +31 -0
  540. data/test/wsdl/axisArray/itemListDriver.rb +62 -0
  541. data/test/wsdl/axisArray/itemListMappingRegistry.rb +60 -0
  542. data/test/wsdl/axisArray/test_axisarray.rb +124 -0
  543. data/test/wsdl/choice/choice.rb +117 -0
  544. data/test/wsdl/choice/choice.wsdl +167 -0
  545. data/test/wsdl/choice/choiceDriver.rb +69 -0
  546. data/test/wsdl/choice/choiceMappingRegistry.rb +131 -0
  547. data/test/wsdl/choice/test_choice.rb +310 -0
  548. data/test/wsdl/complexcontent/complexContent.rb +40 -0
  549. data/test/wsdl/complexcontent/complexContent.wsdl +83 -0
  550. data/test/wsdl/complexcontent/complexContentMappingRegistry.rb +67 -0
  551. data/test/wsdl/complexcontent/test_echo.rb +89 -0
  552. data/test/wsdl/datetime/DatetimeService.rb +44 -0
  553. data/test/wsdl/datetime/datetime.rb +0 -0
  554. data/test/wsdl/datetime/datetime.wsdl +45 -0
  555. data/test/wsdl/datetime/datetimeServant.rb +22 -0
  556. data/test/wsdl/datetime/test_datetime.rb +88 -0
  557. data/test/wsdl/document/array/double.rb +114 -0
  558. data/test/wsdl/document/array/double.wsdl +161 -0
  559. data/test/wsdl/document/array/doubleDriver.rb +69 -0
  560. data/test/wsdl/document/array/doubleMappingRegistry.rb +115 -0
  561. data/test/wsdl/document/array/test_array.rb +202 -0
  562. data/test/wsdl/document/document.wsdl +76 -0
  563. data/test/wsdl/document/echo.rb +120 -0
  564. data/test/wsdl/document/echoDriver.rb +53 -0
  565. data/test/wsdl/document/echoMappingRegistry.rb +64 -0
  566. data/test/wsdl/document/number.wsdl +54 -0
  567. data/test/wsdl/document/ping_nosoapaction.wsdl +66 -0
  568. data/test/wsdl/document/test_nosoapaction.rb +102 -0
  569. data/test/wsdl/document/test_number.rb +92 -0
  570. data/test/wsdl/document/test_rpc.rb +351 -0
  571. data/test/wsdl/emptycomplextype.wsdl +31 -0
  572. data/test/wsdl/fault/Add.rb +53 -0
  573. data/test/wsdl/fault/AddMappingRegistry.rb +46 -0
  574. data/test/wsdl/fault/AddServant.rb +28 -0
  575. data/test/wsdl/fault/AddService.rb +51 -0
  576. data/test/wsdl/fault/fault.wsdl +79 -0
  577. data/test/wsdl/fault/multifault.wsdl +96 -0
  578. data/test/wsdl/fault/test_fault.rb +119 -0
  579. data/test/wsdl/fault/test_multifault.rb +133 -0
  580. data/test/wsdl/group/echo.rb +58 -0
  581. data/test/wsdl/group/echoDriver.rb +53 -0
  582. data/test/wsdl/group/echoMappingRegistry.rb +67 -0
  583. data/test/wsdl/group/expectedClassdef.rb +58 -0
  584. data/test/wsdl/group/expectedDriver.rb +53 -0
  585. data/test/wsdl/group/expectedMappingRegistry.rb +67 -0
  586. data/test/wsdl/group/group.wsdl +88 -0
  587. data/test/wsdl/group/test_rpc.rb +145 -0
  588. data/test/wsdl/list/list.rb +55 -0
  589. data/test/wsdl/list/list.wsdl +93 -0
  590. data/test/wsdl/list/listDriver.rb +53 -0
  591. data/test/wsdl/list/listMappingRegistry.rb +40 -0
  592. data/test/wsdl/list/test_list.rb +123 -0
  593. data/test/wsdl/map/map.wsdl +92 -0
  594. data/test/wsdl/map/map.xml +43 -0
  595. data/test/wsdl/map/test_map.rb +100 -0
  596. data/test/wsdl/marshal/Person.rb +23 -0
  597. data/test/wsdl/marshal/person.wsdl +21 -0
  598. data/test/wsdl/marshal/person_org.rb +23 -0
  599. data/test/wsdl/marshal/test_wsdlmarshal.rb +76 -0
  600. data/test/wsdl/multiplefault.wsdl +75 -0
  601. data/test/wsdl/oneway/oneway.rb +17 -0
  602. data/test/wsdl/oneway/oneway.wsdl +36 -0
  603. data/test/wsdl/oneway/onewayDriver.rb +52 -0
  604. data/test/wsdl/oneway/onewayMappingRegistry.rb +20 -0
  605. data/test/wsdl/oneway/test_oneway.rb +107 -0
  606. data/test/wsdl/overload/OverloadServiceClient.rb +37 -0
  607. data/test/wsdl/overload/default.rb +1 -0
  608. data/test/wsdl/overload/defaultDriver.rb +61 -0
  609. data/test/wsdl/overload/defaultMappingRegistry.rb +8 -0
  610. data/test/wsdl/overload/defaultServant.rb +35 -0
  611. data/test/wsdl/overload/expectedClient.rb +37 -0
  612. data/test/wsdl/overload/expectedDriver.rb +61 -0
  613. data/test/wsdl/overload/expectedServant.rb +35 -0
  614. data/test/wsdl/overload/overload.wsdl +70 -0
  615. data/test/wsdl/overload/test_overload.rb +131 -0
  616. data/test/wsdl/qualified/default.rb +30 -0
  617. data/test/wsdl/qualified/defaultDriver.rb +51 -0
  618. data/test/wsdl/qualified/defaultMappingRegistry.rb +29 -0
  619. data/test/wsdl/qualified/lp.rb +45 -0
  620. data/test/wsdl/qualified/lp.wsdl +47 -0
  621. data/test/wsdl/qualified/lp.xsd +26 -0
  622. data/test/wsdl/qualified/lpDriver.rb +51 -0
  623. data/test/wsdl/qualified/lpMappingRegistry.rb +96 -0
  624. data/test/wsdl/qualified/np.wsdl +51 -0
  625. data/test/wsdl/qualified/test_qualified.rb +136 -0
  626. data/test/wsdl/qualified/test_unqualified.rb +138 -0
  627. data/test/wsdl/raa/RAAService.rb +125 -0
  628. data/test/wsdl/raa/README.txt +8 -0
  629. data/test/wsdl/raa/expectedClassDef.rb +100 -0
  630. data/test/wsdl/raa/expectedDriver.rb +96 -0
  631. data/test/wsdl/raa/expectedMappingRegistry.rb +121 -0
  632. data/test/wsdl/raa/raa.wsdl +264 -0
  633. data/test/wsdl/raa/test_raa.rb +128 -0
  634. data/test/wsdl/ref/expectedDriver.rb +53 -0
  635. data/test/wsdl/ref/expectedProduct.rb +243 -0
  636. data/test/wsdl/ref/product.rb +243 -0
  637. data/test/wsdl/ref/product.wsdl +147 -0
  638. data/test/wsdl/ref/productDriver.rb +53 -0
  639. data/test/wsdl/ref/productMappingRegistry.rb +150 -0
  640. data/test/wsdl/ref/test_ref.rb +267 -0
  641. data/test/wsdl/rpc/RPC-Literal-TestDefinitions.rb +90 -0
  642. data/test/wsdl/rpc/RPC-Literal-TestDefinitionsDriver.rb +149 -0
  643. data/test/wsdl/rpc/RPC-Literal-TestDefinitionsMappingRegistry.rb +168 -0
  644. data/test/wsdl/rpc/echo.rb +35 -0
  645. data/test/wsdl/rpc/echoDriver.rb +74 -0
  646. data/test/wsdl/rpc/echoMappingRegistry.rb +46 -0
  647. data/test/wsdl/rpc/rpc.wsdl +109 -0
  648. data/test/wsdl/rpc/test-rpc-lit.wsdl +371 -0
  649. data/test/wsdl/rpc/test_rpc.rb +177 -0
  650. data/test/wsdl/rpc/test_rpc_lit.rb +471 -0
  651. data/test/wsdl/simplecontent/simpleContent.rb +78 -0
  652. data/test/wsdl/simplecontent/simpleContentDriver.rb +53 -0
  653. data/test/wsdl/simplecontent/simpleContentMappingRegistry.rb +77 -0
  654. data/test/wsdl/simplecontent/simplecontent.wsdl +84 -0
  655. data/test/wsdl/simplecontent/test_simplecontent.rb +101 -0
  656. data/test/wsdl/simpletype/rpc/expectedClient.rb +34 -0
  657. data/test/wsdl/simpletype/rpc/expectedDriver.rb +58 -0
  658. data/test/wsdl/simpletype/rpc/expectedEchoVersion.rb +36 -0
  659. data/test/wsdl/simpletype/rpc/expectedMappingRegistry.rb +57 -0
  660. data/test/wsdl/simpletype/rpc/expectedServant.rb +32 -0
  661. data/test/wsdl/simpletype/rpc/expectedService.rb +55 -0
  662. data/test/wsdl/simpletype/rpc/rpc.wsdl +98 -0
  663. data/test/wsdl/simpletype/rpc/test_rpc.rb +52 -0
  664. data/test/wsdl/simpletype/simpletype.wsdl +114 -0
  665. data/test/wsdl/simpletype/test_simpletype.rb +93 -0
  666. data/test/wsdl/soap/soapbodyparts.wsdl +103 -0
  667. data/test/wsdl/soap/test_soapbodyparts.rb +80 -0
  668. data/test/wsdl/soap/wsdl2ruby/expectedClassdef.rb +21 -0
  669. data/test/wsdl/soap/wsdl2ruby/expectedClient.rb +34 -0
  670. data/test/wsdl/soap/wsdl2ruby/expectedDriver.rb +58 -0
  671. data/test/wsdl/soap/wsdl2ruby/expectedMappingRegistry.rb +36 -0
  672. data/test/wsdl/soap/wsdl2ruby/expectedServant.rb +32 -0
  673. data/test/wsdl/soap/wsdl2ruby/expectedService.cgi +48 -0
  674. data/test/wsdl/soap/wsdl2ruby/expectedService.rb +55 -0
  675. data/test/wsdl/soap/wsdl2ruby/rpc.wsdl +80 -0
  676. data/test/wsdl/soap/wsdl2ruby/section/expectedClassdef.rb +37 -0
  677. data/test/wsdl/soap/wsdl2ruby/section/mysample.rb +37 -0
  678. data/test/wsdl/soap/wsdl2ruby/section/section.xsd +31 -0
  679. data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +53 -0
  680. data/test/wsdl/soap/wsdl2ruby/soapenc/echo.rb +21 -0
  681. data/test/wsdl/soap/wsdl2ruby/soapenc/soapenc.wsdl +64 -0
  682. data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +83 -0
  683. data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +102 -0
  684. data/test/wsdl/soaptype/echo.rb +23 -0
  685. data/test/wsdl/soaptype/echoDriver.rb +55 -0
  686. data/test/wsdl/soaptype/echoMappingRegistry.rb +32 -0
  687. data/test/wsdl/soaptype/soaptype.wsdl +61 -0
  688. data/test/wsdl/soaptype/test_soaptype.rb +176 -0
  689. data/test/wsdl/test_emptycomplextype.rb +21 -0
  690. data/test/wsdl/test_fault.rb +50 -0
  691. data/test/wsdl/test_multiplefault.rb +41 -0
  692. data/test/xsd/codegen/test_classdef.rb +244 -0
  693. data/test/xsd/noencoding.xml +4 -0
  694. data/test/xsd/test_iconvcharset.rb +20 -0
  695. data/test/xsd/test_noencoding.rb +33 -0
  696. data/test/xsd/test_ns.rb +41 -0
  697. data/test/xsd/test_xmlschemaparser.rb +22 -0
  698. data/test/xsd/test_xsd.rb +1640 -0
  699. data/test/xsd/xmllang.xml +43 -0
  700. data/test/xsd/xmlschema.xml +12 -0
  701. data/test/xsd/xsd2ruby/expected_mysample.rb +65 -0
  702. data/test/xsd/xsd2ruby/expected_mysample_mapper.rb +11 -0
  703. data/test/xsd/xsd2ruby/expected_mysample_mapping_registry.rb +51 -0
  704. data/test/xsd/xsd2ruby/mysample.rb +65 -0
  705. data/test/xsd/xsd2ruby/mysample_mapper.rb +11 -0
  706. data/test/xsd/xsd2ruby/mysample_mapping_registry.rb +51 -0
  707. data/test/xsd/xsd2ruby/section.xsd +49 -0
  708. data/test/xsd/xsd2ruby/test_xsd2ruby.rb +89 -0
  709. metadata +762 -24
  710. data/lib/xsd/xmlparser/nokogiriparser.rb +0 -63
  711. data/lib/xsd/xmlparser/ogaparser.rb +0 -53
  712. data/lib/xsd/xmlparser/oxparser.rb +0 -97
data/Gemfile.lock ADDED
@@ -0,0 +1,221 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rtiss_soap4r (3.0.0.beta)
5
+ addressable
6
+ cookiejar (~> 0.3.4)
7
+ httpclient (~> 2.9)
8
+ libxml-ruby (~> 5.0, >= 5.0.3)
9
+ logger-application
10
+ nokogiri (~> 1.16, >= 1.16.2)
11
+ oga (~> 3.4)
12
+ ox (~> 2.14, >= 2.14.22)
13
+ rake
14
+ savon (~> 2.14)
15
+ webrick (~> 1.9, >= 1.9.1)
16
+
17
+ GEM
18
+ remote: http://rubygems.org/
19
+ specs:
20
+ activesupport (8.0.2)
21
+ base64
22
+ benchmark (>= 0.3)
23
+ bigdecimal
24
+ concurrent-ruby (~> 1.0, >= 1.3.1)
25
+ connection_pool (>= 2.2.5)
26
+ drb
27
+ i18n (>= 1.6, < 2)
28
+ logger (>= 1.4.2)
29
+ minitest (>= 5.1)
30
+ securerandom (>= 0.3)
31
+ tzinfo (~> 2.0, >= 2.0.5)
32
+ uri (>= 0.13.1)
33
+ addressable (2.4.0)
34
+ akami (1.3.3)
35
+ base64
36
+ gyoku (>= 0.4.0)
37
+ nokogiri
38
+ ansi (1.5.0)
39
+ ast (2.4.3)
40
+ awesome_print (1.9.2)
41
+ base64 (0.2.0)
42
+ benchmark (0.4.0)
43
+ bigdecimal (3.1.9)
44
+ builder (3.3.0)
45
+ byebug (12.0.0)
46
+ codeclimate-test-reporter (1.0.9)
47
+ simplecov (<= 0.13)
48
+ coderay (1.1.3)
49
+ concurrent-ruby (1.3.5)
50
+ connection_pool (2.5.0)
51
+ cookiejar (0.3.4)
52
+ date (3.4.1)
53
+ descendants_tracker (0.0.4)
54
+ thread_safe (~> 0.3, >= 0.3.1)
55
+ docile (1.1.5)
56
+ drb (2.2.1)
57
+ faraday (0.9.2)
58
+ multipart-post (>= 1.2, < 3)
59
+ git (1.11.0)
60
+ rchardet (~> 1.8)
61
+ github_api (0.16.0)
62
+ addressable (~> 2.4.0)
63
+ descendants_tracker (~> 0.0.4)
64
+ faraday (~> 0.8, < 0.10)
65
+ hashie (>= 3.4)
66
+ mime-types (>= 1.16, < 3.0)
67
+ oauth2 (~> 1.0)
68
+ gyoku (1.4.0)
69
+ builder (>= 2.1.2)
70
+ rexml (~> 3.0)
71
+ hashie (5.0.0)
72
+ highline (3.1.2)
73
+ reline
74
+ httpclient (2.9.0)
75
+ mutex_m
76
+ httpi (3.0.2)
77
+ base64
78
+ mutex_m
79
+ nkf
80
+ rack (< 3)
81
+ i18n (1.14.7)
82
+ concurrent-ruby (~> 1.0)
83
+ io-console (0.8.0)
84
+ jeweler (2.3.9)
85
+ builder
86
+ bundler
87
+ git (>= 1.2.5)
88
+ github_api (~> 0.16.0)
89
+ highline (>= 1.6.15)
90
+ nokogiri (>= 1.5.10)
91
+ psych
92
+ rake
93
+ rdoc
94
+ semver2
95
+ json (2.10.2)
96
+ jwt (2.10.1)
97
+ base64
98
+ libxml-ruby (5.0.3)
99
+ logger (1.7.0)
100
+ logger-application (0.0.2)
101
+ mail (2.8.1)
102
+ mini_mime (>= 0.1.1)
103
+ net-imap
104
+ net-pop
105
+ net-smtp
106
+ method_source (1.1.0)
107
+ mime-types (2.99.3)
108
+ mini_mime (1.1.5)
109
+ minitest (5.25.4)
110
+ multi_json (1.15.0)
111
+ multi_xml (0.7.1)
112
+ bigdecimal (~> 3.1)
113
+ multipart-post (2.4.1)
114
+ mutex_m (0.3.0)
115
+ net-imap (0.5.6)
116
+ date
117
+ net-protocol
118
+ net-pop (0.1.2)
119
+ net-protocol
120
+ net-protocol (0.2.2)
121
+ timeout
122
+ net-smtp (0.5.1)
123
+ net-protocol
124
+ nkf (0.2.0)
125
+ nokogiri (1.18.7-x86_64-linux-gnu)
126
+ racc (~> 1.4)
127
+ nori (2.7.1)
128
+ bigdecimal
129
+ oauth2 (1.4.8)
130
+ faraday (>= 0.8, < 3.0)
131
+ jwt (>= 1.0, < 3.0)
132
+ multi_json (~> 1.3)
133
+ multi_xml (~> 0.5)
134
+ rack (>= 1.2, < 3)
135
+ oga (3.4)
136
+ ast
137
+ ruby-ll (~> 2.1)
138
+ ox (2.14.22)
139
+ bigdecimal (>= 3.0)
140
+ power_assert (2.0.5)
141
+ pry (0.15.2)
142
+ coderay (~> 1.1)
143
+ method_source (~> 1.0)
144
+ psych (5.2.3)
145
+ date
146
+ stringio
147
+ racc (1.8.1)
148
+ rack (2.2.13)
149
+ rake (13.2.1)
150
+ rchardet (1.9.0)
151
+ rdoc (6.13.1)
152
+ psych (>= 4.0.0)
153
+ reline (0.6.1)
154
+ io-console (~> 0.5)
155
+ rexml (3.4.1)
156
+ ruby-ll (2.1.3)
157
+ ansi
158
+ ast
159
+ savon (2.15.0)
160
+ akami (~> 1.2)
161
+ builder (>= 2.1.2)
162
+ gyoku (~> 1.2)
163
+ httpi (>= 2.4.5, < 5)
164
+ mail (~> 2.5)
165
+ nokogiri (>= 1.8.1)
166
+ nori (~> 2.4)
167
+ wasabi (>= 3.7, < 6)
168
+ securerandom (0.4.1)
169
+ semver2 (3.4.2)
170
+ shoulda (4.0.0)
171
+ shoulda-context (~> 2.0)
172
+ shoulda-matchers (~> 4.0)
173
+ shoulda-context (2.0.0)
174
+ shoulda-matchers (4.5.1)
175
+ activesupport (>= 4.2.0)
176
+ simplecov (0.13.0)
177
+ docile (~> 1.1.0)
178
+ json (>= 1.8, < 3)
179
+ simplecov-html (~> 0.10.0)
180
+ simplecov-html (0.10.2)
181
+ stringio (3.1.6)
182
+ test-unit (3.6.8)
183
+ power_assert
184
+ thread_safe (0.3.6)
185
+ timeout (0.4.3)
186
+ tzinfo (2.0.6)
187
+ concurrent-ruby (~> 1.0)
188
+ uri (1.0.3)
189
+ wasabi (4.0.0)
190
+ addressable
191
+ httpi (~> 3.0)
192
+ nokogiri (>= 1.13.9)
193
+ webrick (1.9.1)
194
+
195
+ PLATFORMS
196
+ x86_64-linux
197
+
198
+ DEPENDENCIES
199
+ addressable
200
+ awesome_print
201
+ byebug
202
+ codeclimate-test-reporter
203
+ cookiejar (~> 0.3.4)
204
+ httpclient (~> 2.9)
205
+ jeweler (~> 2.3, >= 2.3.9)
206
+ libxml-ruby (~> 5.0, >= 5.0.3)
207
+ logger-application
208
+ minitest (= 5.25.4)
209
+ nokogiri (~> 1.16, >= 1.16.2)
210
+ oga (~> 3.4)
211
+ ox (~> 2.14, >= 2.14.22)
212
+ pry
213
+ rake
214
+ rtiss_soap4r!
215
+ savon (~> 2.14)
216
+ shoulda
217
+ test-unit
218
+ webrick (~> 1.9, >= 1.9.1)
219
+
220
+ BUNDLED WITH
221
+ 2.4.22
data/README.md ADDED
@@ -0,0 +1,57 @@
1
+ # rtiss_soap4r (soap4r for > Ruby 3.2)
2
+ [![Gem Version](https://badge.fury.io/rb/soap4r-ng.svg)](http://badge.fury.io/rb/soap4r-ng)
3
+ [![GitHub version](https://badge.fury.io/gh/rubyjedi%2Fsoap4r.svg)](http://badge.fury.io/gh/rubyjedi%2Fsoap4r)
4
+ [![Code Climate](https://codeclimate.com/github/rubyjedi/soap4r/badges/gpa.svg)](https://codeclimate.com/github/rubyjedi/soap4r)
5
+ [![Build Status](https://travis-ci.org/rubyjedi/soap4r.svg?branch=master)](https://travis-ci.org/rubyjedi/soap4r)
6
+
7
+ #### Rtiss Soap4R (as maintained by Tu Wien)
8
+
9
+ #### How to Install
10
+ ##### (Bundler Gemfile / GitHub Hosted)
11
+ ```
12
+ ## Performance Boosting Gems
13
+ gem 'ox' # For faster XML Parsing, use Ox or Nokogiri. Ox has highest priority if available.
14
+ gem 'nokogiri' # For faster XML Parsing. If neither Ox nor Nokogiri available, we'll fall back to REXML.
15
+ gem 'httpclient' # Absolutely necessary for soap4r-ng. Net::HTTP Fallback is quite broken, so don't let that happen.
16
+
17
+ ```
18
+ ##### Standard Ruby Gem
19
+ ```
20
+ gem install rtiss_soap4r
21
+ ```
22
+ #### How to Use
23
+ * [NaHi's Original documentation](https://web.archive.org/web/20101212040735/http://dev.ctor.org/soap4r/wiki/) -- the authoritative reference material is still available through the Wayback Machine, thankfully!
24
+ * [Soap4R-NG Website](http://rubyjedi.github.io/soap4r/) -- My own attempt at incorporating and modernizing the above into GitHub Pages -- still a work in progress at this time.
25
+
26
+ #### How to Get a Speed Boost : Use Nokogiri or Ox, not REXML
27
+ Be sure to have Nokogiri or Ox available in your Gemset. Soap4R-ng will find and use what's available (Ox has highest precedence, then Nokogiri, falling back to REXML as the last-resort if needed.
28
+
29
+ I personally recommend **Nokogiri** as the best performing, most flexible parser at this time, as it handles "special characters" like HTML ampersand-escaped characters internally. Ox doesn't handle such an extensive set of special-characters natively, so to get things up to par, I added **htmlentities** support if it's available when using the Ox parser. Using **htmlentities** with **Ox** in this manner adds a bit of a performance penalty, however.
30
+
31
+ If you know your incoming XML is "clean", Ox is a really great alternative.
32
+
33
+ **LibXML** is somewhat broken at this time. It's low-priority on the task list, as **Nokogiri** and **Ox** are more readily available. In fact, I may drop support for the **LibXML** parser in a future release.
34
+
35
+
36
+ #### Project Motivation
37
+
38
+ I have a personal vested interest in making this the ***fastest, most reliable*** successor to [NaHi's original Soap4R library](https://github.com/nahi/soap4r), and in maintaining and documenting **Soap4R** to the best of my reasonably expected ability.
39
+
40
+ Soap4R has received a less-than-stellar reputation amongst the Ruby Community for far too long; and I've grown tired of seeing shoddy advice floating around to abandon **Soap4R** in favor of other SOAP Implementations. That's just nonsense -- especially when you're faced with the challenge of updating large, already-written, revenue-generating systems.
41
+
42
+ IMHO, NaHi did a freaking brilliant job with **Soap4R**. The code is tight, the Unit Tests are astonishingly comprehensive, and -- aside from finding someone willing to invest time to carry **Soap4R** forward -- there's really no good reason why **Soap4R** should be so neglected.
43
+
44
+ In fact, I'd much prefer spending time forward-porting **Soap4R** to keep this known-good foundation library going, versus taking on the risky task of migrating already-written applications to a completely new SOAP implementation. Along the way in this journey, I'm adding support for newer XML Parsers like **[Ox](https://github.com/ohler55/ox)** (which is screaming fast, btw!) and **[Nokogiri](https://github.com/sparklemotion/nokogiri)**. I also have future plans to add support for newer HTTP Clients such as **[Curb](https://github.com/taf2/curb)**.
45
+
46
+ #### Why Name This "Soap4R-ng" ?
47
+ As **[felipec/soap4r](https://github.com/felipec/soap4r)** (now **[soap2r](https://github.com/felipec/soap4r)**) pointed out upon renaming his fork to **soap2r** , there is a LOT of competition to uniquely name the a "successor" to the original Soap4R. **soap2r** came into being because **"[Soap5R](https://github.com/aforward/soap4r)"** had already been claimed. :-)
48
+
49
+ #### Other Soap4R Forks/Networks of Interest
50
+ * [nahi/soap4r](https://github.com/nahi/soap4r) - The original Soap4R by NaHi
51
+ * [spox/soap4r-spox](https://github.com//spox/soap4r-spox) - One of the first Ruby 1.9-compatible forks
52
+ * [felipec/soap4r](https://github.com//felipec/soap4r) - **Soap2R**
53
+
54
+ #### Testing or Contributing
55
+ Diving into the Source? Sure, I can always use more eyes to improve the code quality. Welcome aboard!
56
+
57
+ I assume you know how to check out the Git Repository, set up **rvm** or equivalent environment, and run **Bundler** to pull in the suggested Gems. From there, do a **rake test:surface** to run the smaller set of Unit Tests; or **rake test:deep** to run the complete set of Unit Tests.