soap4r-spox 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (644) hide show
  1. data/COPYING +7 -0
  2. data/GPL +340 -0
  3. data/README.rdoc +35 -0
  4. data/RELEASE_en.html +1900 -0
  5. data/RUBYS +56 -0
  6. data/Rakefile +9 -0
  7. data/bin/wsdl2ruby.rb +137 -0
  8. data/bin/xsd2ruby.rb +90 -0
  9. data/lib/soap/attachment.rb +108 -0
  10. data/lib/soap/attrproxy.rb +34 -0
  11. data/lib/soap/baseData.rb +1094 -0
  12. data/lib/soap/element.rb +277 -0
  13. data/lib/soap/encodingstyle/aspDotNetHandler.rb +207 -0
  14. data/lib/soap/encodingstyle/handler.rb +120 -0
  15. data/lib/soap/encodingstyle/literalHandler.rb +195 -0
  16. data/lib/soap/encodingstyle/soapHandler.rb +559 -0
  17. data/lib/soap/filter.rb +13 -0
  18. data/lib/soap/filter/filterchain.rb +51 -0
  19. data/lib/soap/filter/handler.rb +31 -0
  20. data/lib/soap/filter/streamhandler.rb +29 -0
  21. data/lib/soap/generator.rb +299 -0
  22. data/lib/soap/header/handler.rb +61 -0
  23. data/lib/soap/header/handlerset.rb +70 -0
  24. data/lib/soap/header/mappinghandler.rb +47 -0
  25. data/lib/soap/header/simplehandler.rb +44 -0
  26. data/lib/soap/httpconfigloader.rb +139 -0
  27. data/lib/soap/mapping.rb +12 -0
  28. data/lib/soap/mapping/encodedregistry.rb +537 -0
  29. data/lib/soap/mapping/factory.rb +388 -0
  30. data/lib/soap/mapping/literalregistry.rb +391 -0
  31. data/lib/soap/mapping/mapping.rb +577 -0
  32. data/lib/soap/mapping/registry.rb +295 -0
  33. data/lib/soap/mapping/rubytypeFactory.rb +446 -0
  34. data/lib/soap/mapping/schemadefinition.rb +170 -0
  35. data/lib/soap/mapping/typeMap.rb +105 -0
  36. data/lib/soap/mapping/wsdlencodedregistry.rb +211 -0
  37. data/lib/soap/mapping/wsdlliteralregistry.rb +248 -0
  38. data/lib/soap/marshal.rb +59 -0
  39. data/lib/soap/mimemessage.rb +241 -0
  40. data/lib/soap/nestedexception.rb +42 -0
  41. data/lib/soap/netHttpClient.rb +241 -0
  42. data/lib/soap/ns.rb +34 -0
  43. data/lib/soap/parser.rb +252 -0
  44. data/lib/soap/processor.rb +66 -0
  45. data/lib/soap/property.rb +333 -0
  46. data/lib/soap/proxy.rb +14 -0
  47. data/lib/soap/rpc/cgistub.rb +247 -0
  48. data/lib/soap/rpc/driver.rb +221 -0
  49. data/lib/soap/rpc/element.rb +374 -0
  50. data/lib/soap/rpc/element.rb.orig +374 -0
  51. data/lib/soap/rpc/httpserver.rb +142 -0
  52. data/lib/soap/rpc/methodDef.rb +68 -0
  53. data/lib/soap/rpc/proxy.rb +572 -0
  54. data/lib/soap/rpc/router.rb +662 -0
  55. data/lib/soap/rpc/rpc.rb +25 -0
  56. data/lib/soap/rpc/soaplet.rb +200 -0
  57. data/lib/soap/rpc/standaloneServer.rb +43 -0
  58. data/lib/soap/ruby18ext.rb +13 -0
  59. data/lib/soap/soap.rb +151 -0
  60. data/lib/soap/streamHandler.rb +301 -0
  61. data/lib/soap/wsdlDriver.rb +164 -0
  62. data/lib/wsdl/binding.rb +65 -0
  63. data/lib/wsdl/data.rb +64 -0
  64. data/lib/wsdl/definitions.rb +236 -0
  65. data/lib/wsdl/documentation.rb +32 -0
  66. data/lib/wsdl/import.rb +80 -0
  67. data/lib/wsdl/importer.rb +38 -0
  68. data/lib/wsdl/info.rb +50 -0
  69. data/lib/wsdl/message.rb +54 -0
  70. data/lib/wsdl/operation.rb +151 -0
  71. data/lib/wsdl/operationBinding.rb +240 -0
  72. data/lib/wsdl/param.rb +93 -0
  73. data/lib/wsdl/parser.rb +164 -0
  74. data/lib/wsdl/part.rb +52 -0
  75. data/lib/wsdl/port.rb +66 -0
  76. data/lib/wsdl/portType.rb +75 -0
  77. data/lib/wsdl/service.rb +61 -0
  78. data/lib/wsdl/soap/address.rb +40 -0
  79. data/lib/wsdl/soap/binding.rb +49 -0
  80. data/lib/wsdl/soap/body.rb +58 -0
  81. data/lib/wsdl/soap/cgiStubCreator.rb +92 -0
  82. data/lib/wsdl/soap/classDefCreator.rb +433 -0
  83. data/lib/wsdl/soap/classDefCreatorSupport.rb +240 -0
  84. data/lib/wsdl/soap/classNameCreator.rb +54 -0
  85. data/lib/wsdl/soap/clientSkeltonCreator.rb +104 -0
  86. data/lib/wsdl/soap/complexType.rb +173 -0
  87. data/lib/wsdl/soap/data.rb +42 -0
  88. data/lib/wsdl/soap/definitions.rb +200 -0
  89. data/lib/wsdl/soap/driverCreator.rb +118 -0
  90. data/lib/wsdl/soap/element.rb +33 -0
  91. data/lib/wsdl/soap/encodedMappingRegistryCreator.rb +73 -0
  92. data/lib/wsdl/soap/fault.rb +56 -0
  93. data/lib/wsdl/soap/header.rb +86 -0
  94. data/lib/wsdl/soap/headerfault.rb +56 -0
  95. data/lib/wsdl/soap/literalMappingRegistryCreator.rb +115 -0
  96. data/lib/wsdl/soap/mappingRegistryCreator.rb +58 -0
  97. data/lib/wsdl/soap/mappingRegistryCreatorSupport.rb +376 -0
  98. data/lib/wsdl/soap/methodDefCreator.rb +199 -0
  99. data/lib/wsdl/soap/operation.rb +112 -0
  100. data/lib/wsdl/soap/servantSkeltonCreator.rb +89 -0
  101. data/lib/wsdl/soap/servletStubCreator.rb +104 -0
  102. data/lib/wsdl/soap/standaloneServerStubCreator.rb +100 -0
  103. data/lib/wsdl/soap/wsdl2ruby.rb +217 -0
  104. data/lib/wsdl/types.rb +44 -0
  105. data/lib/wsdl/wsdl.rb +24 -0
  106. data/lib/wsdl/xmlSchema/all.rb +24 -0
  107. data/lib/wsdl/xmlSchema/annotation.rb +34 -0
  108. data/lib/wsdl/xmlSchema/any.rb +61 -0
  109. data/lib/wsdl/xmlSchema/anyAttribute.rb +48 -0
  110. data/lib/wsdl/xmlSchema/attribute.rb +104 -0
  111. data/lib/wsdl/xmlSchema/attributeGroup.rb +68 -0
  112. data/lib/wsdl/xmlSchema/choice.rb +58 -0
  113. data/lib/wsdl/xmlSchema/complexContent.rb +97 -0
  114. data/lib/wsdl/xmlSchema/complexExtension.rb +119 -0
  115. data/lib/wsdl/xmlSchema/complexRestriction.rb +104 -0
  116. data/lib/wsdl/xmlSchema/complexType.rb +193 -0
  117. data/lib/wsdl/xmlSchema/content.rb +95 -0
  118. data/lib/wsdl/xmlSchema/data.rb +116 -0
  119. data/lib/wsdl/xmlSchema/element.rb +153 -0
  120. data/lib/wsdl/xmlSchema/enumeration.rb +36 -0
  121. data/lib/wsdl/xmlSchema/fractiondigits.rb +37 -0
  122. data/lib/wsdl/xmlSchema/group.rb +100 -0
  123. data/lib/wsdl/xmlSchema/import.rb +53 -0
  124. data/lib/wsdl/xmlSchema/importHandler.rb +45 -0
  125. data/lib/wsdl/xmlSchema/importer.rb +102 -0
  126. data/lib/wsdl/xmlSchema/include.rb +48 -0
  127. data/lib/wsdl/xmlSchema/length.rb +37 -0
  128. data/lib/wsdl/xmlSchema/list.rb +48 -0
  129. data/lib/wsdl/xmlSchema/maxexclusive.rb +37 -0
  130. data/lib/wsdl/xmlSchema/maxinclusive.rb +37 -0
  131. data/lib/wsdl/xmlSchema/maxlength.rb +37 -0
  132. data/lib/wsdl/xmlSchema/minexclusive.rb +37 -0
  133. data/lib/wsdl/xmlSchema/mininclusive.rb +37 -0
  134. data/lib/wsdl/xmlSchema/minlength.rb +37 -0
  135. data/lib/wsdl/xmlSchema/parser.rb +167 -0
  136. data/lib/wsdl/xmlSchema/pattern.rb +36 -0
  137. data/lib/wsdl/xmlSchema/ref.rb +33 -0
  138. data/lib/wsdl/xmlSchema/schema.rb +178 -0
  139. data/lib/wsdl/xmlSchema/sequence.rb +54 -0
  140. data/lib/wsdl/xmlSchema/simpleContent.rb +69 -0
  141. data/lib/wsdl/xmlSchema/simpleExtension.rb +62 -0
  142. data/lib/wsdl/xmlSchema/simpleRestriction.rb +132 -0
  143. data/lib/wsdl/xmlSchema/simpleType.rb +87 -0
  144. data/lib/wsdl/xmlSchema/totaldigits.rb +37 -0
  145. data/lib/wsdl/xmlSchema/union.rb +35 -0
  146. data/lib/wsdl/xmlSchema/unique.rb +34 -0
  147. data/lib/wsdl/xmlSchema/whitespace.rb +37 -0
  148. data/lib/wsdl/xmlSchema/xsd2ruby.rb +174 -0
  149. data/lib/xsd/charset.rb +188 -0
  150. data/lib/xsd/codegen.rb +12 -0
  151. data/lib/xsd/codegen/classdef.rb +208 -0
  152. data/lib/xsd/codegen/commentdef.rb +34 -0
  153. data/lib/xsd/codegen/gensupport.rb +273 -0
  154. data/lib/xsd/codegen/methoddef.rb +70 -0
  155. data/lib/xsd/codegen/moduledef.rb +208 -0
  156. data/lib/xsd/datatypes.rb +1466 -0
  157. data/lib/xsd/datatypes1999.rb +20 -0
  158. data/lib/xsd/iconvcharset.rb +33 -0
  159. data/lib/xsd/mapping.rb +68 -0
  160. data/lib/xsd/namedelements.rb +132 -0
  161. data/lib/xsd/ns.rb +182 -0
  162. data/lib/xsd/qname.rb +79 -0
  163. data/lib/xsd/xmlparser.rb +82 -0
  164. data/lib/xsd/xmlparser.rb.orig +76 -0
  165. data/lib/xsd/xmlparser/libxmlparser.rb +119 -0
  166. data/lib/xsd/xmlparser/parser.rb +100 -0
  167. data/lib/xsd/xmlparser/rexmlparser.rb +58 -0
  168. data/lib/xsd/xmlparser/xmlparser.rb +50 -0
  169. data/lib/xsd/xmlparser/xmlscanner.rb +149 -0
  170. data/rubyStyle.css +104 -0
  171. data/sample/attachment/complexmime/EdmService.rb +124 -0
  172. data/sample/attachment/complexmime/README.txt +3 -0
  173. data/sample/attachment/complexmime/client.rb +57 -0
  174. data/sample/attachment/complexmime/drift.cdf +1 -0
  175. data/sample/attachment/complexmime/plaatje.png +1 -0
  176. data/sample/attachment/complexmime/server.rb +68 -0
  177. data/sample/attachment/swa/client.rb +13 -0
  178. data/sample/attachment/swa/server.rb +23 -0
  179. data/sample/basic/apacheClient.rb +92 -0
  180. data/sample/basic/babelfish.rb +16 -0
  181. data/sample/basic/calc/calc.rb +17 -0
  182. data/sample/basic/calc/calc2.rb +29 -0
  183. data/sample/basic/calc/client.rb +26 -0
  184. data/sample/basic/calc/client2.rb +29 -0
  185. data/sample/basic/calc/httpd.rb +20 -0
  186. data/sample/basic/calc/samplehttpd.conf +2 -0
  187. data/sample/basic/calc/server.cgi +15 -0
  188. data/sample/basic/calc/server.fcgi +22 -0
  189. data/sample/basic/calc/server.rb +21 -0
  190. data/sample/basic/calc/server2.rb +24 -0
  191. data/sample/basic/exchange/client.rb +19 -0
  192. data/sample/basic/exchange/exchange.rb +17 -0
  193. data/sample/basic/exchange/httpd.rb +20 -0
  194. data/sample/basic/exchange/samplehttpd.conf +2 -0
  195. data/sample/basic/exchange/server.cgi +14 -0
  196. data/sample/basic/exchange/server.rb +20 -0
  197. data/sample/basic/flickr.rb +26 -0
  198. data/sample/basic/helloworld/client.rb +6 -0
  199. data/sample/basic/helloworld/server.rb +20 -0
  200. data/sample/basic/sampleStruct/client.rb +16 -0
  201. data/sample/basic/sampleStruct/httpd.rb +20 -0
  202. data/sample/basic/sampleStruct/iSampleStruct.rb +22 -0
  203. data/sample/basic/sampleStruct/sampleStruct.rb +13 -0
  204. data/sample/basic/sampleStruct/samplehttpd.conf +2 -0
  205. data/sample/basic/sampleStruct/server.cgi +14 -0
  206. data/sample/basic/sampleStruct/server.rb +20 -0
  207. data/sample/basic/whois.rb +14 -0
  208. data/sample/basic/wsdl_helloworld/README +15 -0
  209. data/sample/basic/wsdl_helloworld/client/default.rb +1 -0
  210. data/sample/basic/wsdl_helloworld/client/defaultDriver.rb +47 -0
  211. data/sample/basic/wsdl_helloworld/client/hws.wsdl +46 -0
  212. data/sample/basic/wsdl_helloworld/client/hwsClient.rb +22 -0
  213. data/sample/basic/wsdl_helloworld/server/hw_s.rb +25 -0
  214. data/sample/basic/wsdl_helloworld/server/hws.wsdl +46 -0
  215. data/sample/basic/yahooNewsSearch.rb +36 -0
  216. data/sample/howto/as_xml/client.rb +22 -0
  217. data/sample/howto/as_xml/server.rb +22 -0
  218. data/sample/howto/base64/client.rb +17 -0
  219. data/sample/howto/base64/server.rb +30 -0
  220. data/sample/howto/custom_ns/client.rb +37 -0
  221. data/sample/howto/custom_ns/server.rb +42 -0
  222. data/sample/howto/documentliteral/README.txt +19 -0
  223. data/sample/howto/documentliteral/client.rb +11 -0
  224. data/sample/howto/documentliteral/echo.wsdl +66 -0
  225. data/sample/howto/documentliteral/servant.rb +11 -0
  226. data/sample/howto/filter/client.rb +42 -0
  227. data/sample/howto/filter/server.rb +67 -0
  228. data/sample/howto/scopesample/client.rb +34 -0
  229. data/sample/howto/scopesample/httpd.rb +22 -0
  230. data/sample/howto/scopesample/samplehttpd.conf +2 -0
  231. data/sample/howto/scopesample/servant.rb +18 -0
  232. data/sample/howto/scopesample/server.cgi +29 -0
  233. data/sample/howto/scopesample/server.rb +20 -0
  234. data/sample/howto/styleuse/client.rb +21 -0
  235. data/sample/howto/styleuse/server.rb +86 -0
  236. data/sample/howto/wsdl_fault/README.txt +11 -0
  237. data/sample/howto/wsdl_fault/fault/AddClient.rb +24 -0
  238. data/sample/howto/wsdl_fault/fault/AddServer.rb +15 -0
  239. data/sample/howto/wsdl_fault/fault/AddServiceImpl.rb +18 -0
  240. data/sample/howto/wsdl_fault/fault/fault.wsdl +79 -0
  241. data/sample/howto/wsdl_fault/multifault/AddClient.rb +28 -0
  242. data/sample/howto/wsdl_fault/multifault/AddServer.rb +15 -0
  243. data/sample/howto/wsdl_fault/multifault/AddServiceImpl.rb +24 -0
  244. data/sample/howto/wsdl_fault/multifault/fault.wsdl +96 -0
  245. data/sample/howto/wsdl_hash/client.rb +11 -0
  246. data/sample/howto/wsdl_hash/hash.wsdl +69 -0
  247. data/sample/howto/wsdl_hash/server.rb +17 -0
  248. data/sample/marshal/customfactory.rb +97 -0
  249. data/sample/marshal/customregistry.rb +17 -0
  250. data/sample/marshal/digraph.rb +43 -0
  251. data/sample/marshal/enum/README.txt +6 -0
  252. data/sample/marshal/enum/enum.xsd +23 -0
  253. data/sample/marshal/enum/enumsample.rb +20 -0
  254. data/sample/marshal/enum/enumsample_mapper.rb +7 -0
  255. data/sample/marshal/enum/enumsample_mapping_registry.rb +23 -0
  256. data/sample/marshal/enum/marshal.rb +9 -0
  257. data/sample/payload/basicauth/client.rb +10 -0
  258. data/sample/payload/basicauth/htpasswd +2 -0
  259. data/sample/payload/basicauth/server.rb +43 -0
  260. data/sample/payload/cookies/calc.rb +52 -0
  261. data/sample/payload/cookies/client.rb +30 -0
  262. data/sample/payload/cookies/filterclient.rb +52 -0
  263. data/sample/payload/cookies/server.rb +24 -0
  264. data/sample/payload/gzipped/client.rb +8 -0
  265. data/sample/payload/gzipped/server.rb +21 -0
  266. data/sample/payload/ssl/files/README +1 -0
  267. data/sample/payload/ssl/files/ca.cert +23 -0
  268. data/sample/payload/ssl/files/client.cert +19 -0
  269. data/sample/payload/ssl/files/client.key +15 -0
  270. data/sample/payload/ssl/files/server.cert +19 -0
  271. data/sample/payload/ssl/files/server.key +15 -0
  272. data/sample/payload/ssl/files/sslclient.properties +5 -0
  273. data/sample/payload/ssl/files/sslclient_require_noserverauth.properties +2 -0
  274. data/sample/payload/ssl/files/sslclient_with_clientauth.properties +9 -0
  275. data/sample/payload/ssl/files/subca.cert +21 -0
  276. data/sample/payload/ssl/sslclient.rb +12 -0
  277. data/sample/payload/ssl/sslclient_require_noserverauth.rb +12 -0
  278. data/sample/payload/ssl/sslclient_with_clientauth.rb +12 -0
  279. data/sample/payload/ssl/sslserver.rb +49 -0
  280. data/sample/payload/ssl/sslserver_noauth.rb +45 -0
  281. data/sample/payload/ssl/sslserver_require_clientauth.rb +50 -0
  282. data/sample/showcase/soap/hippo5tq/hippo5tq.rb +41 -0
  283. data/sample/showcase/soap/hippo5tq/hippo5tq2.rb +99 -0
  284. data/sample/showcase/soap/hippo5tq/hippoClient.rb +106 -0
  285. data/sample/showcase/soap/icd/IICD.rb +17 -0
  286. data/sample/showcase/soap/icd/icd.rb +46 -0
  287. data/sample/showcase/soap/mssoap/README.txt +62 -0
  288. data/sample/showcase/soap/mssoap/client.vba +19 -0
  289. data/sample/showcase/soap/mssoap/stockQuoteService.cgi +44 -0
  290. data/sample/showcase/soap/mssoap/stockQuoteService.rb +9 -0
  291. data/sample/showcase/soap/mssoap/stockQuoteService.wsdl +47 -0
  292. data/sample/showcase/soap/mssoap/stockQuoteServiceClient.rb +26 -0
  293. data/sample/showcase/soap/mssoap/stockQuoteServiceClient.xls +0 -0
  294. data/sample/showcase/soap/mssoap/stockQuoteServicePortTypeDriver.rb +46 -0
  295. data/sample/showcase/soap/netDicV06/INetDicV06.rb +36 -0
  296. data/sample/showcase/soap/netDicV06/netDicV06.rb +16 -0
  297. data/sample/showcase/soap/raa/SOAP__Lite.pl +15 -0
  298. data/sample/showcase/soap/raa/pocketSOAP.js +33 -0
  299. data/sample/showcase/soap/raa2.4/raa.rb +332 -0
  300. data/sample/showcase/soap/raa2.4/raa.wsdl +644 -0
  301. data/sample/showcase/soap/raa2.4/raaDriver.rb +255 -0
  302. data/sample/showcase/soap/raa2.4/raaServiceClient.rb +354 -0
  303. data/sample/showcase/soap/raa2.4/sample.rb +115 -0
  304. data/sample/showcase/soap/rwiki/rwikiClient.rb +29 -0
  305. data/sample/showcase/soap/rwiki/rwikiServer.cgi +44 -0
  306. data/sample/showcase/soap/soapbox/ContactsDataSet.xml +37 -0
  307. data/sample/showcase/soap/soapbox/ExceptionDataSet.xml +23 -0
  308. data/sample/showcase/soap/soapbox/MessageDataSet.xml +8 -0
  309. data/sample/showcase/soap/soapbox/SoapBoxWebService.wsdl +1233 -0
  310. data/sample/showcase/soap/soapbox/SoapBoxWebServiceWithRawXML.wsdl +1226 -0
  311. data/sample/showcase/soap/soapbox/wsdlDriver.rb +23 -0
  312. data/sample/showcase/wsdl/PayPalSvc/client.rb +36 -0
  313. data/sample/showcase/wsdl/amazon/AmazonSearch.rb +3160 -0
  314. data/sample/showcase/wsdl/amazon/AmazonSearchDriver.rb +546 -0
  315. data/sample/showcase/wsdl/amazon/sampleClient.rb +37 -0
  316. data/sample/showcase/wsdl/amazon/wsdlDriver.rb +52 -0
  317. data/sample/showcase/wsdl/amazonEC/client.rb +13 -0
  318. data/sample/showcase/wsdl/eBaySvc/sampleclient.rb +60 -0
  319. data/sample/showcase/wsdl/googleAdwords/CampaignService.wsdl +785 -0
  320. data/sample/showcase/wsdl/googleAdwords/ca.pem +19 -0
  321. data/sample/showcase/wsdl/googleAdwords/client.rb +40 -0
  322. data/sample/showcase/wsdl/googleAdwords/soap/property +1 -0
  323. data/sample/showcase/wsdl/googleSearch/GoogleSearch.rb +97 -0
  324. data/sample/showcase/wsdl/googleSearch/GoogleSearchDriver.rb +102 -0
  325. data/sample/showcase/wsdl/googleSearch/README +6 -0
  326. data/sample/showcase/wsdl/googleSearch/httpd.rb +20 -0
  327. data/sample/showcase/wsdl/googleSearch/sampleClient.rb +56 -0
  328. data/sample/showcase/wsdl/googleSearch/samplehttpd.conf +2 -0
  329. data/sample/showcase/wsdl/googleSearch/sjissearch.sh +3 -0
  330. data/sample/showcase/wsdl/googleSearch/wsdlDriver.rb +29 -0
  331. data/sample/showcase/wsdl/noaa/README.txt +5 -0
  332. data/sample/showcase/wsdl/noaa/client.rb +44 -0
  333. data/sample/showcase/wsdl/noaa/default.rb +46 -0
  334. data/sample/showcase/wsdl/noaa/defaultDriver.rb +66 -0
  335. data/sample/showcase/wsdl/noaa/defaultMappingRegistry.rb +74 -0
  336. data/sample/showcase/wsdl/noaa/ndfdXMLClient.rb +43 -0
  337. data/sample/showcase/wsdl/raa2.4/raa.rb +134 -0
  338. data/sample/showcase/wsdl/raa2.4/raa.wsdl +644 -0
  339. data/sample/showcase/wsdl/raa2.4/wsdlDriver.rb +117 -0
  340. data/sample/showcase/wsdl/rnn/client.rb +59 -0
  341. data/sample/showcase/wsdl/rnn/post.rb +27 -0
  342. data/sample/showcase/wsdl/rnn/rnn-hash.wsdl +282 -0
  343. data/sample/showcase/wsdl/rnn/rnn.wsdl +310 -0
  344. data/sample/showcase/wsdl/rnn/submit.rb +63 -0
  345. data/sample/showcase/wsdl/salesforce/SforceServiceClient.rb +280 -0
  346. data/sample/showcase/wsdl/salesforce/ca.pem +35 -0
  347. data/sample/showcase/wsdl/salesforce/client.rb +156 -0
  348. data/sample/showcase/wsdl/salesforce/default.rb +1740 -0
  349. data/sample/showcase/wsdl/salesforce/defaultDriver.rb +165 -0
  350. data/sample/showcase/wsdl/salesforce/soap/property +1 -0
  351. data/sample/soapheader/authheader/authmgr.rb +41 -0
  352. data/sample/soapheader/authheader/client.rb +40 -0
  353. data/sample/soapheader/authheader/client2.rb +42 -0
  354. data/sample/soapheader/authheader/server.rb +73 -0
  355. data/sample/soapheader/authheader/server2.rb +83 -0
  356. data/sample/soapheader/soapext_basicauth/client.rb +25 -0
  357. data/sample/soapheader/soapext_basicauth/mms_MizGIS.rb +701 -0
  358. data/sample/soapheader/soapext_basicauth/mms_MizGIS.wsdl +1007 -0
  359. data/sample/soapheader/soapext_basicauth/mms_MizGISClient.rb +231 -0
  360. data/sample/soapheader/soapext_basicauth/mms_MizGISDriver.rb +210 -0
  361. data/sample/soapheader/soapext_basicauth/mms_MizGISMappingRegistry.rb +1232 -0
  362. data/setup.rb +1585 -0
  363. data/soap4r-spox.gemspec +12 -0
  364. data/test/16runner.rb +68 -0
  365. data/test/interopR2/README.txt +2 -0
  366. data/test/interopR2/SOAPBuildersInterop_R2.wsdl +461 -0
  367. data/test/interopR2/SOAPBuildersInterop_R2GrB.wsdl +19 -0
  368. data/test/interopR2/base.rb +288 -0
  369. data/test/interopR2/client.NetRemoting.rb +17 -0
  370. data/test/interopR2/client.rb +1234 -0
  371. data/test/interopR2/client4S4C.rb +15 -0
  372. data/test/interopR2/client4S4C2.rb +14 -0
  373. data/test/interopR2/clientASP.NET.rb +17 -0
  374. data/test/interopR2/clientApacheAxis.rb +16 -0
  375. data/test/interopR2/clientApacheSOAP.rb +17 -0
  376. data/test/interopR2/clientBEAWebLogic.rb +17 -0
  377. data/test/interopR2/clientBase.rb +1967 -0
  378. data/test/interopR2/clientCapeConnect.rb +18 -0
  379. data/test/interopR2/clientDelphi.rb +19 -0
  380. data/test/interopR2/clientEasySoap.rb +14 -0
  381. data/test/interopR2/clientFrontier.rb +25 -0
  382. data/test/interopR2/clientGLUE.rb +32 -0
  383. data/test/interopR2/clientHP.rb +13 -0
  384. data/test/interopR2/clientJAX-RPC.rb +19 -0
  385. data/test/interopR2/clientJSOAP.rb +14 -0
  386. data/test/interopR2/clientKafkaXSLT.rb +15 -0
  387. data/test/interopR2/clientMSSOAPToolkit2.0.rb +17 -0
  388. data/test/interopR2/clientMSSOAPToolkit3.0.rb +17 -0
  389. data/test/interopR2/clientNuSOAP.rb +19 -0
  390. data/test/interopR2/clientNuWave.rb +15 -0
  391. data/test/interopR2/clientOpenLink.rb +15 -0
  392. data/test/interopR2/clientOracle.rb +15 -0
  393. data/test/interopR2/clientPEAR.rb +18 -0
  394. data/test/interopR2/clientPhalanx.rb +18 -0
  395. data/test/interopR2/clientSIMACE.rb +18 -0
  396. data/test/interopR2/clientSOAP4R.rb +18 -0
  397. data/test/interopR2/clientSOAP__Lite.rb +14 -0
  398. data/test/interopR2/clientSQLData.rb +18 -0
  399. data/test/interopR2/clientSilverStream.rb +17 -0
  400. data/test/interopR2/clientSpray2001.rb +17 -0
  401. data/test/interopR2/clientSun.rb +19 -0
  402. data/test/interopR2/clientVWOpentalkSoap.rb +19 -0
  403. data/test/interopR2/clientWASP.rb +19 -0
  404. data/test/interopR2/clientWASPC.rb +18 -0
  405. data/test/interopR2/clientWebMethods.rb +15 -0
  406. data/test/interopR2/clientWhiteMesa.rb +28 -0
  407. data/test/interopR2/clientWingfoot.rb +15 -0
  408. data/test/interopR2/clientXMLBus.rb +19 -0
  409. data/test/interopR2/clientXMLRPC-EPI.rb +17 -0
  410. data/test/interopR2/clientXSOAP.rb +14 -0
  411. data/test/interopR2/clientZSI.rb +19 -0
  412. data/test/interopR2/clienteSOAP.rb +18 -0
  413. data/test/interopR2/clientgSOAP.rb +18 -0
  414. data/test/interopR2/clientkSOAP.rb +17 -0
  415. data/test/interopR2/iSimonReg.rb +112 -0
  416. data/test/interopR2/interopResultBase.rb +114 -0
  417. data/test/interopR2/interopService.rb +247 -0
  418. data/test/interopR2/rwikiInteropService.rb +105 -0
  419. data/test/interopR2/server.cgi +270 -0
  420. data/test/interopR2/server.rb +275 -0
  421. data/test/interopR2/simonReg.rb +123 -0
  422. data/test/interopR2/test.sh +49 -0
  423. data/test/interopR4/client.rb +112 -0
  424. data/test/results +4810 -0
  425. data/test/runner.rb +7 -0
  426. data/test/sm11/classDef.rb +156 -0
  427. data/test/sm11/client.rb +542 -0
  428. data/test/sm11/driver.rb +183 -0
  429. data/test/sm11/servant.rb +1067 -0
  430. data/test/sm11/server.rb +25 -0
  431. data/test/soap/asp.net/hello.wsdl +96 -0
  432. data/test/soap/asp.net/test_aspdotnet.rb +123 -0
  433. data/test/soap/auth/htdigest +2 -0
  434. data/test/soap/auth/htpasswd +2 -0
  435. data/test/soap/auth/test_basic.rb +117 -0
  436. data/test/soap/auth/test_digest.rb +118 -0
  437. data/test/soap/calc/calc.rb +17 -0
  438. data/test/soap/calc/calc2.rb +29 -0
  439. data/test/soap/calc/server.cgi +13 -0
  440. data/test/soap/calc/server.rb +17 -0
  441. data/test/soap/calc/server2.rb +20 -0
  442. data/test/soap/calc/test_calc.rb +51 -0
  443. data/test/soap/calc/test_calc2.rb +55 -0
  444. data/test/soap/calc/test_calc_cgi.rb +71 -0
  445. data/test/soap/case/test_mapping.rb +57 -0
  446. data/test/soap/fault/test_customfault.rb +60 -0
  447. data/test/soap/fault/test_fault.rb +46 -0
  448. data/test/soap/fault/test_soaparray.rb +35 -0
  449. data/test/soap/filter/test_filter.rb +146 -0
  450. data/test/soap/header/server.cgi +119 -0
  451. data/test/soap/header/session.pstoredb +0 -0
  452. data/test/soap/header/test_authheader.rb +240 -0
  453. data/test/soap/header/test_authheader_cgi.rb +121 -0
  454. data/test/soap/header/test_simplehandler.rb +116 -0
  455. data/test/soap/helloworld/hw_s.rb +16 -0
  456. data/test/soap/helloworld/test_helloworld.rb +43 -0
  457. data/test/soap/htpasswd +2 -0
  458. data/test/soap/literalArrayMapping/amazonEc.rb +4778 -0
  459. data/test/soap/literalArrayMapping/amazonEcDriver.rb +172 -0
  460. data/test/soap/literalArrayMapping/amazonresponse.xml +100 -0
  461. data/test/soap/literalArrayMapping/test_definedarray.rb +34 -0
  462. data/test/soap/marshal/marshaltestlib.rb +494 -0
  463. data/test/soap/marshal/test_digraph.rb +56 -0
  464. data/test/soap/marshal/test_marshal.rb +26 -0
  465. data/test/soap/marshal/test_struct.rb +47 -0
  466. data/test/soap/ssl/README +1 -0
  467. data/test/soap/ssl/ca.cert +23 -0
  468. data/test/soap/ssl/client.cert +19 -0
  469. data/test/soap/ssl/client.key +15 -0
  470. data/test/soap/ssl/server.cert +19 -0
  471. data/test/soap/ssl/server.key +15 -0
  472. data/test/soap/ssl/sslsvr.rb +57 -0
  473. data/test/soap/ssl/subca.cert +21 -0
  474. data/test/soap/ssl/test_ssl.rb +235 -0
  475. data/test/soap/struct/test_struct.rb +70 -0
  476. data/test/soap/styleuse/client.rb +20 -0
  477. data/test/soap/styleuse/server.rb +86 -0
  478. data/test/soap/swa/test_file.rb +75 -0
  479. data/test/soap/test_basetype.rb +1090 -0
  480. data/test/soap/test_cookie.rb +112 -0
  481. data/test/soap/test_custom_ns.rb +105 -0
  482. data/test/soap/test_custommap.rb +110 -0
  483. data/test/soap/test_empty.rb +105 -0
  484. data/test/soap/test_envelopenamespace.rb +85 -0
  485. data/test/soap/test_extraattr.rb +54 -0
  486. data/test/soap/test_generator.rb +27 -0
  487. data/test/soap/test_httpconfigloader.rb +71 -0
  488. data/test/soap/test_mapping.rb +131 -0
  489. data/test/soap/test_nestedexception.rb +56 -0
  490. data/test/soap/test_nil.rb +57 -0
  491. data/test/soap/test_no_indent.rb +88 -0
  492. data/test/soap/test_property.rb +428 -0
  493. data/test/soap/test_response_as_xml.rb +117 -0
  494. data/test/soap/test_soapelement.rb +138 -0
  495. data/test/soap/test_streamhandler.rb +270 -0
  496. data/test/soap/test_styleuse.rb +326 -0
  497. data/test/soap/wsdlDriver/README.txt +2 -0
  498. data/test/soap/wsdlDriver/calc.wsdl +126 -0
  499. data/test/soap/wsdlDriver/document.wsdl +54 -0
  500. data/test/soap/wsdlDriver/echo_version.rb +29 -0
  501. data/test/soap/wsdlDriver/simpletype.wsdl +63 -0
  502. data/test/soap/wsdlDriver/test_calc.rb +71 -0
  503. data/test/soap/wsdlDriver/test_document.rb +71 -0
  504. data/test/soap/wsdlDriver/test_simpletype.rb +80 -0
  505. data/test/testutil.rb +54 -0
  506. data/test/wsdl/abstract/abstract.wsdl +176 -0
  507. data/test/wsdl/abstract/test_abstract.rb +159 -0
  508. data/test/wsdl/anonymous/expectedClassDef.rb +128 -0
  509. data/test/wsdl/anonymous/expectedDriver.rb +59 -0
  510. data/test/wsdl/anonymous/expectedMappingRegistry.rb +176 -0
  511. data/test/wsdl/anonymous/lp.wsdl +147 -0
  512. data/test/wsdl/anonymous/test_anonymous.rb +130 -0
  513. data/test/wsdl/any/any.wsdl +114 -0
  514. data/test/wsdl/any/expectedDriver.rb +68 -0
  515. data/test/wsdl/any/expectedEcho.rb +57 -0
  516. data/test/wsdl/any/expectedMappingRegistry.rb +63 -0
  517. data/test/wsdl/any/expectedService.rb +69 -0
  518. data/test/wsdl/any/test_any.rb +193 -0
  519. data/test/wsdl/axisArray/axisArray.wsdl +87 -0
  520. data/test/wsdl/axisArray/test_axisarray.rb +124 -0
  521. data/test/wsdl/choice/choice.wsdl +167 -0
  522. data/test/wsdl/choice/test_choice.rb +310 -0
  523. data/test/wsdl/complexcontent/complexContent.wsdl +83 -0
  524. data/test/wsdl/complexcontent/test_echo.rb +90 -0
  525. data/test/wsdl/datetime/DatetimeService.rb +44 -0
  526. data/test/wsdl/datetime/datetime.rb +0 -0
  527. data/test/wsdl/datetime/datetime.wsdl +45 -0
  528. data/test/wsdl/datetime/datetimeServant.rb +22 -0
  529. data/test/wsdl/datetime/test_datetime.rb +86 -0
  530. data/test/wsdl/document/array/double.wsdl +161 -0
  531. data/test/wsdl/document/array/test_array.rb +201 -0
  532. data/test/wsdl/document/document.wsdl +76 -0
  533. data/test/wsdl/document/number.wsdl +54 -0
  534. data/test/wsdl/document/ping_nosoapaction.wsdl +66 -0
  535. data/test/wsdl/document/test_nosoapaction.rb +102 -0
  536. data/test/wsdl/document/test_number.rb +92 -0
  537. data/test/wsdl/document/test_rpc.rb +355 -0
  538. data/test/wsdl/emptycomplextype.wsdl +31 -0
  539. data/test/wsdl/fault/fault.wsdl +79 -0
  540. data/test/wsdl/fault/multifault.wsdl +96 -0
  541. data/test/wsdl/fault/test_fault.rb +119 -0
  542. data/test/wsdl/fault/test_multifault.rb +134 -0
  543. data/test/wsdl/group/expectedClassdef.rb +58 -0
  544. data/test/wsdl/group/expectedDriver.rb +51 -0
  545. data/test/wsdl/group/expectedMappingRegistry.rb +67 -0
  546. data/test/wsdl/group/group.wsdl +88 -0
  547. data/test/wsdl/group/test_rpc.rb +145 -0
  548. data/test/wsdl/list/list.wsdl +93 -0
  549. data/test/wsdl/list/test_list.rb +124 -0
  550. data/test/wsdl/map/map.wsdl +92 -0
  551. data/test/wsdl/map/map.xml +43 -0
  552. data/test/wsdl/map/test_map.rb +99 -0
  553. data/test/wsdl/marshal/Person.rb +1 -0
  554. data/test/wsdl/marshal/person.wsdl +21 -0
  555. data/test/wsdl/marshal/person_org.rb +23 -0
  556. data/test/wsdl/marshal/test_wsdlmarshal.rb +76 -0
  557. data/test/wsdl/multiplefault.wsdl +75 -0
  558. data/test/wsdl/oneway/oneway.wsdl +36 -0
  559. data/test/wsdl/oneway/test_oneway.rb +108 -0
  560. data/test/wsdl/overload/expectedClient.rb +37 -0
  561. data/test/wsdl/overload/expectedDriver.rb +61 -0
  562. data/test/wsdl/overload/expectedServant.rb +35 -0
  563. data/test/wsdl/overload/overload.wsdl +70 -0
  564. data/test/wsdl/overload/test_overload.rb +131 -0
  565. data/test/wsdl/qualified/lp.wsdl +47 -0
  566. data/test/wsdl/qualified/lp.xsd +26 -0
  567. data/test/wsdl/qualified/np.wsdl +51 -0
  568. data/test/wsdl/qualified/test_qualified.rb +137 -0
  569. data/test/wsdl/qualified/test_unqualified.rb +138 -0
  570. data/test/wsdl/raa/RAAService.rb +125 -0
  571. data/test/wsdl/raa/README.txt +8 -0
  572. data/test/wsdl/raa/expectedClassDef.rb +100 -0
  573. data/test/wsdl/raa/expectedDriver.rb +96 -0
  574. data/test/wsdl/raa/expectedMappingRegistry.rb +121 -0
  575. data/test/wsdl/raa/raa.wsdl +264 -0
  576. data/test/wsdl/raa/test_raa.rb +126 -0
  577. data/test/wsdl/ref/expectedDriver.rb +51 -0
  578. data/test/wsdl/ref/expectedProduct.rb +243 -0
  579. data/test/wsdl/ref/product.wsdl +147 -0
  580. data/test/wsdl/ref/test_ref.rb +268 -0
  581. data/test/wsdl/rpc/rpc.wsdl +109 -0
  582. data/test/wsdl/rpc/test-rpc-lit.wsdl +371 -0
  583. data/test/wsdl/rpc/test_rpc.rb +176 -0
  584. data/test/wsdl/rpc/test_rpc_lit.rb +470 -0
  585. data/test/wsdl/simplecontent/simplecontent.wsdl +84 -0
  586. data/test/wsdl/simplecontent/test_simplecontent.rb +102 -0
  587. data/test/wsdl/simpletype/rpc/echo_version.rb +1 -0
  588. data/test/wsdl/simpletype/rpc/echo_versionDriver.rb +10 -0
  589. data/test/wsdl/simpletype/rpc/echo_versionMappingRegistry.rb +4 -0
  590. data/test/wsdl/simpletype/rpc/echo_versionServant.rb +3 -0
  591. data/test/wsdl/simpletype/rpc/echo_version_service.rb +3 -0
  592. data/test/wsdl/simpletype/rpc/echo_version_serviceClient.rb +34 -0
  593. data/test/wsdl/simpletype/rpc/expectedClient.rb +34 -0
  594. data/test/wsdl/simpletype/rpc/expectedDriver.rb +58 -0
  595. data/test/wsdl/simpletype/rpc/expectedEchoVersion.rb +36 -0
  596. data/test/wsdl/simpletype/rpc/expectedMappingRegistry.rb +57 -0
  597. data/test/wsdl/simpletype/rpc/expectedServant.rb +32 -0
  598. data/test/wsdl/simpletype/rpc/expectedService.rb +55 -0
  599. data/test/wsdl/simpletype/rpc/rpc.wsdl +98 -0
  600. data/test/wsdl/simpletype/rpc/test_rpc.rb +52 -0
  601. data/test/wsdl/simpletype/simpletype.wsdl +114 -0
  602. data/test/wsdl/simpletype/test_simpletype.rb +92 -0
  603. data/test/wsdl/soap/soapbodyparts.wsdl +103 -0
  604. data/test/wsdl/soap/test_soapbodyparts.rb +79 -0
  605. data/test/wsdl/soap/wsdl2ruby/echo_version.rb +1 -0
  606. data/test/wsdl/soap/wsdl2ruby/echo_versionDriver.rb +10 -0
  607. data/test/wsdl/soap/wsdl2ruby/echo_versionMappingRegistry.rb +4 -0
  608. data/test/wsdl/soap/wsdl2ruby/echo_versionServant.rb +3 -0
  609. data/test/wsdl/soap/wsdl2ruby/echo_version_service.cgi +3 -0
  610. data/test/wsdl/soap/wsdl2ruby/echo_version_service.rb +7 -0
  611. data/test/wsdl/soap/wsdl2ruby/echo_version_serviceClient.rb +34 -0
  612. data/test/wsdl/soap/wsdl2ruby/expectedClassdef.rb +21 -0
  613. data/test/wsdl/soap/wsdl2ruby/expectedClient.rb +34 -0
  614. data/test/wsdl/soap/wsdl2ruby/expectedDriver.rb +58 -0
  615. data/test/wsdl/soap/wsdl2ruby/expectedMappingRegistry.rb +36 -0
  616. data/test/wsdl/soap/wsdl2ruby/expectedServant.rb +32 -0
  617. data/test/wsdl/soap/wsdl2ruby/expectedService.cgi +48 -0
  618. data/test/wsdl/soap/wsdl2ruby/expectedService.rb +55 -0
  619. data/test/wsdl/soap/wsdl2ruby/rpc.wsdl +80 -0
  620. data/test/wsdl/soap/wsdl2ruby/section/expectedClassdef.rb +37 -0
  621. data/test/wsdl/soap/wsdl2ruby/section/section.xsd +31 -0
  622. data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +53 -0
  623. data/test/wsdl/soap/wsdl2ruby/soapenc/soapenc.wsdl +64 -0
  624. data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +83 -0
  625. data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +102 -0
  626. data/test/wsdl/soaptype/soaptype.wsdl +61 -0
  627. data/test/wsdl/soaptype/test_soaptype.rb +178 -0
  628. data/test/wsdl/test_emptycomplextype.rb +21 -0
  629. data/test/wsdl/test_fault.rb +50 -0
  630. data/test/wsdl/test_multiplefault.rb +41 -0
  631. data/test/xsd/codegen/test_classdef.rb +244 -0
  632. data/test/xsd/noencoding.xml +4 -0
  633. data/test/xsd/test_noencoding.rb +32 -0
  634. data/test/xsd/test_ns.rb +41 -0
  635. data/test/xsd/test_xmlschemaparser.rb +22 -0
  636. data/test/xsd/test_xsd.rb +1638 -0
  637. data/test/xsd/xmllang.xml +43 -0
  638. data/test/xsd/xmlschema.xml +12 -0
  639. data/test/xsd/xsd2ruby/expected_mysample.rb +65 -0
  640. data/test/xsd/xsd2ruby/expected_mysample_mapper.rb +11 -0
  641. data/test/xsd/xsd2ruby/expected_mysample_mapping_registry.rb +51 -0
  642. data/test/xsd/xsd2ruby/section.xsd +49 -0
  643. data/test/xsd/xsd2ruby/test_xsd2ruby.rb +90 -0
  644. metadata +689 -0
data/COPYING ADDED
@@ -0,0 +1,7 @@
1
+ SOAP4R, WSDL4R and XSD4R
2
+ Copyright (C) 2000-2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
3
+
4
+ This program is copyrighted free software by NAKAMURA, Hiroshi. You can
5
+ redistribute it and/or modify it under the same terms of Ruby's license;
6
+ either the dual license version in 2003 (see the file RUBYS), or any later
7
+ version.
data/GPL ADDED
@@ -0,0 +1,340 @@
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Library General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License
307
+ along with this program; if not, write to the Free Software
308
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
309
+
310
+
311
+ Also add information on how to contact you by electronic and paper mail.
312
+
313
+ If the program is interactive, make it output a short notice like this
314
+ when it starts in an interactive mode:
315
+
316
+ Gnomovision version 69, Copyright (C) year name of author
317
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
+ This is free software, and you are welcome to redistribute it
319
+ under certain conditions; type `show c' for details.
320
+
321
+ The hypothetical commands `show w' and `show c' should show the appropriate
322
+ parts of the General Public License. Of course, the commands you use may
323
+ be called something other than `show w' and `show c'; they could even be
324
+ mouse-clicks or menu items--whatever suits your program.
325
+
326
+ You should also get your employer (if you work as a programmer) or your
327
+ school, if any, to sign a "copyright disclaimer" for the program, if
328
+ necessary. Here is a sample; alter the names:
329
+
330
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
+
333
+ <signature of Ty Coon>, 1 April 1989
334
+ Ty Coon, President of Vice
335
+
336
+ This General Public License does not permit incorporating your program into
337
+ proprietary programs. If your program is a subroutine library, you may
338
+ consider it more useful to permit linking proprietary applications with the
339
+ library. If this is what you want to do, use the GNU Library General
340
+ Public License instead of this License.
@@ -0,0 +1,35 @@
1
+ == soap4r-spox
2
+
3
+ This is a modified version of the soap4r library to work on Ruby versions
4
+ >= 1.9. The official version can be found {here}[http://dev.ctor.org/soap4r].
5
+
6
+ == Install
7
+
8
+ There is no rubygem for this library. Simply grab the latest version from the
9
+ {download}[http://github.com/spox/soap4r-spox/downloads] page, unpack it and run:
10
+
11
+ ruby setup.rb all
12
+
13
+ That's it.
14
+
15
+ There is still testing to be done. If you find any bugs, please let me know either
16
+ by leaving a bug report, sending me a message to pull from your fixed fork,
17
+ or drop me an email.
18
+
19
+ === Thanks
20
+
21
+ A big thanks to everyone that has been helping squash 1.9 bugs in this library
22
+
23
+ * {simcha}[http://github.com/simcha]
24
+ * {swalterd}[http://github.com/swalterd]
25
+ * {mumboe}[http://github.com/mumboe]
26
+ * {xaviershay}[http://github.com/xaviershay]
27
+ * {stopdropandrew}[http://github.com/stopdropandrew]
28
+ * {dlangevin}[http://github.com/dlangevin]
29
+ * Counterspell
30
+
31
+ ==== Where to find me
32
+
33
+ * Email: spox@modspox.com
34
+ * Github messaging
35
+ * IRC - Freenode and DALNet
@@ -0,0 +1,1900 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
4
+ "DTD/xhtml1-strict.dtd">
5
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
6
+ <head>
7
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8
+ <meta http-equiv="Content-Style-Type" content="text/css" />
9
+ <link rev="MADE" href="mailto:nahi@ruby-lang.org" />
10
+ <link rel="StyleSheet" href="rubyStyle.css" type="text/css" media="screen" />
11
+ <title>Release Notes - SOAP4R</title>
12
+ </head>
13
+ <body>
14
+
15
+ <div class="header">
16
+ <h1>
17
+ Release Notes - SOAP4R
18
+ </h1>
19
+
20
+ <p class="status">
21
+ Last modified: Sep 24, 2007<br />
22
+ Created: July 17, 2000
23
+ </p>
24
+ </div>
25
+
26
+ <hr />
27
+
28
+ <div class="main">
29
+ <h2><span class="content">0. In this document...</span></h2>
30
+
31
+ <p>
32
+ This is Release Notes of SOAP4R.
33
+ </p>
34
+
35
+ <p>
36
+ Target SOAP4R version: SOAP4R/1.5.8
37
+ </p>
38
+
39
+ <ol>
40
+ <li><a href="#changes">Changes</a></li>
41
+ <li><a href="#install">Install</a></li>
42
+ <li><a href="#uninstall">Uninstall</a></li>
43
+ <li><a href="#whats">What is SOAP4R?</a></li>
44
+ <li><a href="#dependencies">Dependencies</a></li>
45
+ <li><a href="#samples">Samples</a></li>
46
+ <li><a href="#resources">Resources</a></li>
47
+ <li><a href="#history">History</a></li>
48
+ <li><a href="#author">Author</a></li>
49
+ <li><a href="#copyright">Copyright</a></li>
50
+ </ol>
51
+
52
+ <h2 id="changes" name="changes"><span class="content">1. Changes</span></h2>
53
+
54
+ <p>
55
+ Version 1.5.8 has improved its XML Schema support, such as
56
+ class generation of XML Schema anonymous complexType,
57
+ full built-in datatypes support of XML Schema Datatypes, and more.
58
+ Here are changes in 1.5.8 from 1.5.7.
59
+ </p>
60
+
61
+ <ul><li>XML Schema
62
+ <ul><li>added classes for the last of built-in datatypes of XML Schema Datatypes (NMTOKEN, NMTOKENS, Name, NCName, ID, IDREF, IDREFS, ENTITY, and ENTITIES). lexical scope is not checked for these datatypes yet. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/340" title="Complete implementation of data types (xsd, soap) (closed)">#340</a>)
63
+ </li><li>added anonymous type support. wsdl2ruby.rb/xsd2ruby.rb maps anonymous type to inner class. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/355" title="let wsdl2ruby.rb support stub class generation of XML anonymous type (closed)">#355</a>)
64
+ </li><li>added support of all XML Schema facets for restriction. No validation implemented yet. do you want to validate XML messages by soap4r? (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/364" title="minInclusive/maxInclusive of simpleRestriction (closed)">#364</a>)
65
+ </li><li>added &lt;xsd:attributeGroup&gt; support. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/389" title="attributeGroup support (closed)">#389</a>)
66
+
67
+ </li><li>added &lt;xsd:anyAttribute&gt; support. just ignore anyAttribute because wsdll2ruby.rb now generates xmlattr method. use it for adding any attribute. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/390" title="anyAttribute support (closed)">#390</a>)
68
+ </li><li>added &lt;xsd:group&gt; support. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/391" title="group support (closed)">#391</a>)
69
+ </li><li>[BUG] XSD::XSDDuration should allow durations lower than a day. Thanks to an anonymous user for taking the time to file the ticket. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/401" title="XSDDuration doesn't support durations lower than a day (closed)">#401</a>)
70
+ </li><li>[BUG] choice handling bug fixed according to a patch from KR, Vesa Varimo. If there was choice element in complex type, soap4r didn't process all elements if the first element was an empty array. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/382" title="Choice definition in XSD (closed)">#382</a>)
71
+
72
+ </li><li>[BUG] some WSDL caused cyclic schema inclusion. &lt;xsd:import&gt; supported cyclic include but &lt;xsd:include&gt; did not. extract common implementation as importHandler.rb. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/385" title="cyclic schema include (closed)">#385</a>)
73
+ </li><li>[BUG] added supports of &lt;xsd:complexType&gt; definition inheritance. earlier soap4r supported only element definition inheritance. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/394" title="Abstract classes not being included in output - wsdsl2ruby, netsuite wsdl (closed)">#394</a>)
74
+ </li><li>[BUG] support &lt;xsd:choice maxOccurs="unbounded"/&gt;: treat it &lt;xsd:all/&gt; for now. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/400" title="choice + maxOccurs=&#34;unbounded&#34; (closed)">#400</a>)
75
+
76
+ </li><li>[BUG] allow &lt;xsd:any&gt; appear twice or more. with the current implementation, soap4r ignores &lt;xsd:any&gt; element definition such as namespace and processContent. just allow any element appear. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/402" title="&lt;any&gt; can appear twice (closed)">#402</a>)
77
+ </li><li>[BUG] Type simpleType and simpleContent was unmarshalled as a String, not as an instance of the subclass which is generated by wsdl2ruby.rb. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/412" title="Type simpleType and simpleContent is unmarshalled as a String, not as an ... (closed)">#412</a>)
78
+ </li><li>[BUG] ignore xsd:element definition when the same qname is also defined as a xsd:complexType. it's a workaround for this version. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/413" title="what if the same name would be used in one XML namespace for an element ... (closed)">#413</a>)
79
+ </li><li>[BUG] wsdl2ruby.rb generated inconsistent class definition when the base class was :TYPE_ARRAY and the derived class was a :TYPE_STRUCT. let the derived class be a standalone (not a derived) class. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/424" title="wsdl2ruby.rb generates inconsistent class definition which derives an ... (closed)">#424</a>)
80
+
81
+ </li><li>[BUG] wsdl2ruby.rb generates incomplete encoded Array mapping registry for base64Binary[]. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/428" title="wsdl2rb produces incomplete mapping (closed)">#428</a>)
82
+ </li><li>[BUG] LiteralMappingRegistryCreator did not generate an entry for the element which type is mapped to an Array. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/432" title="LiteralMappingRegistryCreator does not generate an entry for the element ... (closed)">#432</a>)
83
+ </li></ul></li></ul><ul><li>SOAP
84
+ <ul><li>add :default_ns_tag option to configure a pre-defined Namespace tag. :default_ns is for configuring namespace definitions at SOAPEnvelope. :default_ns_tag is for configuring pre-defined namespace tag. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/383" title="let SOAP message use pre-defined namespace tag (closed)">#383</a>)
85
+ </li><li>login.live.com returns SOAPFault as a direct child of SOAPEnvelope. support it even though it's not spec compliant. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/384" title="login.live.com returns SOAPFault as a direct child of SOAPEnvelope (closed)">#384</a>)
86
+ </li><li>allow to remove mustUnderstand attribute from a SOAP Header. I heard that there's an implementation which cannot handle mustUnderstand existence. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/429" title="Removing env:mustUnderstand from header? (closed)">#429</a>)
87
+
88
+ </li><li>add the Generator option for using default namespace in SOAP message. it's for interoperability with non XML Namespace comformant implementation. false by default (same behavior as before.) you can turn it on with Driver#use_default_namespace = true or Server#use_default_namespace = true. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/430" title="add an option for forcing Generator use default namespace (closed)">#430</a>)
89
+ </li><li>[BUG] send xsi:nil=true element when literal + maxOccurs != 0 + nillable="true", not empty element. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/395" title="literal + nil + maxOccurs != 0 + nillable=&#34;true&#34; (closed)">#395</a>)
90
+ </li><li>[BUG] do not crash when parsing an incomplete multi-dimensional array. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/397" title="`traverse_data': undefined method `[]' for nil:NilClass (NoMethodError) (closed)">#397</a>)
91
+ </li><li>[BUG] do not dump xsi:type for non-polymorphic type of literal service. there's an implementation which only allows xsd:type for polymorphic type hint. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/405" title="should send xsd:type for document/literal service only if needed (closed)">#405</a>)
92
+ </li><li>[BUG] a content of the stub class which is generated as a subclass of String by wsdl2ruby.rb was not properly encoded. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/415" title="A content of the stub class which is generated as a subclass of String by ... (closed)">#415</a>)
93
+ </li><li>[BUG] a value of XML attribute was not properly encoded. users who did XML-encode a value in SOAPElement#extraattr should care about this change (not needed from now.) (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/416" title="a value of XML attribute is not properly encoded (closed)">#416</a>)
94
+
95
+ </li><li>[BUG] XML encoding does not work properly depending on CES. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/417" title="XML encoding does not work properly depending on KCODE (closed)">#417</a>)
96
+ </li><li>[BUG] soap4r's XML namespace handler did not handle xmlns="" correctly. it means 'no default namespace'. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/421" title="xmlns=&#34;&#34; means 'no default namespace' (closed)">#421</a>)
97
+ </li><li>[BUG] multi-refed basetype value was not be able to decode with generated EncodedRegistry. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/423" title="cannot decode multi-refed basetype value with generated MappingRegistry (closed)">#423</a>)
98
+ </li><li>[BUG] unqualified element 'Envelope', 'Header', 'Body' and 'Fault' caused an error while parsing. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/431" title="unqualified element 'Envelope', 'Header', 'Body' and 'Fault' causes an ... (closed)">#431</a>)
99
+ </li><li>[BUG] illegal marshaling a request for rpc/literal + parameter is a built-in basetype of XML Schema + message is defined as "type" (not "element"). fixed. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/434" title="illegal marshaling a request for rpc/literal + parameter is a built-in ... (closed)">#434</a>)
100
+ </li></ul></li></ul><ul><li>SOAP/Ruby mapping
101
+ <ul><li>let MappingError be a NestedException and show original cause of MappingError. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/404" title="nested SOAP::Mapping::MappingError does not reported correctly (closed)">#404</a>)
102
+
103
+ </li><li>check illegal constant name before const_defined? call to avoid warnings. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/386" title="too many warnings about 'wrong constant name' from mapping.rb (closed)">#386</a>)
104
+ </li><li>added a header handler which utilize a mapping registry. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/425" title="HeaderHandler which utilize a mapping registry (closed)">#425</a>)
105
+ </li><li>[BUG] avoid NoMethodError when passing SOAPArray to LiteralRegistry. It's caused when a servant raised an exception in literal service. Thanks to Emil for contributing test case for it. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/393" title="NoMethodError when parsing the soap fault with the stack trace on the ... (closed)">#393</a>)
106
+ </li><li>[BUG] allow the Fixnum which have an instance variable to be marshalled. For Fixnum, ivars are not marshalled but allowed to be marshalled in Ruby's marshal. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/406" title="Fixnum + instance variable causes MappingError (closed)">#406</a>)
107
+
108
+ </li><li>[BUG] a Driver generated by a WSDLDriverFactory did not handle nested sequence/choice correctly. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/409" title="WSDLDriverFactory does not handle nested sequence/choice correctly (closed)">#409</a>)
109
+ </li><li>[BUG] a Driver generated by a WSDLDriverFactory ignored 'xmlattr_*' value in a Hash parameter. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/414" title="a Driver generated by WSDLDriverFactory does not accept XML attributes in ... (closed)">#414</a>)
110
+ </li><li>[BUG] let it be distinguishable &lt;ele attr=""&gt; from &lt;ele&gt; (no attribute in the element). now the former returns "" and the latter returns nil. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/418" title="cannot distinguish '' and nil as a value of XML attribute (closed)">#418</a>)
111
+ </li></ul></li></ul><ul><li>misc
112
+ <ul><li>added SOAP::WSDLDriverFactory#dump_method_signatures. it returns a formatted text which describes method signatures. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/141" title="SOAP::RPC::Driver#defined_webservice? ... (closed)">#141</a>)
113
+
114
+ </li><li>added servletStubCreator. wsdl2ruby.rb with --servlet_stub creates servlet stub for WEBrick. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/290" title="wsdl2ruby.rb to auto-generate code for use with Webrick (closed)">#290</a>)
115
+ </li><li>wsdl2ruby.rb generated too much 'XSD::QName.new(...)' parts. let wsdl2ruby.rb/xsd2ruby.rb extract common namespace definitions as constants. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/381" title="wsdl2ruby.rb generates too much 'XSD::QName.new(...)'s in a file (closed)">#381</a>)
116
+ </li><li>let wsdl2ruby.rb/xsd2ruby.rb generate member types as a comment for each class in classdef file. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/384" title="login.live.com returns SOAPFault as a direct child of SOAPEnvelope (closed)">#384</a>)
117
+ </li><li>do not raise warning when there's a simpleType definition which have non-enumeration restriction. Generated mapping registry wrongly contained references to undefined classes. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/399" title="many warnings: cannot find mapped class (closed)">#399</a>)
118
+ </li><li>[BUG] as a workaround of class name crash problem between generated class and generated driver, add --drivername_postfix option to wsdl2ruby.rb. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/372" title="name crashes between types(classdef names) and services(driver names) in ... (closed)">#372</a>)
119
+ </li><li>[BUG] soap4r without httpclient caused NameError. forgot to add required dependency in the previous release. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/403" title="wsdl2ruby without httpclient causes NameError ... (closed)">#403</a>)
120
+ </li></ul></li></ul>
121
+
122
+ <p>
123
+ Thanks to all of soap4r-ml members and soap4r users for their support.
124
+ And special thanks to following contributors;
125
+ </p>
126
+ <pre>
127
+ 'Aaron Pfeifer' for contributing a patch for safemethodname.
128
+ 'Andi Wundsam' for contributing a patch for net/http + no_proxy.
129
+ 'anonymous contributor from Wall St.' for contributing a MSSOAP + Excel sample.
130
+ 'Emil Marceta' for contributing a patch for one-way service support and many test cases that points a bug of soap4r.
131
+ 'Ernie' for contributing a helloworld WSDL sample and WSDL service feature of HTTPServer.
132
+ 'Felipe Contreras' for contributing an union + memberType sample, patches for missing 'require', and a patch to allow to customize default ns definition of SOAP Envelope.
133
+ 'Greg Lappen' for contributing an eBaySvc sample.
134
+ 'Ger Apeldoorn' for contributing a sample of complex type + MIME attachment.
135
+ 'Jamie Herre' for contributing a SwA implementation.
136
+ 'John Anderson' for contributing a patch for handling gzipped HTTP content.
137
+ 'Junichi Uekawa' for contributing a HTTP redirection patch for net/http.
138
+ 'Kent Sibilev' for contributing a patch for correct extraattr handling of SOAPHeaderItem.
139
+ 'KR, Vesa Varimo' for contributing a patch for correct handling of XML Schema's choice element.
140
+ 'Leoš Bitto' for contributing a patch for XML pretty print.
141
+ 'Michael Neumann' for contributing an original implementation of standaloneServer.
142
+ 'Oliver M. Bolzer' for contributing a patch for net/http + SSL.
143
+ 'Owen Fraser-Green' for contributing a patch for MIME CRLF handling.
144
+ 'Patrick Chanezon' for contributing a patch for wsdl2ruby classdef name option.
145
+ 'Peter Gardfjäll' for contributing a patch for wsdl:fault handling.
146
+ 'Sandi Metz' for contributing a patch for SwA in document/literal service.
147
+ 'SHINAGAWA, Norihide' for contributing a patch for emx platform.
148
+ 'Tadayoshi Funaba' for contributing a patch for date/time XMLSchema datatypes.
149
+ 'UENO Katsuhiro' for xmlscan implementation.
150
+ 'Walter Korman' for contributing soap4r.gemspec and a workaround patch for gem's require problem.
151
+ 'wrex' for contributing a patch for soap4r to work with SalesForce service.
152
+ </pre>
153
+
154
+ <h2 id="install" name="install"><span class="content">2. Install</span></h2>
155
+
156
+ <p>
157
+ At first, see <a href="#dependencies">Dependencies</a> section.
158
+ You may need to install some extra packages.
159
+ Next, get the archived file of SOAP4R and extract it, then simply try;
160
+ </p>
161
+ <pre class="path">
162
+ $ ruby install.rb
163
+ </pre>
164
+
165
+ <p>
166
+ Necessary files will be installed to suitable directory.
167
+ </p>
168
+
169
+ <p>
170
+ Files and directories in lib directory are SOAP4R library program itself.
171
+ </p>
172
+
173
+ <dl>
174
+ <dt class="path">lib/</dt>
175
+ <dd>Libraries.</dd>
176
+
177
+ <dt class="path">sample/</dt>
178
+ <dd>SOAP4R samples.
179
+ See <a href="#samples">Samples</a> section.</dd>
180
+
181
+ <dt class="path">test/</dt>
182
+ <dd>Tests. It also contains useful sample scripts for servers and clients.
183
+ <br/>
184
+ test/interopR2/ directory includes Clients/Server for
185
+ <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
186
+ Followings are advanced examples to use complex type transmit,
187
+ sending base64 encoded string, multi-dimensional array, and so on.
188
+ <ul>
189
+ <li>test/interopR2/server.rb is a RPC Server side implementation.</li>
190
+ <li>test/interopR2/client.rb is a RPC Client side implementation.</li>
191
+ <li>test/interopR2/base.rb includes common definitions for client/server.</li>
192
+ </ul>
193
+ </dd>
194
+ </dl>
195
+
196
+ <h2 id="uninstall" name="uninstall"><span class="content">3. Uninstall</span></h2>
197
+
198
+ <p>
199
+ Simply delete installed files.
200
+ </p>
201
+
202
+ <h2 id="whats" name="whats"><span class="content">4. What is SOAP4R?</span></h2>
203
+
204
+ <p>
205
+ 'SOAP4R' is an implementation of
206
+ <a href="http://www.w3.org/TR/SOAP/">SOAP 1.1 (W3C Note)</a>.
207
+ </p>
208
+
209
+ <p>
210
+ Comments, information such as interoperability between SOAP4R and another implementation are welcomed.
211
+ Feel free sending mail to
212
+ <a href="mailto:nahi@ruby-lang.org" class="path">nahi@ruby-lang.org</a>.
213
+ </p>
214
+
215
+ <h2 id="dependencies" name="dependencies"><span class="content">5. Dependencies</span></h2>
216
+
217
+ <p>
218
+ SOAP4R is written in <a href="http://www.ruby-lang.org">Ruby</a> and aims to use with Ruby application.
219
+ You have to install ruby itself. Tested against the following ruby versions.
220
+ </p>
221
+
222
+ <ul>
223
+ <li>ruby-1.8.5</li>
224
+ <li>ruby-1.8.5 patchlevel 52</li>
225
+ <li>ruby-1.8.6</li>
226
+ <li>ruby-1.8.6 patchlevel 36</li>
227
+ </ul>
228
+
229
+ <p>
230
+ SOAP4R depends on following Ruby modules in
231
+ <a href="http://raa.ruby-lang.org">RAA</a>.
232
+ You also have to install these modules to use SOAP4R.
233
+ </p>
234
+
235
+ <dl>
236
+ <dt class="path"><a href="http://raa.ruby-lang.org/project/httpclient/">[RAA:httpclient]</a> (2.1.0 or later) (required)</dt>
237
+ <dd>Yet another HTTP client implementation by NaHi.
238
+ httpclient is formerly known as http-access2.</dd>
239
+
240
+ <dt class="path"><a href="http://raa.ruby-lang.org/project/uconv/">[RAA:uconv]</a> (0.4.10) (not required but needed if your Ruby doesn't have iconv module and you need UTF-8 encoded Japanese chars)</dt>
241
+ <dd>by Yoshida Masato.
242
+ It is requred when you want automatic CES conversion between
243
+ SJIS &lt;-&gt; UTF8 and EUC &lt;-&gt; UTF8.
244
+ Note: SJIS &lt;-&gt; EUC uses NKF module which is in standard distribution.
245
+ </dd>
246
+
247
+ </dl>
248
+
249
+ <h2 id="samples" name="samples"><span class="content">6. Samples</span></h2>
250
+
251
+ <p>
252
+ Samples are in sample/ directory of distribution.
253
+ Some samples try to connect to public servers.
254
+ Set environment variable HTTP_PROXY if you are in a firewall and you have
255
+ http proxy to the internet like;
256
+ </p>
257
+ <pre class="path">
258
+ $ export HTTP_PROXY=http://myproxyserver:8080
259
+ or
260
+ $ setenv HTTP_PROXY http://myproxyserver:8080
261
+ </pre>
262
+
263
+ <h3><span class="content">basic/ ... basic samples</span></h3>
264
+
265
+ <dl>
266
+ <dt class="path">babelfish.rb</dt>
267
+ <dd>a SOAP client sample to connect to a babelfish server.</dd>
268
+ <dt class="path">whois.rb</dt>
269
+ <dd>a SOAP client sample to connect to a whois server.</dd>
270
+ <dt class="path">flickr.rb</dt>
271
+ <dd>a SOAP client sample to connect to the flickr SOAP server and extract data from XML response.</dd>
272
+ <dt class="path">yahooNewsSearch.rb</dt>
273
+ <dd>a HTTP client sample to connect to the Yahoo news search REST service and extract data from XML response.</dd>
274
+
275
+ <dt class="path">helloworld/</dt>
276
+ <dd>a SOAP server and client sample of 'Hello World'.
277
+ To run the server;
278
+ <pre class="path">
279
+ $ ./server.rb
280
+ </pre>
281
+ And to connect to the server, run the client;
282
+ <pre class="path">
283
+ $ ./client.rb
284
+ </pre>
285
+ </dd>
286
+
287
+ <dt class="path">calc/</dt>
288
+ <dd>Calc service contains 2 servers and 2 clients.
289
+ calc.rb is hosted by server.rb, calc2.rb is hosted by server2.rb.
290
+ client.rb is for server.rb, client2.rb is for server2.rb.
291
+ <dl>
292
+ <dt>calc.rb</dt>
293
+ <dd>Calc server definition using module and module methods.
294
+ This module responds 'add', 'sub', 'multi' and 'div'.
295
+ </dd>
296
+ <dt>server.rb</dt>
297
+ <dd>Standalone server.
298
+ It requires calc.rb and serve module methods of this module.
299
+ To run this server;
300
+ <pre class="path">
301
+ $ ./server.rb
302
+ </pre>
303
+ </dd>
304
+ <dt>server.cgi</dt>
305
+ <dd>CGI version.
306
+ To run this server, copy server.cgi and calc.rb to suitable
307
+ directory of your WWW server.
308
+ </dd>
309
+ <dt>client.rb</dt>
310
+ <dd>It connects to server.rb or server.cgi,
311
+ and hit methods served by calc.rb.
312
+ To run the client;
313
+ <pre class="path">
314
+ $ ./client.rb
315
+ </pre>
316
+ Is it stacked? Did you run the server.rb?<br/>
317
+ Turn logger and wireDumpDev in its source on to see logs and wire
318
+ dumps of SOAP transport.
319
+ </dd>
320
+ <dt>calc2.rb</dt>
321
+ <dd>Calc server definition using class and instance methods.
322
+ An instance of this class holds its value. Methods 'set' and 'get'
323
+ is to set/get the value.
324
+ It also responds to '+', '-', '*', and '/'.
325
+ </dd>
326
+ <dt>server2.rb</dt>
327
+ <dd>It requires calc2.rb and creates an instance of CalcService2
328
+ that responds all SOAP requests.
329
+ Since '+', '-' and so on of calc2.rb are not valid name as an
330
+ element in XML instance, this sample register the method '+' as
331
+ 'add', '-' as 'sub', and so on.
332
+ </dd>
333
+ <dt>server2.cgi</dt>
334
+ <dd>CGI version.
335
+ To run this server, copy server2.cgi and calc2.rb to suitable
336
+ directory of your WWW server.
337
+ </dd>
338
+ <dt>client2.rb</dt>
339
+ <dd>It connects to server2.rb or server2.cgi.
340
+ Set a value at first and call methods like 'puts objAtServer + 2'.
341
+ </dd>
342
+ </dl>
343
+ </dd>
344
+
345
+ <dt class="path">exchange/</dt>
346
+ <dd>A sample to retrieve the currency rate from public SOAP service.
347
+ <dl>
348
+ <dt>iExchange.rb</dt>
349
+ <dd>It includes common definitions for client and server of
350
+ Exchange service. Including only a definition of namespace URI of
351
+ this service.</dd>
352
+ <dt>exchange.rb</dt>
353
+ <dd>Definition of servant class ExchangeService which returns the
354
+ currency rate after connecting to another site by SOAP to get the
355
+ real rate.
356
+ So that this class is the SOAP server for local client and
357
+ is also a SOAP client for public server.
358
+ An instance of this class is hosted by server.rb.
359
+ The instance responds to only 'getRate' which receives two country
360
+ code such as 'USA' and 'Japan'.</dd>
361
+ <dt>server.rb</dt>
362
+ <dd>It requires exchange.rb and creates an instance of
363
+ ExchangeService that responds all SOAP requests.
364
+ To run this server;
365
+ <pre class="path">
366
+ $ ./server.rb
367
+ </pre>
368
+ </dd>
369
+ <dt>server.cgi</dt>
370
+ <dd>CGI version. To run this server, copy server.cgi and exchange.rb
371
+ to suitable directory of your WWW server.</dd>
372
+ <dt>client.rb</dt>
373
+ <dd>It connects to server.rb. Turn logger and wireDumpDev in its
374
+ source on to see logs and wire dumps of SOAP transport.
375
+ To run the client;
376
+ <pre class="path">
377
+ $ ./client.rb
378
+ </pre>
379
+ </dd>
380
+ </dl>
381
+ </dd>
382
+
383
+ <dt class="path">sampleStruct/</dt>
384
+ <dd>A sample to transmit complex structured object which has recursive
385
+ object reference.
386
+ <dl>
387
+ <dt>iSampleStruct.rb</dt>
388
+ <dd>It includes common definitions for client and server of
389
+ SampleStruct service. Definition of SampleStruct class and
390
+ namespace URI of this service.</dd>
391
+ <dt>sampleStruct.rb</dt>
392
+ <dd>Definition of servant class SampleStructService.
393
+ An instance of this class is hosted by server.rb.
394
+ The instance responds to only 'hi' which receives a SampleStruct
395
+ and wraps it in the new instance of SampleStruct to return .</dd>
396
+ <dt>server.rb</dt>
397
+ <dd>It requires sampleStruct.rb and creates an instance of
398
+ SampleStructService that responds all SOAP requests.
399
+ To run this server;
400
+ <pre class="path">
401
+ $ ./server.rb
402
+ </pre>
403
+ </dd>
404
+ <dt>server.cgi</dt>
405
+ <dd>CGI version. To run this server, copy server.cgi and
406
+ sampleStruct.rb to suitable directory of your WWW server.</dd>
407
+ <dt>client.rb</dt>
408
+ <dd>It connects to server.rb. Turn logger and wireDumpDev in its
409
+ source on to see logs and wire dumps of SOAP transport.
410
+ To run the client;
411
+ <pre class="path">
412
+ $ ./client.rb
413
+ </pre>
414
+ </dd>
415
+ </dl>
416
+ </dd>
417
+
418
+ <dt class="path">wsdl_helloworld/</dt>
419
+ <dd>A sample 'Hello World' SOAP client and server which utilize WSDL.
420
+ See wsdl_helloworld/README for more detail</dd>
421
+ </dl>
422
+
423
+ <h3><span class="content">payload/ ... various payload configuration</span></h3>
424
+
425
+ <dl>
426
+ <dt class="path">basicauth/</dt>
427
+ <dd>BasicAuth server and client sample.</dd>
428
+
429
+ <dt class="path">cookies/</dt>
430
+ <dd>HTTP-Cookies server and client sample.</dd>
431
+
432
+ <dt class="path">ssl/</dt>
433
+ <dd>SSL SOAP server and client samples.
434
+ <dl>
435
+ <dt class="path">sslserver.rb</dt>
436
+ <dd>SSL server sample which hosts "hello world" service.
437
+ This server uses SSL server certificate in files/ directory
438
+ (SSL client should check this certificate for SSL server
439
+ authentication).</dd>
440
+ <dt class="path">sslserver_noauth.rb</dt>
441
+ <dd>This server generates SSL server certificate
442
+ at runtime. No security.</dd>
443
+ <dt class="path">sslserver_require_clientauth.rb</dt>
444
+ <dd>This server users SSL server certificate in files/ directory
445
+ and requires SSL client authentication (clients must
446
+ have SSL client certificate and send it to the server).</dd>
447
+ <dt class="path">sslclient.rb</dt>
448
+ <dd>SSL client sample which calls "hello world" service via HTTPS.
449
+ This client checks SSL server certificate sent from SSL server.</dd>
450
+ <dt class="path">sslclient_require_noserverauth.rb</dt>
451
+ <dd>This client does not check SSL server certificate.
452
+ No security.</dd>
453
+ <dt class="path">sslclient_with_clientauth.rb</dt>
454
+ <dd>This client sends SSL client certificate in files/ directory
455
+ and checks SSL server certificate.</dd>
456
+ </dl>
457
+ </dd>
458
+
459
+ <dt class="path">gzipped/</dt>
460
+ <dd>gzipped content negotiation server and client sample.</dd>
461
+ </dl>
462
+
463
+ <h3><span class="content">soapheader/ ... SOAPHeader configuration</span></h3>
464
+
465
+ <dl>
466
+ <dt class="path">authheader/</dt>
467
+ <dd>It contains a sample to utilize SOAP Header handler. Send
468
+ userid/passwd and receive sessionid via SOAP Header</dd>
469
+
470
+ <dt class="path">soapext_basicauth/</dt>
471
+ <dd>It contains a sample to do BasicAuth in SOAPHeader. (http://soap-authentication.org/basic/2001/10/)</dd>
472
+ </dl>
473
+
474
+ <h3><span class="content">attachment/ ... SOAP with Attachment (SwA)</span></h3>
475
+
476
+ <dl>
477
+ <dt class="path">swa/</dt>
478
+ <dd>SOAP server and client sample of SwA (SOAP with Attachments).</dd>
479
+
480
+ <dt class="path">complexmime/</dt>
481
+ <dd>SOAP server and client sample of Complex Type + SwA</dd>
482
+ </dl>
483
+
484
+ <h3><span class="content">howto/ ... various other configuration</span></h3>
485
+
486
+ <dl>
487
+ <dt class="path">as_xml/</dt>
488
+ <dd>Sample client to send a request with XML, and receive a response as XML.</dd>
489
+
490
+ <dt class="path">base64/</dt>
491
+ <dd>Sample client to send/receive base64 data.</dd>
492
+
493
+ <dt class="path">documentliteral/</dt>
494
+ <dd>Sample client and server of document/literal service. See README.txt in this directory to run this sample.</dd>
495
+
496
+ <dt class="path">filter/</dt>
497
+ <dd>Sample client and server of filtering request/response before sending/receiving.</dd>
498
+
499
+ <dt class="path">scopesample/</dt>
500
+ <dd>SOAP server sample which shows a different behavior of SOAP server scope settings; Request scope vs Application scope.
501
+ sample/soap/scopesample/servant.rb is a servant which holds push-ed
502
+ object that can be pop-ed afterward.
503
+ See sample/soap/scopesample/server.rb how to define a servant as
504
+ a Request scope servant or an Application scope servant.
505
+ Application scope servant works as we expected because the servant
506
+ object is living from beginning to the time server terminated.
507
+ In contrast, request scope servant(s) does not work because a servant
508
+ object is created for each request.
509
+ </dd>
510
+
511
+ <dt class="path">styleuse/</dt>
512
+ <dd>Sample client and server of SOAP style and use combination, especially rpc/literal and document/encoded.</dd>
513
+
514
+ <dt class="path">wsdl_fault/</dt>
515
+ <dd>Sample client and server of handling SOAP fault specified in a WSDL. See wsdl_fault/README.txt for more detail.</dd>
516
+
517
+ <dt class="path">wsdl_hash/</dt>
518
+ <dd>Sample client and server of sending/receiving Hash struct defined in a WSDL.</dd>
519
+ </dl>
520
+
521
+ <h3><span class="content">marshal/ ... object &lt;-&gt; XML marshalling</span></h3>
522
+
523
+ <dl>
524
+ <dt class="path">digraph.rb</dt>
525
+ <dd>A sample of SOAP marshalling/unmarshalling.
526
+ It creates a digraph that contains multi-ref-ed nodes at first
527
+ and marshals this object to get serialized XML instance.
528
+ Then reads and unmarshals this XML instance to recover a object
529
+ which has the same links among nodes in the digraph.
530
+ </dd>
531
+
532
+ <dt class="path">customfactory.rb</dt>
533
+ <dd>Sample program for customizing mapping registry.</dd>
534
+
535
+ <dt class="path">enum/</dt>
536
+ <dd>Sample program to demonstrate how xsd2ruby.rb works.</dd>
537
+ </dl>
538
+
539
+ <h3><span class="content">showcase/ ... showcase sample to demonstrate</span></h3>
540
+
541
+ <dl>
542
+ <dt class="path">raa2.4/</dt>
543
+ <dd>sample/soap/raa2.4/sample.rb is a sample client to retrieve project
544
+ information on RAA. It uses raaDriver.rb which is generated by
545
+ wsdl2ruby.rb from WSDL at
546
+ <a href="http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.4/">http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.4/</a>.
547
+ You'll find wsdlDriver.rb in sample/wsdl/raa2.4/wsdlDriver.rb which
548
+ loads the WSDL at runtime to connect.</dd>
549
+
550
+ <dt class="path">icd/</dt>
551
+ <dd>A client for
552
+ <a href="http://www.iwebmethod.net/">Insider's Computer Dictionary Web Service</a>.
553
+ This service is implemented with ASP.NET so that it's also a sample of
554
+ a client which connects to ASP.NET.
555
+ CAUTION: this sample contains non-ascii chars in its source and dumped
556
+ results.
557
+ <dl>
558
+ <dt>IICD.rb</dt>
559
+ <dd>Class(type) definitions for this server.</dd>
560
+ <dt>icd.rb</dt>
561
+ <dd>Client implementation. To run the client;
562
+ <pre class="path">
563
+ $ ./icd.rb
564
+ </pre>
565
+ </dd>
566
+ </dl>
567
+ </dd>
568
+
569
+ <dt class="path">googleSearch/</dt>
570
+ <dd>Sample client to search with <a href="http://www.google.com/apis/">Google Web API</a> using WSDL. You need to get a developer's key to use it. See wsdlDriver.rb.</dd>
571
+
572
+ <dt class="path">amazon/</dt>
573
+ <dd>Sample client to connect with <a href="http://associates.amazon.com/exec/panama/associates/ntg/browse/-/1067662/086-5207681-4585409">AmazonWebServices</a> using WSDL. See wsdlDriver.rb.</dd>
574
+
575
+ <dt class="path">noaa/</dt>
576
+ <dd>Sample client of National Weather Service digital weather forecast data service at http://weather.gov/</dd>
577
+
578
+ <dt class="path">raa2.4/</dt>
579
+ <dd>sample/wsdl/raa2.4/wsdlDriver.rb is a sample client to retrieve
580
+ project information on RAA. It loads WSDL file
581
+ <a href="http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.4/">http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.4/</a>
582
+ at <strong>runtime</strong>.
583
+ You'll find a sample client at sample/soap/raa2.4/sample.rb
584
+ which connects RAA using pre-generated service definitions
585
+ (not loads WSDL at runtime).</dd>
586
+
587
+ <dt class="path">googleAdwords/</dt>
588
+ <dd>Sample client of Google AdWords service.
589
+ CAUTION: I don't have an account of AdWords so the sample code is NOT
590
+ tested. Please tell me (nahi@ruby-lang.org) if you will get good/bad
591
+ result in communicating with AdWords Server.</dd>
592
+
593
+ <dt class="path">amazonEC/</dt>
594
+ <dd>Sample client of AWSECommerce service.
595
+ CAUTION: I don't have an account of AWSECommerce so the sample code is
596
+ NOT tested. Please tell me (nahi@ruby-lang.org) if you will get
597
+ good/bad result in communicating with AWSECommerce Server.</dd>
598
+ </dl>
599
+
600
+ <p>
601
+ There are more samples in this directory.
602
+ </p>
603
+
604
+ <h2 id="resources" name="resources"><span class="content">7. Resources</span></h2>
605
+
606
+ <dl>
607
+ <dt class="path"><a href="http://dev.ctor.org/soap4r">soap4r project page</a></dt>
608
+ <dd>You can get the latest information and the latest development version of soap4r here.</dd>
609
+
610
+ <dt class="path"><a href="http://raa.ruby-lang.org/project/soap4r">[RAA:soap4r]</a></dt>
611
+ <dd>RAA meta information</dd>
612
+
613
+ <dt class="path"><a href="http://groups.google.com/group/soap4r">soap4r-ml on Google Groups</a></dt>
614
+ <dd>Feel free to join the list to ask any question and comment about soap4r.
615
+ You can browse messages archive. Bear in mind that Google Groups is still
616
+ in [beta] stage.</dd>
617
+
618
+ <dt class="path">Subversion repository</dt>
619
+ <dd>Soap4r's svn repository is here: http://dev.ctor.org/svn/soap4r/ .
620
+ To checkout the latest soap4r module, try
621
+ <pre>
622
+ svn checkout http://dev.ctor.org/svn/soap4r/trunk soap4r
623
+ </pre>
624
+ CVS repository of soap4r which was located at cvs.ruby-lang.org is pending since 2004-05-27. </dd>
625
+ </dl>
626
+
627
+ <h2 id="history" name="history"><span class="content">8. History</span></h2>
628
+
629
+ <dl>
630
+ <dt>1.5.7 - Jul 16, 2007</dt>
631
+ <dd>Version 1.5.7 mainly intends to fix regression problems introduced in 1.5.6.
632
+ Here are changes in 1.5.7 from 1.5.6.
633
+ <ul><li>Environment
634
+ <ul><li>soap4r gem depends on httpclient &gt;= 2.1.0. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/379" title="let soap4r gem depends on httpclient &gt;= 2.1.0 (closed)">#379</a>)
635
+ </li><li>let soap4r http clients (SOAP::RPC::Driver and WSDL/XSD importers) do not check soap_use_proxy environment variable and use only http_proxy/HTTP_PROXY and no_proxy/NO_PROXY envvars for proxy configuration. no need to set 'soap_use_proxy=on' envvar anymore. But to avoid proxy injection problem, when a library is used on CGI environment (with checking REQUEST_METHOD envvar existence), soap4r http clients use cgi_http_proxy/CGI_HTTP_PROXY envvar instead of http_proxy/HTTP_PROXY. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/378" title="change HTTP_PROXY/NO_PROXY envvar behavior to follow httpclient (closed)">#378</a>)
636
+ </li></ul></li></ul><ul><li>SOAP/Ruby mapping
637
+ <ul><li>try to call klass.soap_marshallable before mapping an XML element to the klass while unmarshalling. to avoid auto-mapping from element name, define klass.soap_marshallable method let it return false. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/223" title="avoid the AutoMapping (closed)">#223</a>)
638
+ </li><li>let xsd2ruby.rb generate a mapping registry and a mapper from XML Schema definition. the mapper has obj2xml and xml2obj which uses the generated mapping registry. you can use this instead of XSD::Mapping.obj2xml and XSD::Mapping.xml2obj which does not know anything about mapping. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/362" title="classname parameter for bin/xsd2ruby.rb (closed)">#362</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/363" title="mapping xml&lt;-&gt;obj based on XML Schema (closed)">#363</a>)
639
+
640
+ </li><li>[BUG] Array or Struct was not properly marshalled when literal service + generated stub combination. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/360" title="Array or Struct is not properly marshalled through stub definition for ... (closed)">#360</a>)
641
+ </li><li>[BUG] derived class was marshalled without xsi:type for literal service. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/361" title="derived class is marshalled without xsi:type for literal service (closed)">#361</a>)
642
+ </li><li>[BUG] passing nil as a basetype through generated mapping registry was broken in 1.5.6. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/369" title="nil passed as attribute to axis service gets sent as an empty string ... (closed)">#369</a>)
643
+ </li><li>[BUG] an rpc/encoded parameter could be wrongly typed when the parameter is typed as a derived type from a base type of XML Schema datatypes. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/371" title="an rpc/encoded parameter wrongly typed (closed)">#371</a>)
644
+ </li><li>[BUG] under the earlier versions, we could use [] instead of CountryTargets[]. from 1.5.6-GA it doesn't work. let LiteralRegistry decide how the class should be mapped to according to the defined class in the parent complexType. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/373" title="generic Array cannot be used instead of a custom array (closed)">#373</a>)
645
+
646
+ </li></ul></li></ul><ul><li>SOAP
647
+ <ul><li>allow xsi:nil="true" element as an RPC request though I don't think it's SOAP spec compliant. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/374" title="SOAP::Lite incompatibility (closed)">#374</a>)
648
+ </li><li>allow to customize default ns definition of SOAP Envelope. SOAPGenerator.new gets option hash as 'opt' and treats opt[:default_ns] as a XSD::NS which stores default ns definition of SOAP Envelope. See how it works in test/soap/test_custom_ns.rb. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/380" title="default XSD::NS for SOAPGenerator (closed)">#380</a>)
649
+
650
+ </li></ul></li></ul><ul><li>Payload
651
+ <ul><li>added an API for filtering streamhandler to capture/generate HTTP header. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/276" title="streamHandler filter to capture/create HTTP header (closed)">#276</a>)
652
+ </li><li>added 'protocol.http.auth' option to set authentication information for both BasicAuth and DigestAuth. with the latest httpclient (formerly known as http-access2), now soap4r client can connect to DigestAuth server. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/345" title="Client Digest Authentication Implemented (closed)">#345</a>)
653
+
654
+ </li></ul></li></ul><ul><li>WSDL
655
+ <ul><li>importer should not import <a class="ext-link" href="http://schemas.xmlsoap.org/soap/encoding/"><span class="icon">http://schemas.xmlsoap.org/soap/encoding/</span></a>. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/366" title="importer should not import http://schemas.xmlsoap.org/soap/encoding/ (closed)">#366</a>)
656
+ </li><li>[BUG] error when simpleType element usage as "part" definition directly. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/367" title="error when simpleType element usage as &#34;part&#34; definition directly (closed)">#367</a>)
657
+ </li><li>[BUG] wsdl2ruby.rb did not generate a classdef entry for empty element definition such as &lt;element name="foo"/&gt;. let wsdl2ruby.rb generate 'class Foo &lt; String'. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/370" title="empty element definition causes 'cannot find mapped class' warning (closed)">#370</a>)
658
+ </li></ul></li></ul></dd>
659
+
660
+ <dt>1.5.6 - Jun 14, 2007</dt>
661
+ <dd>Here are changes in 1.5.6 from 1.5.5.
662
+ <ul><li>SOAP/Ruby mapping
663
+ <ul><li>specify sending XML document over SOAP by REXML::Element or to_xmlproc -able object. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/21" title="send XML Document over SOAP (closed)">#21</a>)
664
+ </li><li>encode or decode of single basetype parameter according to type definition in rpc/encoded service. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/14" title="wsdlRouter: return value must be converted to the specified element name (closed)">#14</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/98" title="param_def for rpc service (closed)">#98</a>)
665
+ </li><li>determining rpc method paramaters and outputs at runtime with MethodDefCreator" rel="nofollow">MethodDefCreator#{collect_rpcparameter|collect_documentparameter} (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/142" title="Determining rpc method paramaters and outputs at runtime (closed)">#142</a>)
666
+ </li><li>support an array element name other than 'item' in document/literal service. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/150" title="SOAP::FaultError - Index was outside the bounds of the array (closed)">#150</a>)
667
+ </li><li>let document/literal service proxy generated by
668
+ WSDLDriverFactory accept key-value pair array of array ([['k1', 'v1'],
669
+ ...]) as same as a hash ({'k1' =&gt; 'v1', ...}). (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/156" title="consider to add ordering support for simple Ruby &lt;-&gt; XML interface (closed)">#156</a>)
670
+ </li><li>allow an XSD::QName as a value of extraattr such as &lt;elename xmlns:n1="urn:valuenamespace"&gt;n1:value&lt;/elename&gt;. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/157" title="QName as a value (closed)">#157</a>)
671
+ </li><li>SwA and doc/lit service. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/165" title="SwA and doc/lit service (closed)">#165</a>)
672
+ </li><li>allow to define an empty SOAP Body service. Thanks, emil. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/174" title="Minor change in SOAP::RPC::Driver.add_document_method (closed)">#174</a>)
673
+ </li><li>method overloading support. allow to define methods which have
674
+ same name and different signatures, and let Router invoke a method
675
+ according to SOAPAction. you need to define methods with different
676
+ SOAPAction. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/233" title="Method overloading and generated drivers (closed)">#233</a>)
677
+ </li><li>let Driver#generate_explicit_type work for ltieral service, too. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/234" title="generate_explicit_type for ltieral service (closed)">#234</a>)
678
+ </li><li>get the raw XML from the response. you get a result as an XML string when you set Driver#return_response_as_xml = true. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/250" title="get the raw XML from the response (closed)">#250</a>)
679
+ </li><li>do not validate CES of String by default to avoid consuming
680
+ memory. let XML processor check it instead. (you can turn it on by
681
+ XSD::XSDString.strict_ces_check = true) (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/265" title="String encoding validation (closed)">#265</a>)
682
+ </li><li>allow SOAP::Mapping::Object to dump/load with marshal_dump/marshal_load. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/266" title="SOAP::Mapping::Object: 'singleton can't be dumped' (closed)">#266</a>)
683
+ </li><li>handle CDATA correctly with xmlscan and rexml (only xmlparser worked). (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/332" title="CDATA in response (closed)">#332</a>)
684
+ </li><li>defined omit element / xsi:nil="true" elemet control. nil
685
+ means xsi:nil="true" for encoded service and nil means element omission
686
+ for literal service. pass SOAPNil.new to pass xsi:nil="true" for
687
+ literal service. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/343" title="omit element / xsi:nil=&quot;true&quot; elemet control (closed)">#343</a>)
688
+ </li><li>one-way service support. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/200" title="one-way service support (`dump_method': undefined method `soapbody_use' ... (closed)">#200</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/346" title="oneway service + WSDLDriverFactory (closed)">#346</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/347" title="Onewy service should return 202 Accepted / service client should accept it (closed)">#347</a>)
689
+ </li><li>offer clearly defined message interceptor API. see test/soap/filter for more detail. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/350" title="offer clearly defined message interceptor API (chain) (closed)">#350</a>)
690
+ </li><li>SOAPElement.from_obj(obj): allow to set XML attribute. this
691
+ method is called when you pass a Hash or [['key1', 'value1'], ...] to
692
+ literal service so you can easily add XML attribute to a request. see <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/331" title="attributes with namespaces (closed)">#331</a> for more detail. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/331" title="attributes with namespaces (closed)">#331</a>)
693
+ </li></ul></li></ul><ul><li>Payload
694
+ <ul><li>merged a patch from Ernie that enables httpserver to serve WSDL. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/161" title="merge a patch that enables httpserver to serve WSDL (closed)">#161</a>)
695
+ </li><li>allow user to set own streamhandler of a SOAP::RPC::Driver. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/180" title="Create a request and pipe it to another program (closed)">#180</a>)
696
+ </li><li>let Driver#test_loopback_response work under soap4r + net/http. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/181" title="Driver#test_loopback_response under soap4r + net/http (closed)">#181</a>)
697
+ </li><li>allow to define basic_auth parameters with property file. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/198" title="define basic_auth with property file (closed)">#198</a>)
698
+ </li><li>follow HTTP redirection even with net/http. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/280" title="Follow HTTP redirection even with net/http (closed)">#280</a>)
699
+ </li><li>[ruby-Bugs-7532] make SOAP::HTTPStreamHandler handle gzipped content. Thanks, John Anderson. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/310" title="[ ruby-Bugs-7532 ] patch to make SOAP::HTTPStreamHandler handle gzipped ... (closed)">#310</a>)
700
+ </li></ul></li></ul><ul><li>SOAP format
701
+ <ul><li>SOAP actor name can be set through HeaderHandler. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/19" title="actor support (closed)">#19</a>)
702
+ </li><li>support xsd:token and xsd:language. Thanks, Jirka Pech. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/252" title="Complete implementation of data types (xsd, soap) (closed)">#252</a>)
703
+ </li><li>let XSD::QName immutable. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/274" title="let XSD::QName immutable (closed)">#274</a>)
704
+ </li><li>allow Header::Handler to access SOAPHeader from inside of on_outbound. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/354" title="sending Empty SOAPHeader (closed)">#354</a>)
705
+ </li></ul></li></ul><ul><li>WSDL
706
+ <ul><li>support &lt;xsd:list&gt; of &lt;xsd:simpleType&gt;. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/3" title="&lt;xsd:list&gt; of &lt;xsd:simpleType&gt; (closed)">#3</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/248" title="String should be allowed xsd:list of xsd:simpleType (closed)">#248</a>)
707
+ </li><li>support &lt;xsd:union&gt; of memberTypes. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/6" title="&lt;xsd:union&gt; of memberTypes (closed)">#6</a>)
708
+ </li><li>support &lt;xsd:extension&gt; for &lt;xsd:complexContent&gt;. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/72" title="&lt;xsd:extension&gt; support for &lt;xsd:complexContent&gt; (closed)">#72</a>)
709
+ </li><li>support &lt;any&gt;. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/148" title="SForce sample: how to create? (closed)">#148</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/155" title="&lt;any&gt; support (closed)">#155</a>)
710
+ </li><li>support &lt;xsd:restriction&gt; for &lt;xsd:complexContent&gt;. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/167" title="&lt;xsd:restriction&gt; support for &lt;xsd:complexContent&gt; (closed)">#167</a>)
711
+ </li><li>support &lt;choice&gt;. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/168" title="&lt;choice&gt; support (closed)">#168</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/205" title="sequence of choice not supported (was Unable to parse wsdl) (closed)">#205</a>)
712
+ </li><li>support simpleContent + attribute extension. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/176" title="simpleContent + attribute extension (closed)">#176</a>)
713
+ </li><li>generate Array classdef for maxOccurs="unbounded" element. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/182" title="classdef generation of element(untyped) array (closed)">#182</a>)
714
+ </li><li>support minLength and maxLength attributes. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/185" title="support minLength and maxLength attributes (closed)">#185</a>)
715
+ </li><li>support abstract attribute of complexTypes. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/195" title="wsdl2rb should not ignore the &quot;abstract&quot; attribute of complexTypes (closed)">#195</a>)
716
+ </li><li>moved @@schema_* things in classdef definition generated by
717
+ wsdl2ruby.rb to mapping registry. Mapping registries for each classdef
718
+ are defined in independent file and required from driver and server.
719
+ NOTE: old classdef files should still work but it should be
720
+ re-generated by new wsdl2ruby.rb. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/175" title="move @@schema_* things to MappingRegistry (closed)">#175</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/267" title="Missing 'wsdl/soap/literalMappingRegistryCreator' in driverCreator.rb (closed)">#267</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/270" title="respect ruby namespaces (closed)">#270</a>)
721
+ </li><li>support wsdl:fault definitions. Thanks, Peter Gardfjall. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/319" title="[PATCH] correct handling of wsdl:fault definitions (closed)">#319</a>)
722
+ </li></ul></li></ul><ul><li>Samples
723
+ <ul><li>add a demo how to call from Excel a simple soap service running
724
+ in apache (sample/soap/mssoap/) Thanks, an 'anonymous contributor from
725
+ Wall St.' (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/143" title="a self contained example how to setup apache web server to service a wsdl ... (closed)">#143</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/154" title="add a demo how to call from Excel a simple soap service running in apache (closed)">#154</a>)
726
+ </li><li>a sample to send an integer as Long type. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/160" title="add a sample to send an integer as Long type (closed)">#160</a>)
727
+ </li><li>an eBaySvc sample by Greg. Thanks! (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/183" title="add eBaySvc sample by Greg (closed)">#183</a>)
728
+ </li><li>basicauth client + server sample. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/249" title="basicauth server sample (closed)">#249</a>)
729
+ </li><li>cookie client + server sample. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/321" title="client + cookie sample (closed)">#321</a>)
730
+ </li></ul></li></ul><ul><li>misc
731
+ <ul><li>add a --prefix option in install.rb. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/255" title="support for a --prefix option in install.rb (closed)">#255</a>)
732
+ </li><li>warn misusage of lib/wsdl/soap/wsdl2ruby.rb. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/339" title="warn misusage of lib/wsdl/soap/wsdl2ruby.rb (closed)">#339</a>)
733
+ </li><li>wsdl2ruby --classdef could have an optional classname argument. Thanks, P@. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/173" title="wsdl2ruby --classdef could have an optional classname argument (closed)">#173</a>)
734
+ </li><li>putting the classes that support a web service into a service-specific module. check --module_path (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/279" title="putting the classes that support a web service into a service-specific ... (closed)">#279</a>)
735
+ </li></ul></li></ul><ul><li>Bug fixes
736
+ <ul><li>SOAP/Ruby mapping: <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/184" title="undefined method `each' for #&lt;SOAP::SOAPString:0x405d8eec&gt; ... (closed)">#184</a>,
737
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/186" title="xml document with a class tag seems to cause infinite loop (closed)">#186</a>,
738
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/187" title="Axis enumerations and soap4r (closed)">#187</a>,
739
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/188" title="AWSECommerceService client sample raises &quot;unknown class/module: Header&quot; (closed)">#188</a>,
740
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/190" title="salesforce.com - undefined string maps to #&lt;SOAP::Mapping::Object:0x...&gt; ... (closed)">#190</a>,
741
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/220" title="'.' in Method names produces an exception (closed)">#220</a>,
742
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/224" title="huge memory usage with the Ebay API (closed)">#224</a>,
743
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/225" title="`struct2soap': You have a nil object when you didn't expect it! (closed)">#225</a>,
744
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/226" title="a problem about extraattr when using SOAP::SOAPHeaderItem (closed)">#226</a>,
745
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/228" title="@@schema_element does not work in rpc service (closed)">#228</a>,
746
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/229" title="Incorrect obj2soap mapping (Case-Sensitivity) (closed)">#229</a>,
747
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/230" title="arrayType default namespace seems wrong (closed)">#230</a>,
748
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/238" title="rpc serialize + @@schema_element definition in class causes mapping error: ... (closed)">#238</a>,
749
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/241" title="do not dump XML attribute which value is nil (closed)">#241</a>,
750
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/242" title="handling anonymous class crashes under Ruby/1.9 (closed)">#242</a>,
751
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/254" title="parameter is not submitted if &quot;name&quot; attribute contains uppercase ... (closed)">#254</a>,
752
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/268" title="Allow safe method names with =, ?, !, or self. (closed)">#268</a>,
753
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/289" title="unqualified element generated from Hash parameter (closed)">#289</a>,
754
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/302" title="soap4r will redefine &quot;class&quot; (closed)">#302</a>,
755
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/311" title="Bad extraattr in Envelope, Body and Header (closed)">#311</a>,
756
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/312" title="Generator not working with HeaderItem childs. (closed)">#312</a>,
757
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/316" title="false children get dropped and not added to SOAP request (closed)">#316</a>,
758
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/328" title="xsd:date + WSDL generated stub (closed)">#328</a>,
759
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/333" title="[PATCH] MappingRegistryCreator missing require (closed)">#333</a>,
760
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/336" title="Element must have no character or element information item [children] (closed)">#336</a>
761
+ </li><li>Payload: <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/172" title="Converter not found: X_ISO_8859_1 -&gt; UTF8 ... (closed)">#172</a>,
762
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/215" title="improved end-of-line handling withing MIME messages (closed)">#215</a>,
763
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/236" title="netHttpClient.rb + no_proxy bug (closed)">#236</a>,
764
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/264" title="intermittent error: &quot;get_status must be called at the beginning of a ... (closed)">#264</a>
765
+ </li><li>SOAP format: <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/177" title="SOAP Fault Codes support (closed)">#177</a>, <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/237" title="cannot parse xml:lang etc in SOAP response (closed)">#237</a>
766
+ </li><li>WSDL: <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/151" title="soap4r-1_5_5 wsdl2ruby.rb fails (elementFormDefault (closed)">#151</a>,
767
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/152" title="add_elements2stubobj -- elename may not be set (closed)">#152</a>,
768
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/158" title="wsdl2ruby fails to generate a class definition (closed)">#158</a>,
769
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/162" title="parameters are set to nil in request SOAP envelope (closed)">#162</a>,
770
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/163" title="WSDL2Ruby generates module definition for simpleType enumeration twice (closed)">#163</a>,
771
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/169" title="wsdl2ruby should support proxy when wsdl location is a URL (closed)">#169</a>,
772
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/170" title="wsdl2ruby.rb cannot handle WSDL using soapenc:* types (closed)">#170</a>,
773
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/178" title="wsdl2ruby.rb may generate illegal derived class definition for ... (closed)">#178</a>,
774
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/189" title="WSDLLiteralRegistry wrongly decodes empty string and nil to ... (closed)">#189</a>,
775
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/191" title="Problem with the documentliteral/echo.wsdl (closed)">#191</a>,
776
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/194" title="extending types seems to confuse wsdl2rb (closed)">#194</a>,
777
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/199" title="Abstract WSDL definition(no binding) causes NameError (closed)">#199</a>,
778
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/201" title="undefined method `namespace' for nil:NilClass (NoMethodError) from ... (closed)">#201</a>,
779
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/203" title="classes not defined for simple types using restriction base (closed)">#203</a>,
780
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/204" title="when xsd: is not specified wsdl2ruby generates a wrong method (closed)">#204</a>,
781
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/216" title="Case-Sensitivity in WSDL Driver (closed)">#216</a>,
782
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/227" title="undefined method `ports' for nil:NilClass (NoMethodError) in wsdl2ruby.rb (closed)">#227</a>,
783
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/231" title="classDefCreator fails with simpleContent extension (closed)">#231</a>,
784
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/232" title="WSDLLiteralRegistry fails to map XML instance to Array: element override (closed)">#232</a>,
785
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/239" title="Possible patch to wsdl/soap/mappingRegistryCreator.rb (closed)">#239</a>,
786
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/240" title="accessing doc-lit service returns [response] only in Ruby/1.9 (closed)">#240</a>,
787
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/245" title="schema import location is not inherited (closed)">#245</a>,
788
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/246" title="not all portType are bound in the given WSDL (closed)">#246</a>,
789
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/247" title="name attribute of wsdl:operation should not be qualified (closed)">#247</a>,
790
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/258" title="PayPal WSDL generates an error (closed)">#258</a>,
791
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/260" title="'form=&quot;unqualified&quot;' (closed)">#260</a>,
792
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/262" title="no parameters generated in classes for extensions in complex types (closed)">#262</a>,
793
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/263" title="patch for #262 (closed)">#263</a>,
794
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/267" title="Missing 'wsdl/soap/literalMappingRegistryCreator' in driverCreator.rb (closed)">#267</a>,
795
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/271" title="wsdl2ruby.rb generates duplicated class definitions (closed)">#271</a>,
796
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/272" title="choice definition breakage in encoded service (closed)">#272</a>,
797
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/273" title="wsdl2ruby.rb --classdef argument not explained in usage (closed)">#273</a>,
798
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/275" title="problem with receiving subclasses using wsdl2ruby (closed)">#275</a>,
799
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/284" title="wsdl2rb produces incomplete mapping (closed)">#284</a>,
800
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/285" title="illegal mapping definition about a type 'xsd:schema' (closed)">#285</a>,
801
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/300" title="Problem in Port Init (closed)">#300</a>,
802
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/304" title="Marshalling of simple data types ends up with the wrong data type in Ruby (closed)">#304</a>,
803
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/306" title="String subclass is generated wrongly from simpleContent (closed)">#306</a>,
804
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/309" title="Bug in complexContent.rb (closed)">#309</a>,
805
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/313" title="wsdl2ruby exception with Google Adwords AdService.xml (closed)">#313</a>,
806
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/317" title="value cannot be resolved (closed)">#317</a>,
807
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/322" title="xsd2ruby generates BadURIError (closed)">#322</a>,
808
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/325" title="part: value cannot be resolved (RuntimeError) (closed)">#325</a>,
809
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/326" title="inheritance hierarchy not maintained from wsdl, problems with complexType ... (closed)">#326</a>,
810
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/327" title="wsdl2ruby: fatal - undefined method `namespace' for ... (closed)">#327</a>,
811
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/335" title="issues when generating a mapping registry, specifically; a literal mapping ... (closed)">#335</a>,
812
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/337" title="wsdl2ruby produces code that overrides system classes (closed)">#337</a>,
813
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/342" title="EncodingStyle not supported (closed)">#342</a>,
814
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/344" title="ref + min/maxOccurs does not work (closed)">#344</a>,
815
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/348" title="XSD::ValueSpaceError when SOAP response contains empty elements (closed)">#348</a>,
816
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/349" title="ClassDefCreator must sort complextypes: base class first, derived classes ... (closed)">#349</a>,
817
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/352" title="abstract type is added to the Mapping Registry, which causes malfunction (closed)">#352</a>,
818
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/353" title="private method `sub' called for #&lt;XSD::QName:...XMLSchema}anyType&gt; ... (closed)">#353</a>
819
+ </li><li>misc: <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/153" title="warnings in test such as: WSDLDriverFactory#create_driver is depricated. ... (closed)">#153</a>,
820
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/192" title="GoogleAdwords Sample doesn't work (closed)">#192</a>,
821
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/251" title="typo: 'depricated' in wsdlDriver.rb (closed)">#251</a>,
822
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/277" title="rubygems xml parser fallback broken due to rubygems 'require' bug (closed)">#277</a>,
823
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/282" title="wsdl2ruby.rb argument order dependency (closed)">#282</a>,
824
+ <a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/329" title="property file and non UTF-8 encoding chars (closed)">#329</a>
825
+ </li></ul></li></ul>
826
+ </dd>
827
+
828
+ <dt>1.5.5 - Sep 15, 2005</dt>
829
+ <dd> Here are changes in 1.5.5 from 1.5.4.
830
+ <ul><li>SOAP
831
+ <ul><li>allow to configure an envelope namespace of SOAP request. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/124" title="configuable envelope namespace (closed)">#124</a>)
832
+ <pre class="wiki">TemporaryNamespace = 'http://www.w3.org/2003/05/soap-envelope'
833
+ @client.options[&#34;soap.envelope.requestnamespace&#34;] = TemporaryNamespace
834
+ @client.options[&#34;soap.envelope.responsenamespace&#34;] = TemporaryNamespace
835
+ @client.do_proc(...)
836
+ </pre>
837
+ </li><li>let SOAP request XML indent space configuable. see "soap.envelope.no_indent" option. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/130" title="A server dislike indent spaces in XML instance (closed)">#130</a>)
838
+
839
+ </li><li>let external CES configuable. ex. client["soap.mapping.external_ces"] = 'SJIS'. $KCODE is used by default. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/133" title="let $KCODE free (closed)">#133</a>)
840
+ <pre class="wiki">external CES ::= CES used in Ruby object of client and server
841
+ internal CES ::= CES used in SOAP/OM
842
+ </pre>
843
+ </li><li>add iso-8859-1 external CES support. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/106" title="iso-8859-1 encoded response (closed)">#106</a>)
844
+ </li><li>fixed illegal 'qualified' handling of elements. it caused ASP.NET inteoperability problem. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/144" title="soap4r and ASP.NET problems about 'qualified' (closed)">#144</a>)
845
+ </li><li>added 'soap.envelope.use_numeric_character_reference' (boolean) option to let query XML use numeric character reference in XML, not plain UTF-8 character. GoogleSearch server seems to not allow plain UTF-8 character since 2005-08-15 update. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/147" title="GoogleWebSearch does not work with UTF-8 query (closed)">#147</a>)
846
+ </li><li>SOAP::Header::SimpleHeader (de)serialization throws an exception on SimpleHeader.on_(in|out)bound when header is a String. so we could not use a simple single element headerItem. fixed. thanks to emil. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/129" title="SOAP::Header::SimpleHeader deserialization throws on ... (closed)">#129</a>)
847
+
848
+ </li><li>out parameter of rpc operation did not work. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/132" title="outparameter causes NameError (closed)">#132</a>)
849
+ </li><li>follow HTTP redirect only if using http-access2. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/125" title="follow http/https redirection (closed)">#125</a>) (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/145" title="an error from streamHandler.rb:37 that claims an uninitialized constant ... (closed)">#145</a>)
850
+ </li><li>add a workaround for importing an WSDL whose path begins with drive letter. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/115" title="RuntimeError: Cannot connect to ... (closed)">#115</a>)
851
+ </li></ul></li><li>WSDL
852
+ <ul><li>SOAP Data which is defined as a simpletype was not mapped correctly to Ruby obj when using wsdl2ruby.rb generated classdef file. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/123" title="soap4r mapping problem when using google adwords api (closed)">#123</a>)
853
+ </li><li>rpc/literal support. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/118" title="soap encoding is used for rpc/literal services (closed)">#118</a>)
854
+
855
+ </li><li>re-implemented local element qualify/unqualify control. handles elementFormDefault and form in WSDL. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/119" title="Cannot talk to doc/literal service which is has ... (closed)">#119</a>)
856
+ </li><li>Array of an element which has simpleType causes a crash. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/128" title="Array of a element which has simpleType causes a crash (closed)">#128</a>)
857
+ </li><li>prarmeterOrder may not contain return part so it can be shorter than parts size. Thanks to Hugh. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/139" title="prarmeterOrder may not contain return part (closed)">#139</a>)
858
+ </li></ul></li><li>Samples
859
+ <ul><li>added BasicAuth client sample. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/117" title="add BasicAuth sample not only in test dir but also in sample dir (closed)">#117</a>)
860
+ </li><li>added Base64 client/server sample.
861
+ </li><li>added Flickr SOAP interface client sample. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/122" title="Flickr SOAP API support (closed)">#122</a>)
862
+
863
+ </li><li>added SalesForce client sample. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/135" title="how to set session id in SOAP header (sforce WSDL) (closed)">#135</a>)
864
+ </li><li>updated Thawte CA certificate for GoogleAdWords sample.
865
+ </li><li>updated a client script with the newer version made by Johan. thanks!
866
+ </li><li>shortened long file names. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/120" title="long file name (closed)">#120</a>)
867
+ </li><li>fixed typo in authheader sample. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/129" title="SOAP::Header::SimpleHeader deserialization throws on ... (closed)">#129</a>)
868
+ </li><li>updated deprecated method usage. (<a class="closed ticket" href="http://dev.ctor.org/soap4r/ticket/138" title="create_driver in sample should be replaced with create_rpc_driver (closed)">#138</a>)
869
+ </li></ul></li></ul>
870
+ </dd>
871
+
872
+ <dt>1.5.4 - May 13, 2005</dt>
873
+ <dd>This is version 1.5.4.
874
+ Version 1.5.3 is the module which is included in ruby-1.8.2,
875
+ and not released independently.
876
+ Following changes consist from 2 parts; Changes from 1.5.3 to 1.5.4,
877
+ and from 1.5.2 to 1.5.3.
878
+ <br/><br/>
879
+ Changes in 1.5.4 from 1.5.3
880
+ <br/><br/>
881
+ <ul>
882
+ <li>SOAP client and server
883
+ <ul>
884
+ <li>for both client side and server side
885
+ <ul>
886
+ <li>improved document/literal service support. style(rpc, document)/use(encoding, literal) combination are all supported. for the detail about combination, see test/soap/test_style.rb.</li>
887
+ <li>let WSDLEncodedRegistry#soap2obj map SOAP/OM to Ruby according to WSDL as well as obj2soap.</li>
888
+ <li>let SOAP::Mapping::Object handle XML attribute for doc/lit service. you can set/get XML attribute via accessor methods which as a name 'xmlattr_' prefixed (&lt;foo name="bar"/&gt; -&gt; Foo#xmlattr_name).</li>
889
+ </ul>
890
+ </li>
891
+ <li>client side
892
+ <ul>
893
+ <li>WSDLDriver capitalized name operation bug fixed. from 1.5.3-ruby1.8.2, operation which has capitalized name (such as KeywordSearchRequest in AWS) is defined as a method having uncapitalized name. (converted with GenSupport.safemethodname to handle operation name 'foo-bar'). it introduced serious incompatibility; in the past, it was defined as a capitalized. define capitalized method as well under that circumstance.</li>
894
+
895
+ <li>added new factory interface 'WSDLDriverFactory#create_rpc_driver' to create RPC::Driver, not WSDLDriver (RPC::Driver and WSDLDriver are merged). 'WSDLDriverFactory#create_driver' still creates WSDLDriver for compatibility but it warns that the method is deprecated. please use create_rpc_driver instead of create_driver.</li>
896
+ <li>allow to use an URI object as an endpoint_url even with net/http, not http-access2.</li>
897
+ </ul>
898
+ </li>
899
+ <li>server side
900
+ <ul>
901
+ <li>added mod_ruby support to SOAP::CGIStub. rename a CGI script server.cgi to server.rb and let mod_ruby's RubyHandler handles the script. CGIStub detects if it's running under mod_ruby environment or not.</li>
902
+ <li>added fcgi support to SOAP::CGIStub. see the sample at sample/soap/calc/server.fcgi. (almost same as server.cgi but has fcgi handler at the bottom.)</li>
903
+ <li>allow to return a SOAPFault object to respond customized SOAP fault.</li>
904
+ <li>added the interface 'generate_explicit_type' for server side (CGIStub, HTTPServer). call 'self.generate_explicit_type = true' if you want to return simplified XML even if it's rpc/encoded service.</li>
905
+ </ul>
906
+ </li>
907
+ </ul>
908
+ </li>
909
+
910
+ <li>WSDL
911
+ <ul>
912
+ <li>WSDL definition
913
+ <ul>
914
+ <li>improved XML Schema support such as extension, restriction, simpleType, complexType + simpleContent, ref, length, import, include.</li>
915
+ <li>reduced "unknown element/attribute" warnings (warn only 1 time for each QName).</li>
916
+ <li>importing XSD file at schemaLocation with xsd:import.</li>
917
+ </ul>
918
+ </li>
919
+ <li>code generation from WSDL
920
+ <ul>
921
+ <li>generator crashed when there's '-' in defined element/attribute name.</li>
922
+ <li>added ApacheMap WSDL definition.</li>
923
+ </ul>
924
+ </li>
925
+ </ul>
926
+ </li>
927
+
928
+ <li>Samples
929
+ <ul>
930
+ <li>added XML &lt;-&gt; Ruby mapping utility. XSD::Mapping#xml2obj maps an XML to a tree of SOAP::Mapping::Object. XSD::Mapping#obj2xml is for reverse direction conversion. see a sample in sample/wsdl/noaa/client.rb</li>
931
+ <li>added a sample for weather.gov's NDFD services.</li>
932
+ <li>add a sample of googleAdWords. CAUTION: I don't have an account of AdWords so the sample code is NOT tested. Please tell me (nahi@ruby-lang.org) if you will get good/bad result in communicating with AdWords Server.</li>
933
+ <li>add a sample of AWSECommerce. CAUTION: I don't have an account of AWSECommerce so the sample code is NOT tested. Please tell me (nahi@ruby-lang.org) if you will get good/bad result in communicating with AWSECommerce Server.</li>
934
+ </ul>
935
+ </li>
936
+
937
+ <li>Redists
938
+ <ul>
939
+ <li>include xmlscan as a redistributed module. xmlscan now is a first class XML processor. still soap4r should run with REXML and XMLParser.</li>
940
+ </ul>
941
+ </li>
942
+ </ul>
943
+ <br/>
944
+ Changes in 1.5.3 from 1.5.2
945
+ <br/><br/>
946
+ <ul>
947
+ <li>SOAP client and server
948
+ <ul>
949
+ <li>for both client side and server side
950
+ <ul>
951
+ <li>added a header handler class for simple SOAPHeader handling. see samples in sample/soap/authheader/*.</li>
952
+ <li>SSL support (both client side and server side). check sample/soap/ssl/*</li>
953
+ <li>gzipped content encoding support. see sample/soap/helloworld/hw_{c,s}_gzip.rb.</li>
954
+ </ul>
955
+ </li>
956
+ <li>client side
957
+ <ul>
958
+ <li>HTTP-Cookies support under soap4r + http-access2. not supported under soap4r + net/http.</li>
959
+ <li>added a method (SOAP::RPC::Driver#test_loopback_response) for loopback test with the specified response.</li>
960
+ <li>added SOAP::RPC::Driver#loadproperty interface to load property file.</li>
961
+ <li>let SOAP::RPC::Driver#add_method returns Method object. you can invoke a service like; drv.add_method(&#34;hello&#34;).call(&#34;world&#34;)</li>
962
+ <li>added http options to get/set timeout seconds.
963
+ <ul>
964
+ <li>for http-access2:
965
+ <ul>
966
+ <li>driver.options[&#34;protocol.http.connect_timeout&#34;]</li>
967
+ <li>driver.options[&#34;protocol.http.send_timeout&#34;]</li>
968
+ <li>driver.options[&#34;protocol.http.receive_timeout&#34;]</li>
969
+ </ul>
970
+ </li>
971
+ <li>for net/http:
972
+ <ul>
973
+ <li>driver.options[&#34;protocol.http.connect_timeout&#34;]</li>
974
+ <li>driver.options[&#34;protocol.http.receive_timeout&#34;]</li>
975
+ </ul>
976
+ </li>
977
+ </ul>
978
+ </li>
979
+ <li>raise NotImplementedError when net/http + basic_auth.</li>
980
+ </ul>
981
+ </li>
982
+ <li>server side
983
+ <ul>
984
+ <li>introduced the new server class SOAP::RPC::HTTPServer which takes WEBrick's HTTPServer compatible config parameter.</li>
985
+ <li>added a debug log of SOAP request/response.</li>
986
+ </ul>
987
+ </li>
988
+ </ul>
989
+ </li>
990
+
991
+ <li>SOAP core part
992
+ <ul>
993
+ <li>added XMLSchema derived type support; byte, nonPositiveInteger, negativeInteger, nonNegativeInteger, positiveInteger, unsignedLong, unsignedInt, unsignedShort, unsignedByte.</li>
994
+ <li>'eval' cleanup. I hope it allows soap4r to work under mod_ruby environment.</li>
995
+ <li>SOAPProperty raise RuntimeError under ruby-1.9 when accessing locked property. still raises TypeError under ruby-1.8 or earlier. the change is from ruby's behaviour change about an exception when accessing a frozen object.</li>
996
+ <li>make SOAPHeader a child of SOAPStruct, not SOAPArray.</li>
997
+ <li>SOAPProperty does not eval whole string. \\, \t, \r, \n, \f escaping chars are supported like Java's Properties.</li>
998
+ <li>URI object was not mapped correctly so that URI object was not interoperable under some situation. fixed.</li>
999
+ <li>SOAP::Mapping::Object: handle multiple value as an array.
1000
+ <pre>
1001
+ &lt;foo&gt;
1002
+ &lt;bar&gt;1&lt;/bar&gt;
1003
+ &lt;bar&gt;2&lt;/bar&gt;
1004
+ &lt;bar&gt;3&lt;/bar&gt;
1005
+ &lt;baz&gt;4&lt;/baz&gt;
1006
+ &lt;/foo&gt;
1007
+ -&gt;
1008
+ foo.bar =&gt; [1, 2, 3]
1009
+ foo.baz =&gt; 4
1010
+ </pre>
1011
+ </li>
1012
+ <li>raise an exception while dumping singleton class. [ruby-dev:22588]
1013
+ <pre>
1014
+ e.g. c = class &lt;&lt; Object.new
1015
+ class C; self; end
1016
+ end
1017
+ SOAPMarshal.dump(c)
1018
+ </pre>
1019
+ </li>
1020
+ </ul>
1021
+ </li>
1022
+
1023
+ <li>WSDL
1024
+ <ul>
1025
+ <li>WSDL definition
1026
+ <ul>
1027
+ <li>added &lt;xsd:simpleContent&gt; support.</li>
1028
+ <li>initial (means &#34;far from complete&#34;) simpleType support.</li>
1029
+ <li>support parts attribute of soap:body element.</li>
1030
+ <li>xmlSchema's 'any' element support; for parsing, just treat the element as an element which has a name 'any'.</li>
1031
+ <li>add mustUnderstand attribute support.</li>
1032
+ <li>a special well-known type: ApacheMap support.</li>
1033
+ </ul>
1034
+ </li>
1035
+
1036
+ <li>code generation from WSDL
1037
+ <ul>
1038
+ <li>added simple code generation utils (lib/xsd/codegen)</li>
1039
+ <li>dump attribute definition in XMLSchema as 'attr_*' attribute. [experimental]</li>
1040
+ <li>wsdl2ruby.rb: add document/literal service support. see sample/wsdl/documentliteral/*</li>
1041
+ <li>untyped element should be treated as xsd:anyType.</li>
1042
+ <li>added a tool xsd2ruby.rb for generating classdef from xsd file.</li>
1043
+ </ul>
1044
+ </li>
1045
+ </ul>
1046
+ </li>
1047
+
1048
+ <li>Samples
1049
+ <ul>
1050
+ <li>added RAA/2.4 sample client</li>
1051
+ <li>added sample for Application/Request scope use. Session scope (with Cookies) feature is not yet exists.</li>
1052
+ </ul>
1053
+ </li>
1054
+ </ul>
1055
+ </dd>
1056
+
1057
+ <dt>1.5.2 - December 25, 2003</dt>
1058
+ <dd>
1059
+ <ul>
1060
+ <li>License;
1061
+ <ul>
1062
+ <li>Changed license from GPL2 to Ruby's.</li>
1063
+ </ul></li>
1064
+
1065
+ <li>Features;
1066
+ <ul>
1067
+ <li>Add SOAP Messages with Attachments (SwA) support.
1068
+ Patched by Jamie Herre.
1069
+ &quot;SOAP Messages with Attachments&quot; is the W3C Note which defines a
1070
+ binding for a SOAP 1.1 message to be carried within a MIME
1071
+ multipart/related message. <a href="http://www.w3.org/TR/SOAP-attachments">http://www.w3.org/TR/SOAP-attachments</a>
1072
+ This feature is still experimental. Interop testing is going on.</li>
1073
+
1074
+ <li>HTTPS support even when you use net/http (not http-access2).
1075
+ Patched by Oliver M. Bolzer.</li>
1076
+
1077
+ <li>Property file support. SOAP and WSDL client reads &quot;soap/property&quot;
1078
+ file located at somewhere in $: (ruby libray locations). For
1079
+ example, save these lines to
1080
+ &quot;$rubylibdir/site_ruby/1.8/soap/property&quot;.
1081
+ <pre>
1082
+ client.protocol.http.proxy = http://myproxy:8080
1083
+ client.protocol.http.no_proxy = 192.168.71.71,192.168.71.72
1084
+ </pre>
1085
+ Then all HTTP connections should use these proxy and no_proxy
1086
+ definition.</li>
1087
+
1088
+ <li>Do not trust "HTTP_PROXY" environment variable by default to
1089
+ avoid security problem. cf.
1090
+ <ul>
1091
+ <li><a href="http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0072.html">http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0072.html</a></li>
1092
+ <li><a href="http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0241.html">http://ftp.ics.uci.edu/pub/websoft/libwww-perl/archive/2001h1/0241.html</a></li>
1093
+ <li><a href="http://curl.haxx.se/mail/archive-2001-12/0034.html">http://curl.haxx.se/mail/archive-2001-12/0034.html</a></li>
1094
+ </ul>
1095
+ To use HTTP_PROXY and NO_PROXY environment variable, you must set
1096
+ SOAP_USE_PROXY environment variable 'on', too.
1097
+ <pre>
1098
+ bash$ soap_use_proxy=on http_proxy=http://myproxy:8080 ruby ...
1099
+ csh$ env soap_use_proxy=on http_proxy=http://myproxy:8080 ruby ...
1100
+ </pre></li>
1101
+
1102
+ <li>Add SOAP::RPC::Driver#mandatorycharset= and
1103
+ SOAP::WSDLDriver#mandatorycharset= interface to force using
1104
+ charset when parsing response from buggy server such as AWS.</li>
1105
+
1106
+ <li>Support a halfway-typed multi-ref array that Axis dumps.</li>
1107
+
1108
+ <li>Added a interface XSD::Charset.encoding= to control internal
1109
+ encoding scheme. Internal encoding scheme was fixed to 'utf-8'
1110
+ when iconv or uconv was installed. You can set 'euc-jp', etc.
1111
+ to avoid encoding scheme conversion if you know what encoding
1112
+ scheme the server uses.</li>
1113
+ </ul></li>
1114
+
1115
+ <li>Bug fixes;
1116
+ <ul>
1117
+ <li>SOAP::Marshal.unmarshal: raise an exception if parse fails.
1118
+ (returned nil)</li>
1119
+
1120
+ <li>SOAP::WSDLDriver: decode unknown element according to self-defined
1121
+ type even if WSDL was given.</li>
1122
+
1123
+ <li> SOAP::Mapping::Factory#create_empty_object: fix Class#allocate
1124
+ emulation code for ruby/1.6. no effective change under ruby/1.8.</li>
1125
+
1126
+ <li>SOAP::RPC::SOAPMethodResponse: element name of response message
1127
+ could have the name other than 'return'.</li>
1128
+
1129
+ <li>SOAP::RPC::StandaloneServer: add methods 'shutdown' and 'status'
1130
+ as delegates to WEBrick.</li>
1131
+
1132
+ <li>WSDL::SOAP::ClassDefCreator: WSDL/1.1 allows plural fault
1133
+ definition in a operation.</li>
1134
+
1135
+ <li>XSD::Charset.init: use cp932 under emx.
1136
+ Patched by Siena. / SHINAGAWA, Norihide.</li>
1137
+ </ul></li>
1138
+ </ul></dd>
1139
+
1140
+ <dt>1.5.1 - November 2, 2003</dt>
1141
+ <dd>
1142
+ <ul>
1143
+ <li>Features;
1144
+ <ul>
1145
+ <li>Sample updates; Update Amazon Web Service WSDL (v2 -&gt; v3), and update RAA WSDL(0.0.1 -&gt; 0.0.2).
1146
+ <li>Supports ivars of basetype and extending modules marshalling with XML attribute.
1147
+ Using XML attribute to support ruby object dependent information, marshalled object keeps compatibility with SOAP spec.
1148
+ It shows the power of XML, extensibility.<br/>
1149
+ Now I think SOAP marshaller supports all kind of object graph which is supported by Ruby's original marshaller.</li>
1150
+ <li>Better XML pretty printing.
1151
+ <pre>
1152
+ puts SOAPMarshal.dump(Person.new(&quot;NaHi&quot;, 33))
1153
+
1154
+ =&gt;
1155
+
1156
+ &lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;
1157
+ &lt;env:Envelope xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;
1158
+ xmlns:env=&quot;http://schemas.xmlsoap.org/soap/envelope/&quot;
1159
+ xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&gt;
1160
+ &lt;env:Body&gt;
1161
+ &lt;Person xmlns:n1=&quot;http://www.ruby-lang.org/xmlns/ruby/type/custom&quot;
1162
+ xsi:type=&quot;n1:Person&quot;
1163
+ env:encodingStyle=&quot;http://schemas.xmlsoap.org/soap/encoding/&quot;&gt;
1164
+ &lt;age xsi:type=&quot;xsd:int&quot;&gt;33&lt;/age&gt;
1165
+ &lt;name xsi:type=&quot;xsd:string&quot;&gt;NaHi&lt;/name&gt;
1166
+ &lt;/Person&gt;
1167
+ &lt;/env:Body&gt;
1168
+ &lt;/env:Envelope&gt;
1169
+ </pre></li>
1170
+ </ul></li>
1171
+
1172
+ <li>Installation;
1173
+ <ul>
1174
+ <li>The previous version soap4r/1.5.0 required http-access2 to be installed to build CGI server, but no longer needed fot this purpose now.
1175
+ You can use almost all features of soap4r without http-access2,
1176
+ but for actual usage, consider installing http-access2 for speed and
1177
+ thread-safe SOAP client.</li>
1178
+ <li>Under ruby/1.8, installer installs lib files to rubylibdir(e.g. /usr/local/lib/ruby/1.8) instead of sitelibdir(e.g. /usr/local/lib/ruby/site_ruby/1.8)</li>
1179
+ </ul></li>
1180
+
1181
+ <li>Bug fixes;
1182
+ <ul>
1183
+ <li>Do not introduce XSD constants to toplevel.</li>
1184
+ <li>'NO_PROXY'/'no_proxy' env var was not supported under net/http. Fixed.</li>
1185
+ <li>Remove some ruby/1.8 dependent codes. Should work fine under 1.6, too.</li>
1186
+ <li>XSD::XSDString did not check its value space under $KCODE = 'NONE' env for example where iconv module is not installed.</li>
1187
+ <li>XSD::XSDFloat, XSD::XSDDouble: add +/- sign explicitly when stringified and embedded into XML instance. Ruby's sprintf may format -0.0 as "0.0" (no minus sign) depending on underlying C sprintf implementation.</li>
1188
+ </ul></li>
1189
+ </ul></dd>
1190
+
1191
+ <dt>1.5.0 - September 13, 2003</dt>
1192
+ <dd>Thousands of lines are changed in this release
1193
+ (*.rb in current SOAP4R distribution has 30kloc or over).
1194
+ But the biggest change is coding convention, camelCase to non_camel_case.
1195
+ Though I tried to keep compatibility between 1.5.0 and 1.4.8, but there's no
1196
+ way to keep it at a few point. If you'll find your code which was developed
1197
+ for 1.4.8 does not run under 1.5.0, feel free to ask
1198
+ <a href="mailto:nahi@ruby-lang.org">me</a> to solve the problem.
1199
+ <ul>
1200
+ <li>Dependency libraries;
1201
+ <ul>
1202
+ <li>Add net/http support. Users can try sample SOAP clients without installing http-access2. For actual usage, consider installing http-access2 for speed and thread-safe SOAP client. CAUTION: Building SOAP CGI server needs http-access2 to be installed.</li>
1203
+ <li>Soap4r standalone server requires webrick module to be installed instead of GServer.rb and httpserver.rb.</li>
1204
+ <li>Supports iconv. To use utf-8, you need to install iconv(included in ruby/1.8) or uconv.</li>
1205
+ <li>Suspend NQXML XML parser support.</li>
1206
+ <li>Remove REXML processor version check. No longer needed.</li>
1207
+ <li>Rewrite tests with test/unit.</li>
1208
+ </ul></li>
1209
+
1210
+ <li>Features;
1211
+ <ul>
1212
+ <li>Efforts to support messaging with document/literal and ASP.NET interoperability.</li>
1213
+ <li>Add document/literal messaging interface to wsdlDriver.rb. See a very brief example in sample/soapbox/wsdlDriver.rb though I still didn't try to login to Jabber server.. Jabber folks?</li>
1214
+ <li>XML pretty printing.</li>
1215
+ <li>Better Ruby object mapping. Rewrote RubytypeFactory to support more Ruby objects. Tests in AMarshal(http://cvs.m17n.org/~akr/amarshal/) much helped it. Thanks very much to Tanaka Akira-san.</li>
1216
+ <li>SOAPMarshal accepts IO as an output device like Marshal#dump.</li>
1217
+ <li>SOAPElement: constructor signature change. Added extraattrs attribute.</li>
1218
+ <li>XSDDateTimeImpl: to_time did not set usec.</li>
1219
+ <li>StreamHandler: add reset method to shutdown a connection to a site.</li>
1220
+ </ul></li>
1221
+
1222
+ <li>Others;
1223
+ <ul>
1224
+ <li>Simplify installer and remove uninstaller. Saving inventory file in src dir could be the problem.</li>
1225
+ <li>Class/Module architecture relocation.</li>
1226
+ <li>Changing coding convention to fit with Ruby's. Added lib/soap/compat.rb which defines compatibility definitions for 1.4.8. lib/soap/compat.rb warns when the library is loaded.</li>
1227
+ <li>Many warnings raised under 1.8, caused by illegal references like XSD::XSDInt in typeMap.rb. Soap4r defined toplevel::XSDInt. Define XSD* classes in XSD module and introduce it to toplevel.</li>
1228
+ </ul></li>
1229
+ </ul>
1230
+ </dd>
1231
+
1232
+ <dt>1.4.8 - January 17, 2003</dt>
1233
+ <dd>
1234
+ This version has these enhancements and bug fixes;
1235
+ <ul>
1236
+ <li>Avoid warnings;
1237
+ <ul>
1238
+ <li>Use Object#class instead of Object#type.</li>
1239
+ <li>Avoid implicit use a String as a regexp source.</li>
1240
+ </ul></li>
1241
+ <li>Add wsdlDriver which reads WSDL file and allow client to call procedures. Here is an example to search Google.
1242
+ <pre>
1243
+ require 'soap/wsdlDriver'
1244
+ searchWord = ARGV.shift
1245
+ # You must get key from http://www.google.com/apis/ to use Google Web APIs.
1246
+ key = File.open(File.expand_path("~/.google_key")).read.chomp
1247
+ GOOGLE_WSDL = 'http://api.google.com/GoogleSearch.wsdl'
1248
+ # Load WSDL and create driver.
1249
+ google = SOAP::WSDLDriverFactory.new(GOOGLE_WSDL).createDriver
1250
+ # Just invoke!
1251
+ result = google.doGoogleSearch(key, searchWord, 0, 10, false, "", false, "", 'utf-8', 'utf-8')
1252
+ result.resultElements.each do |ele|
1253
+ puts "== #{ele.title}: #{ele.URL}"
1254
+ puts ele.snippet
1255
+ puts
1256
+ end
1257
+ </pre></li>
1258
+ <li>WSDLDriver client examples of AmazonWebServices, RAA and RNN (Japanese Ruby blog site) are also included in sample/ dir.</li>
1259
+ <li>Support xmlscan XML processor.</li>
1260
+ <li>Changed XML processor detection scheme. Search xmlscan, REXML, XMLParser and NQXML in this order.</li>
1261
+ <li>Rewrite charset handling of XML processor.
1262
+ <ul>
1263
+ <li>If you only use us-ascii and utf-8, all XML processors should work without uconv module.</li>
1264
+ <li>With xmlscan/0.2 or later, you can handle euc-jp or shift_jis encoded XML instance WITHOUT uconv module.</li>
1265
+ <li>With other XML processors includes xmlscan/0.1, you need to install uconv module to handle euc-jp or shift_jis encoded XML instance.</li>
1266
+ </ul></li>
1267
+ <li>cgistub.rb: Overridable response mediatype. There exists a http client which does not accept the mediatype text/xml which is specified in SOAP spec. For example, an i-Mode (smart phone) client does not accept it... You can set response mediatype to 'text/plain' for such client though it violates SOAP spec...</li>
1268
+ <li>wsdl2ruby: Add --force option to override existing file.</li>
1269
+ <li>Fixed many bugs.</li>
1270
+ </ul></dd>
1271
+
1272
+ <dt>1.4.7 - September 20, 2002</dt>
1273
+ <dd>
1274
+ This version has these enhancements and bug fixes;
1275
+ <ul>
1276
+ <li>Includes WSDL4R initial release.
1277
+ <ul>
1278
+ <li>Bear in mind this is an alpha level code.
1279
+ I wrote it halfway at half and a year ago,
1280
+ and wrote the rest part in half and a day.
1281
+ No comprehensive test, no strict syntax check, unfriendly error message, etc.
1282
+ Try it if you want, and find bugs in it.</li>
1283
+ <li>WSDL4R can run under XMLParser for now.
1284
+ You might be able to let it run under NQXML/REXML if you know SAX
1285
+ programming well. How XML processor is used under WSDL4R
1286
+ is as same as under SOAP4R.</li>
1287
+ </ul></li>
1288
+ <li>Added xsd:short support.</li>
1289
+ <li>::Float(double precision float in Ruby) is mapped to xsd:double now.
1290
+ It was mapped to xsd:float.</li>
1291
+ <li>Fixed a bug of year &lt; 0 handling. B.C. 1 =&gt; -0001 in XMLSchema.</li>
1292
+ <li>Fixed a bug of exception serialization. Custam mappingRegistry was not used.</li>
1293
+ <li>Fixed a bug of regex for MediaType parsing.</li>
1294
+ </ul>
1295
+ </dd>
1296
+
1297
+ <dt>1.4.5 - May 25, 2002</dt>
1298
+ <dd>
1299
+ This version has these enhancements;
1300
+ <ul>
1301
+ <li>Supports all primitive datatypes of XML Schema Part2 Datatypes except NOTATION.
1302
+ Added types are Duration, gYearMonth, anyURI, QName and so on.</li>
1303
+ <li>Runs much faster than earlier versions.
1304
+ Some performance check and tuning has been done.</li>
1305
+ <li>Supports all Ruby objects marshalling/unmarshalling
1306
+ except some special objects. See below for more detail.</li>
1307
+ </ul>
1308
+
1309
+ CAUTION: This version requires
1310
+ <a href="http://raa.ruby-lang.org/list.rhtml?name=date2">[RAA:date2]</a> version 3.2 or later and
1311
+ <a href="http://raa.ruby-lang.org/list.rhtml?name=http-access2">[RAA:http-access2]</a> version F.
1312
+ Please make sure the versions you use.
1313
+ <br/><br/>
1314
+
1315
+ Here is detail of change.
1316
+ <dl>
1317
+ <dt>Datatypes (XMLSchemaDatatypes.rb and baseData.rb)</dt>
1318
+ <dd>
1319
+ <ul>
1320
+ <li>Added duration, gYearMonth, gYear, gMonthDay, gDay, gMonth, anyURI and QName datetypes.
1321
+ All primitive datatypes in XML Schema Part 2 section 3.2 except NOTAION are supported now.</li>
1322
+ <li>Modified XSDDataTime, XSDDate and XSDTime implementation. These use a DataTime as a data holder.</li>
1323
+ <li>Follow date/3.2: date2.rb -&gt; date.rb.</li>
1324
+ <li>Changed to_s representations of single float and double float. Thanks to gotoken.</li>
1325
+ <li>XSDFloat: Add '0' if given str ends with 'E'. Float( "-1.4E" ) might fail on some system.</li>
1326
+ <li>Added SOAPRawString class. Given string is embedded into XML instance directly.
1327
+ You can use this class to embed (numeric) character references manually.</li>
1328
+ <li>Fixed UTF8 regexp bug. XSDString uses this regexp to check a given string.</li>
1329
+ <li>Added UT for XMLSchemaDatatypes.rb. See test/xsd_ut.rb and test/baseData_ut.rb.</li>
1330
+ </ul></dd>
1331
+
1332
+ <dt>SOAP &lt;-&gt; Ruby object mapping (mappingRegistry.rb and rpcUtils.rb)</dt>
1333
+ <dd>
1334
+ <ul>
1335
+ <li>Exception raised from server side could not be mapped to specific exception. Fixed.</li>
1336
+ <li>Refactoring to avoid *_eval. Reduced warnings.</li>
1337
+ <li>Added Range marshalling support.</li>
1338
+ <li>Regexp#options support under ruby/1.6.</li>
1339
+ <li>Supports cyclic Range such as;
1340
+ <pre>
1341
+ class Foo
1342
+ attr_accessor :foo
1343
+ def succ; end
1344
+ def &lt;=&gt;( rhs ); end
1345
+ end
1346
+
1347
+ o1 = Foo.new
1348
+ o2 = Foo.new
1349
+ r = o1..o2
1350
+ o1.foo = r
1351
+
1352
+ p SOAPMarshal.load( SOAPMarshal.dump( r ))
1353
+ </pre></li>
1354
+ <li>Supports some instance variable of ruby standard class.
1355
+ But instance variable of Array, Hash, String, Float and Bignum are not supported because of restriction of SOAP encoding format...</li>
1356
+ <li>Alias ::SOAPMarshal to ::SOAP::Marshal.</li>
1357
+ <li>Added Marshal.load and Marshal.dump as aliases to Marshal.unmarshal and
1358
+ Marshal.unmarshal.</li>
1359
+ </ul></dd>
1360
+
1361
+ <dt>misc</dt>
1362
+ <dd>
1363
+ <ul>
1364
+ <li>Dumps what parser is used when $DEBUG. Try 'ruby -d -rsoap/processor -e 0'</li>
1365
+ <li>Added CGI samples in sample/.</li>
1366
+ <li>Some performance check and tuning has been done on both client and server side.
1367
+ One bottle neck is Kernel.methods which SOAP4R use(d) while mapping SOAP Data Model &lt;-&gt; Ruby object.
1368
+ I replaced it with Object.respond_to? .
1369
+ Another bottle neck of client side is delegate.rb which is used by http-access2.
1370
+ Get <a href="http://raa.ruby-lang.org/list.rhtml?name=http-access2">[RAA:http-access2]</a> version F.
1371
+ </ul>
1372
+ </dd>
1373
+ </dl>
1374
+ </dd>
1375
+
1376
+ <dt>1.4.4 - May 6, 2002</dt>
1377
+ <dd>
1378
+ This is a bug fix release.
1379
+ Following users should update.
1380
+ <ul>
1381
+ <li>Users who use DateTime datatype.</li>
1382
+ <li>Developers of SOAP client/server which works under multi-thread condition.</li>
1383
+ <li>REXML users.</li>
1384
+ </ul>
1385
+ Fixed bugs.
1386
+ <ul>
1387
+ <li>XSDDataTime: Changed variable name usec to sec_frac. It's not a micro sec so name usec is misleading.</li>
1388
+ <li>XSDTime: Fixed bugs in usec part.</li>
1389
+ <li>date.rb in standard library and date2 version 3 conflicts because date2.rb is a successor of date.rb and not designed for dual use.
1390
+ (ex. using a module which requires date.rb like DBI and another module which requires date2.rb).
1391
+ Added a workaround for this.</li>
1392
+ <li>SOAP::Processor was not MT-safe. Fixed.
1393
+ Projected feature regards to MT are follows.
1394
+ At least I hope so. Tell me if you find these wrong.
1395
+ <ul>
1396
+ <li>Driver: safe</li>
1397
+ <li>Proxy: safe</li>
1398
+ <li>Server: safe</li>
1399
+ <li>CGIStub: safe</li>
1400
+ <li>StandaloneServer: safe</li>
1401
+ <li>RPCRouter: safe</li>
1402
+ <li>StreamHandler: safe</li>
1403
+ <li>Processor: safe</li>
1404
+ <li>SOAPParser: unsafe</li>
1405
+ <li>SOAPGenerator: unsafe</li>
1406
+ <li>EncodingStyleHandler: unsafe</li>
1407
+ </ul>
1408
+ </li>
1409
+ <li>SOAP4R/1.4.3 supports REXML/2.1.3 but it did not detect REXML processor automatically.</li>
1410
+ </ul>
1411
+ </dd>
1412
+
1413
+ <dt>1.4.3 - April 11, 2002</dt>
1414
+
1415
+ <dd>
1416
+ <dl>
1417
+ <dt>Attention to 1.4.2 or earlier users;</dt>
1418
+ <dd>
1419
+ <ul>
1420
+ <li>Stopped redistributing packages in RAA from this release.
1421
+ Please get <a href="#dependencies">required</a> packages from
1422
+ <a href="http://raa.ruby-lang.org">RAA</a>
1423
+ and install it.</li>
1424
+ <li>It still does NOT support WSDL!</li>
1425
+ </ul>
1426
+ </dd>
1427
+
1428
+ <dt>New features</dt>
1429
+ <dd>
1430
+ <ul>
1431
+ <li>Added REXML parser support.</li>
1432
+ <li>Added uninstaller.</li>
1433
+ <li>Re: samples
1434
+ <ul>
1435
+ <li>Added 3 new samples, Calc, Exchange, and SampleStruct.</li>
1436
+ <li>Use environment variable HTTP_PROXY or http_proxy for http proxy.</li>
1437
+ <li>Removed unreachable services.</li>
1438
+ <li>RAA: Separate iRAA.rb into RAA.rb and iRAA.rb.</li>
1439
+ <li>Added description about <a href="#samples">samples</a> to RELEASE_en.html.</li>
1440
+ </ul>
1441
+ <li>Changed String encoding handling among
1442
+ Ruby object &lt;-&gt; SOAP Data Model &lt;-&gt; XML instance.
1443
+ <ul>
1444
+ <li>Ruby object: $KCODE.</li>
1445
+ <li>SOAP Data Model: utf-8 if uconv module is installed, $KCODE if not.</li>
1446
+ <li>XML instance: Client side use utf-8 if uconv module is installed,
1447
+ $KCODE if not. Server side try to adjust the request encoding.</li>
1448
+ <li>Use regexp instead of NKF.guess to check if the given String is EUC/SJIS or not.</li>
1449
+ </ul>
1450
+ </li>
1451
+ <li>Added 'addServant' interface to server side. See sample/Calc/server.rb.</li>
1452
+ <li>Added 'addMethodAs' interface to both server side and client side.
1453
+ See sample/Calc/server2.rb.</li>
1454
+ </ul>
1455
+ </dd>
1456
+
1457
+ <dt>Changes</dt>
1458
+ <dd>
1459
+ <ul>
1460
+ <li>Removed Japanese document.
1461
+ I was tired of maintaining 2 separated documents.
1462
+ Though my English is poor as you see, numbers of readers of my English document
1463
+ should be more than one of my Japanese document.
1464
+ Would you please tell me bug of my English composition and of course in the code?</li>
1465
+ <li>Use
1466
+ <a href="http://raa.ruby-lang.org/list.rhtml?name=devel-logger">[RAA:devel-logger]</a>
1467
+ instead of
1468
+ <a href="http://raa.ruby-lang.org/list.rhtml?name=application">[RAA:application]</a>.
1469
+ </li>
1470
+ <li>Avoided using exception in soap2obj and reduced warnings in runtime.</li>
1471
+ <li>XSDDateTime: Use date2 version 3 instead of date3.rb.
1472
+ Date2 version 3 will be included in standard distribution of Ruby/1.8.</li>
1473
+ <li>XSDDateTime: Added XSDDateTimeToTime module to extract a Time object from XSDDateTime, XSDDate and XSDTime.</li>
1474
+ </ul>
1475
+ </dd>
1476
+
1477
+ <dt>Bug fixes</dt>
1478
+ <dd>
1479
+ <ul>
1480
+ <li>Set 'charset=' to content-type when sending back a SOAPFault.
1481
+ It was not set.</li>
1482
+ <li>XSDDateTime: Parsedate was not used. Removed.</li>
1483
+ <li>Added constant Log as a canonical name of Devel::Logger for backward
1484
+ compatibility of devel-logger.</li>
1485
+ <li>Foo = Struct.new(:foo) and Foo = Struct.new("Foo", :foo) could not be
1486
+ unmarshalled collectly. All members were unmarshalled as nil. Fixed.</li>
1487
+ <li>Rescue ArgumentError(Unrecognized signal) in standaloneServer.rb for mswin32 ruby.</li>
1488
+ </ul>
1489
+ </dd>
1490
+ </dl>
1491
+ </dd>
1492
+
1493
+ <dt>1.4.2 - December 28, 2001</dt>
1494
+ <dd>
1495
+ Many changes around Ruby language mapping for SOAP.
1496
+ I replaced DRb's marshalling format with SOAP marshalling and it passed
1497
+ about all unit test packed in DRb package.
1498
+ Only test failed was regards to packet size.
1499
+ You might be able to use SOAP::Marshal.(un|)marshal for serializing objects
1500
+ instead of Marshal.(load|dump).
1501
+
1502
+ <ul>
1503
+ <li>Illegal decoding of a position-less element after position-ed element. Fixed.</li>
1504
+ <li>Add Rubytype encoding/decoding support: Regexp, Class, Module and Symbol.</li>
1505
+ <li>Added an option of MappingRegistry to raise an exception when unknown Struct.
1506
+ The option is set 'false' by default so that same behaviour as before.</li>
1507
+ </ul></dd>
1508
+
1509
+ <dt>1.4.1 - December 7, 2001</dt>
1510
+ <dd>SOAP4R/1.4 contained many bugs (as usual...)
1511
+ 1.4.1 is a maintenance release. Some bugs are fixed.
1512
+ Thanks to Michael Neumann.
1513
+
1514
+ <ul>
1515
+ <li>instance_eval in SOAPStruct#add for adding accessor illegaly overrode important methods for SOAP4R such as name, name= and so on. Removed this instance_eval and rewrote other codes which did depend the code. Thanks to MNeumann for reporting it and giving a suggestion to fix it.</li>
1516
+ <li>Fixed charset handling. Illegal charset was set when automatic XML processor detecting.</li>
1517
+ <li>Removed unused code(self.decode) in element.rb.</li>
1518
+ <li>Illegal constant access when SOAP format error. Fixed.</li>
1519
+ <li>LiteralEncodingNamespace moved to SOAP module.</li>
1520
+ </ul></dd>
1521
+
1522
+
1523
+ <dt>1.4 - December 5, 2001</dt>
1524
+ <dd><ul>
1525
+ <li>Datatypes:
1526
+ <ul>
1527
+ <li>XSDFloat: Bug in rounding double float to single float. Fixed.</li>
1528
+ <li>SOAPElement: Added for literal encoding.</li>
1529
+ <li>Removed SOAP encoding functions from baseData. EncondingStyleHandler should decide how to encode SOAP data model. (ie. ASP.NET seems to have its own encoding style.)</li>
1530
+ <li>SOAPHeaderItem: Changed interface for easy use.</li>
1531
+ </ul></li>
1532
+
1533
+ <li>SOAP Encoding:
1534
+ <ul>
1535
+ <li>Encoding by itself, not using NQXML's tree object model.</li>
1536
+ <li>At last, supported multi-ref encoding!</li>
1537
+ <li>marshal.rb: Marshalling with Envelope and Body. To marshal multi-ref'd object, Body is needed. CAUTION: Not compatible between former implementation.</li>
1538
+ <li>Add EncodingStyleHandlerLiteral and set it to default.</li>
1539
+ <li>Renamed encoding.rb to encodingStyleHandler.rb.</li>
1540
+ <li>Added ASP.NET encoding handler. ASP.NET seems to use literal encoding (by default) but it is easier with this encodingStyleHandler to access the service which is built with ASP.NET.</li>
1541
+ <li>Changed element name escape.
1542
+ <ul>
1543
+ <li>:: &lt;=&gt; \.\.</li>
1544
+ <li>[^a-zA-Z0-9_-] &lt;=&gt; \.[0-F][0-F]
1545
+ </ul>
1546
+ Limitation: Using SOAP4R's RPC function, you cannot use the name which contains '.' for method name, class/struct name, and accessor name. In Ruby world, it should not be a problem I believe.</li>
1547
+ </ul></li>
1548
+
1549
+ <li>RPC related functions:
1550
+ <ul>
1551
+ <li>Driver: Added 'invoke' method for messaging.</li>
1552
+ <li>Driver: Content of SOAPFault detail element is set in the exception which is thrown from SOAP Node to client application.</li>
1553
+ <li>Processor: Changed Processor.(un|)marshal interface. An instance of NS for parsing/generating XML instance is prepared in parser/generator.</li>
1554
+ <li>mappingRegistry.rb is devided from rpcUtils.rb.</li>
1555
+ </ul></li>
1556
+ </ul></dd>
1557
+
1558
+
1559
+ <dt>1.3.8 - October 4, 2001</dt>
1560
+ <dd>Feedback from
1561
+ <a href="http://www.whitemesa.com/interop.htm">SOAPBuilders Interoperability Lab &quot;Round 2&quot;</a>
1562
+ and Michael Neumann. Thanks!
1563
+
1564
+ <ul>
1565
+ <li>Datatypes:
1566
+ <ul>
1567
+ <li>XSDFloat: Creating float data from junk string such as "123.0junk" was
1568
+ converted to 0.0. It should be avoided. Fixed.</li>
1569
+ <li>XSDFloat: Fixed double -&gt; single rounding code.</li>
1570
+ </ul></li>
1571
+
1572
+ <li>RPC related functions:
1573
+ <ul>
1574
+ <li>Changed typename <=> NCName strategy. '::' &lt;=&gt; '.'</li>
1575
+ <li>Added mappingRegistry argument to interfaces for SOAP object creation.</li>
1576
+ </ul></li>
1577
+
1578
+ <li>Others:
1579
+ <ul>
1580
+ <li>Set faultstring '(No faultstring)' to SOAP Fault when empty faultstring element.</li>
1581
+ <li>server.rb: Added mappingRegistry interface.</li>
1582
+ <li>marshal.rb: Create NCName from typename.</li>
1583
+ </ul></li>
1584
+ </ul></dd>
1585
+
1586
+
1587
+ <dt>1.3.7 - August 24, 2001</dt>
1588
+ <dd>Feedback from
1589
+ <a href="http://www.whitemesa.com/interop.htm">SOAPBuilders Interoperability Lab &quot;Round 2&quot;</a>
1590
+ and Michael Neumann. Thanks!
1591
+
1592
+ <ul>
1593
+ <li>Datatypes:
1594
+ <ul>
1595
+ <li>All datatypes try to keep nil correctly.</li>
1596
+ <li>XSDInt/Integer/Long: to_i -&gt; Integer() to detect format error.</li>
1597
+ <li>XSDDateTime, XSDDate, XSDTime: Add trailing 'Z' to indicate UTC.</li>
1598
+ <li>SOAPStruct: Accept untyped struct.</li>
1599
+ <li>Map(Hash): Let &lt;item&gt; untyped.</li>
1600
+ <li>Apache allows only 'item' in Map type.</li>
1601
+ </ul></li>
1602
+
1603
+ <li>Stream handler:
1604
+ <ul>
1605
+ <li>Removed MPOST support.</li>
1606
+ <li>ECONNRESET was not caught. Fixed.</li>
1607
+ <li>Added timeout support.</li>
1608
+ </ul></li>
1609
+
1610
+ <li>Others:
1611
+ <ul>
1612
+ <li>Changed using URI library: URb -&gt; URI; following its name change.</li>
1613
+ <li>Added NQXML/1.1.0 support. A XMLDecl now recognized as a XMLDecl, not a PI.</li>
1614
+ </ul></li>
1615
+ </ul></dd>
1616
+
1617
+ <dt>1.3.6 - July 27, 2001</dt>
1618
+ <dd>Many feedbacks from Michael Neumann. Thanks!
1619
+
1620
+ <ul>
1621
+ <li>hexBinary type: Added.</li>
1622
+ <li>nil type: Should not be xsd:nil but xsi:nil.</li>
1623
+ <li>Added StandaloneServer implementation. Thanks to Michael Neumann!</li>
1624
+ <li>Illegal parsing of XMLDecl. Fixed.</li>
1625
+ <li>RPC's 'inout' param was not supported. Fixed. Thanks to Michael Neumann!</li>
1626
+ <li>URb::Generic#path returns '' when abs_path is empty (such as http://foo).
1627
+ Added checking code.</li>
1628
+ <li>Use http-access2 instead of original HTTP implementation. http-access2 supports HTTP/1.1's persistent connection.</li>
1629
+ </ul></dd>
1630
+
1631
+ <dt>1.3.5 - July 14, 2001</dt>
1632
+ <dd>Many feedbacks from Michael Neumann.
1633
+ I much appreciate valuable comments to him.
1634
+ Thanks!
1635
+
1636
+ <ul>
1637
+ <li>Changed using URI library: uri -&gt; URb.</li>
1638
+ <li>Types changed:
1639
+ <ul>
1640
+ <li>All: Triming data except XSDString before parsing it.</li>
1641
+ <li>String: Regexp for XML Char check did not work under $KCODE = 'UTF8' condition. Fixed.</li>
1642
+ <li>Nil: 2001xsd:nil must not accept a value '1'. 1999xsd:null must not accept a value 'true' because these are not a boolean but only a flag for nil. Fixed.</li>
1643
+ </ul>
1644
+ </li>
1645
+
1646
+ <li>Supported XML parser:
1647
+ <ul>
1648
+ <li>Added automatic CES conversion support for NQXMLParser.
1649
+ (Depends on uconv module).
1650
+ Set $KCODE for regexps used in NQXML parser.</li>
1651
+ <li>Moved SOAPNQXML*Parser to nqxmlparser.rb.</li>
1652
+ </ul>
1653
+ </li>
1654
+
1655
+ <li>RPC related functions changed:</li>
1656
+ <ul>
1657
+ <li>Added marshalling/unmarshalling Ruby's object using SOAP Encoding.</li>
1658
+ <li>Parallelize of signatures of 'addMethod': proxy.rb &lt;-&gt; rpcRouter.rb, driver.rb &lt;-&gt; cgistub.rb.</li>
1659
+ <li>Void return if 'retval' is not defined.</li>
1660
+ <li>Added SOAP's Long type to default mapping table.</li>
1661
+ </ul>
1662
+ </li>
1663
+ </ul></dd>
1664
+
1665
+ <dt>1.3.4.2 - July 11, 2001</dt>
1666
+ <dd>SOAP4R/1.3.4 was once packed in July 10, 2001.
1667
+ But, thanks to MNeumann and knu,
1668
+ I found I had forgotten to pack 'redist' directory with it.
1669
+ I added some fix from developing version and repack it as 1.3.4.2.
1670
+ Sorry for frequently release...
1671
+ <br/><br/>
1672
+
1673
+ Feedback from
1674
+ <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1675
+ and Michael Neumann. Thanks!
1676
+
1677
+ <ul>
1678
+ <li>Added in 1.3.4.2:
1679
+ <ul>
1680
+ <li>Type Decimal: Silly bug fixed. 0.0001 was converted to 0.1</li>
1681
+ <li>CGIStub returns HTTP status 500 when returning SOAP Fault.
1682
+ Returned 200 because I don't like this spec., but SOAP/1.2 W3C WD
1683
+ 9 July 2001 have adopted it. Hmm...</li>
1684
+ <li>RPC client(driver.rb): Exception#set_backtrace was omitted when transmitting exception by SOAP Fault.</li>
1685
+ </ul>
1686
+ </li>
1687
+ <li>Types changed:
1688
+ <ul>
1689
+ <li>Array: Incomplete sparse array support. Fixed.</li>
1690
+ <li>Date: Added.</li>
1691
+ <li>Time: Added.</li>
1692
+ <li>DateTime: Added precision of time support.</li>
1693
+ <li>String: Default data should not be nil but ''.</li>
1694
+ <li>Nil: Attribute value of xsi:nil might be '1' instead of 'true'. Fixed.</li>
1695
+ </ul>
1696
+ </li>
1697
+
1698
+ <li>Supported XML parser:
1699
+ <ul>
1700
+ <li>Added SOAPXMLParser and SOAPSAXDriver for XMLParser which uses expat.
1701
+ You can get the module from RAA: <a href="http://raa.ruby-lang.org/list.rhtml?name=xmlparser">XMLParser module</a>.<br/>
1702
+ To use XMLParser -&gt; add &quot;require 'soap/xmlparser'&quot;.<br/>
1703
+ To use SAX driver of XMLParser -&gt; add &quot;require 'soap/saxdriver'&quot;.<br/>
1704
+ To use NQXMLParser -&gt; nothing to do.<br/>
1705
+ FYI:
1706
+ <ul>
1707
+ <li>XMLParser version is faster than others</li>
1708
+ <li>SAXDriver version is extremely slow</li>
1709
+ <li>NQXMLParser version is somewhat slower than XMLParser version</li>
1710
+ <li>XMLParser is a Ruby extension module; To use it, you must compile and install it.</li>
1711
+ <li>So far, automatic code conversion support is for XMLParser and SAXDriver. See below.</li>
1712
+ </ul>
1713
+ </li>
1714
+ <li>Added automatic CES conversion support: UTF-8 &lt;-&gt; EUC, SJIS.
1715
+ Requires Uconv module. Works with XMLParser module only now.</li>
1716
+ <li>Added XMLDecl for CES.</li>
1717
+ </ul>
1718
+ </ul></dd>
1719
+
1720
+ <dt>1.3.3 - July 4, 2001</dt>
1721
+ <dd>Feedback from
1722
+ <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1723
+ and Michael Neumann. Thanks!
1724
+ <ul>
1725
+ <li>Added SOAP4R Installer by Michael Neumann. Thanks!</li>
1726
+ <li>Types changed:
1727
+ <ul>
1728
+ <li>Boolean: Accepts 1 and 0 in addition to true and falue.</li>
1729
+ <li>Float: handles single-precision 32-bit floating point.
1730
+ Ruby's float is doule-precision.</li>
1731
+ <li>Double: Added. Mapped to Ruby's Float.</li>
1732
+ <li>DateTime: Added TZ support.</li>
1733
+ <li>Long: Added.</li>
1734
+ <li>Int: Changed class hierarchy; derived from Long now.</li>
1735
+ <li>Array: Added 'position' and 'offset' support.</li>
1736
+ <li>Array: Added M-D Array support.</li>
1737
+ <li>Decimal: Added but it's incomplete now.</li>
1738
+ </ul>
1739
+ </li>
1740
+ <li>Illegal error message when a type not found in SOAP-ENC.</li>
1741
+ <li>Tries to transmit \r safely. To be checked...</li>
1742
+ <li>Parse Fault items like 'faultcode' as same as Body ie. href/id.</li>
1743
+ <li>rpcUtils.rb was completely re-written.
1744
+ <ul>
1745
+ <li>Added mappingRegistry interface.</li>
1746
+ <li>Changed soap2obj and obj2soap's interface.</li>
1747
+ <li>Bignum might be int or integer. It's dependent on platform.
1748
+ Changed to check range -2147483648~+2147483647 itself.</li>
1749
+ <li>ary2md: Added. Converting Array ((of Array)...) to M-D Array.</li>
1750
+ <li>struct2obj: Illegal dependency on ordering of Struct#members. Fixed.</li>
1751
+ <li>Ruby's Array should be converted to SOAP's Array of anyType. Fixed.</li>
1752
+ </ul>
1753
+ </li>
1754
+ <li>Dump HTTP header even when an error was raised.</li>
1755
+ </ul></dd>
1756
+
1757
+ <dt>1.3.2 - June 21, 2001</dt>
1758
+ <dd>Feedback from
1759
+ <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1760
+
1761
+ <ul>
1762
+ <li>&quot;nil='1'&quot; should be &quot;nil='true'&quot; in 2001 schema
1763
+ whereas &quot;null='1'&quot; in 1999 schema. Fixed.</li>
1764
+ <li>SOAP Array was not typed with xsi:type.</li>
1765
+ <li>Fixed serialization root handling algorithm.</li>
1766
+ <li>Supported kind of SOAP-ENC:String style typed element.</li>
1767
+ <li>Default namespace was not derived to child element. Fixed.</li>
1768
+ <li>Support default encodingStyle.</li>
1769
+ <li>Added support for void type (SOAP::RPCUtils::SOAPVoid).</li>
1770
+ </ul></dd>
1771
+
1772
+ <dt>1.3.1 - May 30, 2001</dt>
1773
+ <dd>Feedback from
1774
+ <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1775
+
1776
+ <ul>
1777
+ <li>Heading and trailing whtespaces in Base64 string could not be processed. Fixed.</li>
1778
+ <li>Illegal typeNamespace of SOAP's base64 type. Fixed.</li>
1779
+ <li>Added NaN, INF, -INF support of Float type.</li>
1780
+ <li>Extracted xsd:1999 type support to XMLSchemaDatatypes1999.rb. Use it with 'require &quot;soap/XMLSchemaDatatypes1999&quot;'.</li>
1781
+ <li>Added 'root' attribute support.</li>
1782
+ <li>Return status 500 when Fault.</li>
1783
+ </ul></dd>
1784
+
1785
+ <dt>1.3.0 - May 20, 2001</dt>
1786
+ <dd><ul>
1787
+ <li>Adopted
1788
+ <a href="http://raa.ruby-lang.org/list.rhtml?name=nqxml">NQXML module</a>
1789
+ instead of XMLParser module extensively.
1790
+ (You can implement your SOAP parser with XMLParser module.
1791
+ See the last part of lib/soap/parser.rb)
1792
+ <ul>
1793
+ <li>Use NQXML's streamingParser or tokenizer instead of XMLParser's DOMParser for unmarshalling.</li>
1794
+ <li>Use NQXML's document instead of XMLParser's DOM for marshalling.</li>
1795
+ </ul></li>
1796
+ <li>Passed major(?) part of inteoperability test in
1797
+ <a href="http://www.xmethods.net/ilab/">`SOAPBuilders Interoperability Lab.'</a>
1798
+ See test/interop/README.txt.</li>
1799
+ <li>Changed module namespace. SOAPFoo -> SOAP::Foo.</li>
1800
+ <li>Added float datatype support.</li>
1801
+ <li>Changed dateTime marshalling format. No timezone was added to marshalled string because SOAP4R does not support timezone now.</li>
1802
+ </ul></dd>
1803
+
1804
+ <dt>1.2.0 - March 30, 2001</dt>
1805
+ <dd>Checked interoperability with
1806
+ <a href="http://xml.apache.org/soap/">Apache-SOAP</a>,
1807
+ <a href="http://www.pocketsoap.com">pocketSOAP/0.91</a>,
1808
+ <a href="http://www.geocities.com/paulclinger/soap.html">SOAP::Lite for Perl</a>,
1809
+ and <a href="http://www.develop.com/soap/">SOAP/Perl/0.28</a>.
1810
+ It seems to work good except SOAP/Perl/0.28.
1811
+
1812
+ <ul>
1813
+ <li>Added href/id unmarshalling support.
1814
+ (href/id marshalling has not been supported yet)</li>
1815
+ <li>Added SOAP's base64 type support.</li>
1816
+ <li>SOAPTimeInstant -&gt; SOAPDateTime. Following XML Schema PR.</li>
1817
+ <li>SOAPStruct can have multiple accessor which have same name.
1818
+ Should I separate it from original SOAPStruct?</li>
1819
+ <li>Unknown attribute in Header Item raised an exception. Omitted.</li>
1820
+ <li>Router can handle methods which belong to different namespace.</li>
1821
+ <li>Added an option to allow unqualified SOAP element.</li>
1822
+ <li>Added Apache's Map type support. Ruby's Hash are mapped to it now.
1823
+ (Ruby's Hash marshalled by 1.1 processor in the old way can be unmarshalled,
1824
+ but 1.2 processor marshals it in the new way and 1.1 processor does not
1825
+ unmarshals it into Hash. Incompatibility between SOAP4R/1.2 and 1.1)</li>
1826
+ <li>Unknown type 'unknown:SOAPStruct' was incorrectly unmarshalled into SOAPStruct. Fixed.</li>
1827
+ <li>Added utility methods map! and members to SOAPArray and SOAPStruct.</li>
1828
+ <li>Added methods request, response, and fault to SOAPBody.</li>
1829
+ </ul></dd>
1830
+
1831
+ <dt>1.1.0 - March 23, 2001</dt>
1832
+ <dd>Made many changes.
1833
+ Since it is tested only for my limited use, please be careful to use.
1834
+ Any comments especially "cannot connect to XXX implementation" are welcomed.
1835
+ Feel free sending mail to
1836
+ <a href="mailto:nahi@ruby-lang.org" class="path">nahi@ruby-lang.org</a>.
1837
+
1838
+ <ul>
1839
+ <li>Added RPC server support.</li>
1840
+ <li>Divided RPC client/server implementation from core.</li>
1841
+ <li>Added Date, Hash type support. (Unknown type is converted to Struct as usual)</li>
1842
+ <li>Adopted Date in date3.rb by Funaba-san instead of Time as TimeInstant.</li>
1843
+ <li>Many encoding/decoding bugs around SOAPArray and SOAPStruct were fixed.</li>
1844
+ </ul></dd>
1845
+
1846
+ <dt>1.0.2 - November 11, 2000</dt>
1847
+ <dd>Since the previous package dated, refreshes some points.
1848
+ <ul>
1849
+ <li>Ruby: ruby 1.6.x</li>
1850
+ <li>uri.rb: 4.22</li>
1851
+ <li>sample: xml-soap/2.0</li>
1852
+ </ul></dd>
1853
+
1854
+ <dt>1.0.1 - July 27, 2000</dt>
1855
+ <dd>Handles SOAP/1.1 arrays.
1856
+ 1.0.0 cannot handles SOAP/1.1 arrays...
1857
+ Bear in mind there still be many
1858
+ <a href="#restrictions">restrictions</a>
1859
+ around SOAP arrays.</dd>
1860
+
1861
+ <dt>1.0.0 - July 17, 2000</dt>
1862
+ <dd>It is the initial released version of SOAP4R. :-)</dd>
1863
+ </dl>
1864
+
1865
+ <h2 id="author" name="author"><span class="content">9. Author</span></h2>
1866
+
1867
+ <dl>
1868
+ <dt>Name</dt>
1869
+ <dd>NAKAMURA, Hiroshi (aka NaHi or nakahiro)</dd>
1870
+
1871
+ <dt>E-mail</dt>
1872
+ <dd><a href="mailto:nahi@ruby-lang.org" class="path">nahi@ruby-lang.org</a></dd>
1873
+ </dl>
1874
+
1875
+ <h2 id="copyright" name="copyright"><span class="content">10. Copyright</span></h2>
1876
+
1877
+ <p style="text-align: center;">
1878
+ SOAP4R<br />
1879
+ Copyright &copy; 2000-2007 NAKAMURA, Hiroshi &lt;nahi@ruby-lang.org&gt;.
1880
+ </p>
1881
+
1882
+ <p>
1883
+ This program is copyrighted free software by NAKAMURA, Hiroshi. You can
1884
+ redistribute it and/or modify it under the same terms of Ruby's license;
1885
+ either the dual license version in 2003 (see the file RUBYS), or any later
1886
+ version.
1887
+ </p>
1888
+
1889
+ </div>
1890
+
1891
+ <hr />
1892
+
1893
+ <div class="footer">
1894
+ <address>
1895
+ <a href="http://dev.ctor.org/soap4r">SOAP4R</a>.<br />
1896
+ Copyright &copy; 2000-2007 NAKAMURA, Hiroshi.
1897
+ </address>
1898
+ </div>
1899
+ </body>
1900
+ </html>