soap4r 1.5.5.20061022

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. data/bin/wsdl2ruby.rb +131 -0
  2. data/bin/xsd2ruby.rb +82 -0
  3. data/lib/soap/XMLSchemaDatatypes.rb +9 -0
  4. data/lib/soap/XMLSchemaDatatypes1999.rb +10 -0
  5. data/lib/soap/attachment.rb +108 -0
  6. data/lib/soap/baseData.rb +992 -0
  7. data/lib/soap/cgistub.rb +9 -0
  8. data/lib/soap/charset.rb +9 -0
  9. data/lib/soap/compat.rb +182 -0
  10. data/lib/soap/driver.rb +9 -0
  11. data/lib/soap/element.rb +266 -0
  12. data/lib/soap/encodingstyle/aspDotNetHandler.rb +207 -0
  13. data/lib/soap/encodingstyle/handler.rb +109 -0
  14. data/lib/soap/encodingstyle/literalHandler.rb +241 -0
  15. data/lib/soap/encodingstyle/soapHandler.rb +598 -0
  16. data/lib/soap/generator.rb +264 -0
  17. data/lib/soap/header/handler.rb +60 -0
  18. data/lib/soap/header/handlerset.rb +70 -0
  19. data/lib/soap/header/simplehandler.rb +44 -0
  20. data/lib/soap/httpconfigloader.rb +119 -0
  21. data/lib/soap/mapping.rb +12 -0
  22. data/lib/soap/mapping/encodedregistry.rb +531 -0
  23. data/lib/soap/mapping/factory.rb +372 -0
  24. data/lib/soap/mapping/literalregistry.rb +321 -0
  25. data/lib/soap/mapping/mapping.rb +561 -0
  26. data/lib/soap/mapping/registry.rb +258 -0
  27. data/lib/soap/mapping/rubytypeFactory.rb +475 -0
  28. data/lib/soap/mapping/typeMap.rb +82 -0
  29. data/lib/soap/mapping/wsdlencodedregistry.rb +253 -0
  30. data/lib/soap/mapping/wsdlliteralregistry.rb +246 -0
  31. data/lib/soap/mappingRegistry.rb +9 -0
  32. data/lib/soap/marshal.rb +59 -0
  33. data/lib/soap/mimemessage.rb +241 -0
  34. data/lib/soap/namespace.rb +9 -0
  35. data/lib/soap/netHttpClient.rb +204 -0
  36. data/lib/soap/parser.rb +251 -0
  37. data/lib/soap/processor.rb +66 -0
  38. data/lib/soap/property.rb +333 -0
  39. data/lib/soap/proxy.rb +14 -0
  40. data/lib/soap/qname.rb +9 -0
  41. data/lib/soap/rpc/cgistub.rb +214 -0
  42. data/lib/soap/rpc/driver.rb +245 -0
  43. data/lib/soap/rpc/element.rb +330 -0
  44. data/lib/soap/rpc/httpserver.rb +143 -0
  45. data/lib/soap/rpc/proxy.rb +563 -0
  46. data/lib/soap/rpc/router.rb +602 -0
  47. data/lib/soap/rpc/rpc.rb +25 -0
  48. data/lib/soap/rpc/soaplet.rb +162 -0
  49. data/lib/soap/rpc/standaloneServer.rb +43 -0
  50. data/lib/soap/rpcRouter.rb +9 -0
  51. data/lib/soap/rpcUtils.rb +9 -0
  52. data/lib/soap/server.rb +9 -0
  53. data/lib/soap/soap.rb +150 -0
  54. data/lib/soap/standaloneServer.rb +9 -0
  55. data/lib/soap/streamHandler.rb +258 -0
  56. data/lib/soap/wsdlDriver.rb +580 -0
  57. data/lib/wsdl/binding.rb +65 -0
  58. data/lib/wsdl/data.rb +64 -0
  59. data/lib/wsdl/definitions.rb +250 -0
  60. data/lib/wsdl/documentation.rb +32 -0
  61. data/lib/wsdl/import.rb +80 -0
  62. data/lib/wsdl/importer.rb +38 -0
  63. data/lib/wsdl/info.rb +39 -0
  64. data/lib/wsdl/message.rb +54 -0
  65. data/lib/wsdl/operation.rb +175 -0
  66. data/lib/wsdl/operationBinding.rb +116 -0
  67. data/lib/wsdl/param.rb +85 -0
  68. data/lib/wsdl/parser.rb +163 -0
  69. data/lib/wsdl/part.rb +52 -0
  70. data/lib/wsdl/port.rb +84 -0
  71. data/lib/wsdl/portType.rb +75 -0
  72. data/lib/wsdl/service.rb +61 -0
  73. data/lib/wsdl/soap/address.rb +40 -0
  74. data/lib/wsdl/soap/binding.rb +49 -0
  75. data/lib/wsdl/soap/body.rb +56 -0
  76. data/lib/wsdl/soap/cgiStubCreator.rb +88 -0
  77. data/lib/wsdl/soap/classDefCreator.rb +340 -0
  78. data/lib/wsdl/soap/classDefCreatorSupport.rb +131 -0
  79. data/lib/wsdl/soap/clientSkeltonCreator.rb +93 -0
  80. data/lib/wsdl/soap/complexType.rb +166 -0
  81. data/lib/wsdl/soap/data.rb +42 -0
  82. data/lib/wsdl/soap/definitions.rb +151 -0
  83. data/lib/wsdl/soap/driverCreator.rb +110 -0
  84. data/lib/wsdl/soap/element.rb +28 -0
  85. data/lib/wsdl/soap/encodedMappingRegistryCreator.rb +117 -0
  86. data/lib/wsdl/soap/fault.rb +56 -0
  87. data/lib/wsdl/soap/header.rb +86 -0
  88. data/lib/wsdl/soap/headerfault.rb +56 -0
  89. data/lib/wsdl/soap/literalMappingRegistryCreator.rb +188 -0
  90. data/lib/wsdl/soap/mappingRegistryCreator.rb +53 -0
  91. data/lib/wsdl/soap/mappingRegistryCreatorSupport.rb +233 -0
  92. data/lib/wsdl/soap/methodDefCreator.rb +253 -0
  93. data/lib/wsdl/soap/operation.rb +122 -0
  94. data/lib/wsdl/soap/servantSkeltonCreator.rb +78 -0
  95. data/lib/wsdl/soap/standaloneServerStubCreator.rb +98 -0
  96. data/lib/wsdl/soap/wsdl2ruby.rb +196 -0
  97. data/lib/wsdl/types.rb +44 -0
  98. data/lib/wsdl/wsdl.rb +23 -0
  99. data/lib/wsdl/xmlSchema/all.rb +24 -0
  100. data/lib/wsdl/xmlSchema/annotation.rb +34 -0
  101. data/lib/wsdl/xmlSchema/any.rb +56 -0
  102. data/lib/wsdl/xmlSchema/attribute.rb +123 -0
  103. data/lib/wsdl/xmlSchema/choice.rb +55 -0
  104. data/lib/wsdl/xmlSchema/complexContent.rb +88 -0
  105. data/lib/wsdl/xmlSchema/complexExtension.rb +104 -0
  106. data/lib/wsdl/xmlSchema/complexRestriction.rb +92 -0
  107. data/lib/wsdl/xmlSchema/complexType.rb +152 -0
  108. data/lib/wsdl/xmlSchema/content.rb +74 -0
  109. data/lib/wsdl/xmlSchema/data.rb +90 -0
  110. data/lib/wsdl/xmlSchema/element.rb +158 -0
  111. data/lib/wsdl/xmlSchema/enumeration.rb +36 -0
  112. data/lib/wsdl/xmlSchema/import.rb +65 -0
  113. data/lib/wsdl/xmlSchema/importer.rb +87 -0
  114. data/lib/wsdl/xmlSchema/include.rb +54 -0
  115. data/lib/wsdl/xmlSchema/length.rb +35 -0
  116. data/lib/wsdl/xmlSchema/list.rb +48 -0
  117. data/lib/wsdl/xmlSchema/maxlength.rb +35 -0
  118. data/lib/wsdl/xmlSchema/minlength.rb +35 -0
  119. data/lib/wsdl/xmlSchema/parser.rb +166 -0
  120. data/lib/wsdl/xmlSchema/pattern.rb +36 -0
  121. data/lib/wsdl/xmlSchema/schema.rb +144 -0
  122. data/lib/wsdl/xmlSchema/sequence.rb +51 -0
  123. data/lib/wsdl/xmlSchema/simpleContent.rb +69 -0
  124. data/lib/wsdl/xmlSchema/simpleExtension.rb +54 -0
  125. data/lib/wsdl/xmlSchema/simpleRestriction.rb +91 -0
  126. data/lib/wsdl/xmlSchema/simpleType.rb +80 -0
  127. data/lib/wsdl/xmlSchema/unique.rb +34 -0
  128. data/lib/wsdl/xmlSchema/xsd2ruby.rb +107 -0
  129. data/lib/xsd/charset.rb +187 -0
  130. data/lib/xsd/codegen.rb +12 -0
  131. data/lib/xsd/codegen/classdef.rb +203 -0
  132. data/lib/xsd/codegen/commentdef.rb +34 -0
  133. data/lib/xsd/codegen/gensupport.rb +168 -0
  134. data/lib/xsd/codegen/methoddef.rb +70 -0
  135. data/lib/xsd/codegen/moduledef.rb +191 -0
  136. data/lib/xsd/datatypes.rb +1282 -0
  137. data/lib/xsd/datatypes1999.rb +20 -0
  138. data/lib/xsd/iconvcharset.rb +33 -0
  139. data/lib/xsd/mapping.rb +42 -0
  140. data/lib/xsd/namedelements.rb +124 -0
  141. data/lib/xsd/ns.rb +146 -0
  142. data/lib/xsd/qname.rb +78 -0
  143. data/lib/xsd/xmlparser.rb +61 -0
  144. data/lib/xsd/xmlparser/parser.rb +96 -0
  145. data/lib/xsd/xmlparser/rexmlparser.rb +54 -0
  146. data/lib/xsd/xmlparser/xmlparser.rb +50 -0
  147. data/lib/xsd/xmlparser/xmlscanner.rb +147 -0
  148. data/test/16runner.rb +68 -0
  149. data/test/interopR2/README.txt +2 -0
  150. data/test/interopR2/SOAPBuildersInterop_R2.wsdl +461 -0
  151. data/test/interopR2/SOAPBuildersInterop_R2GrB.wsdl +19 -0
  152. data/test/interopR2/base.rb +288 -0
  153. data/test/interopR2/client.NetRemoting.rb +17 -0
  154. data/test/interopR2/client.NetRemoting.rb.result +3410 -0
  155. data/test/interopR2/client.NetRemoting_Base.log +6279 -0
  156. data/test/interopR2/client.NetRemoting_GroupB.log +1188 -0
  157. data/test/interopR2/client.rb +1228 -0
  158. data/test/interopR2/client4S4C.rb +15 -0
  159. data/test/interopR2/client4S4C2.rb +14 -0
  160. data/test/interopR2/client4S4C2_Base.log +4955 -0
  161. data/test/interopR2/client4S4C2_GroupB.log +1000 -0
  162. data/test/interopR2/client4S4C_Base.log +4635 -0
  163. data/test/interopR2/client4S4C_GroupB.log +900 -0
  164. data/test/interopR2/clientASP.NET.rb +17 -0
  165. data/test/interopR2/clientASP.NET_Base.log +5468 -0
  166. data/test/interopR2/clientASP.NET_GroupB.log +977 -0
  167. data/test/interopR2/clientApacheAxis.rb +16 -0
  168. data/test/interopR2/clientApacheAxis_Base.log +3171 -0
  169. data/test/interopR2/clientApacheAxis_GroupB.log +498 -0
  170. data/test/interopR2/clientApacheSOAP.rb +17 -0
  171. data/test/interopR2/clientApacheSOAP_Base.log +3171 -0
  172. data/test/interopR2/clientBEAWebLogic.rb +17 -0
  173. data/test/interopR2/clientBEAWebLogic_Base.log +3171 -0
  174. data/test/interopR2/clientBEAWebLogic_GroupB.log +498 -0
  175. data/test/interopR2/clientBase.rb +1970 -0
  176. data/test/interopR2/clientCapeConnect.rb +18 -0
  177. data/test/interopR2/clientCapeConnect_Base.log +2126 -0
  178. data/test/interopR2/clientDelphi.rb +19 -0
  179. data/test/interopR2/clientDelphi_Base.log +0 -0
  180. data/test/interopR2/clientEasySoap.rb +14 -0
  181. data/test/interopR2/clientEasySoap_Base.log +6187 -0
  182. data/test/interopR2/clientEasySoap_GroupB.log +1076 -0
  183. data/test/interopR2/clientFrontier.rb +25 -0
  184. data/test/interopR2/clientFrontier_Base.log +5188 -0
  185. data/test/interopR2/clientGLUE.rb +32 -0
  186. data/test/interopR2/clientHP.rb +13 -0
  187. data/test/interopR2/clientHP_Base.log +3171 -0
  188. data/test/interopR2/clientHP_GroupB.log +498 -0
  189. data/test/interopR2/clientJAX-RPC.rb +19 -0
  190. data/test/interopR2/clientJSOAP.rb +14 -0
  191. data/test/interopR2/clientJSOAP_Base.log +4465 -0
  192. data/test/interopR2/clientJSOAP_GroupB.log +824 -0
  193. data/test/interopR2/clientKafkaXSLT.rb +15 -0
  194. data/test/interopR2/clientKafkaXSLT_Base.log +10299 -0
  195. data/test/interopR2/clientKafkaXSLT_GroupB.log +1739 -0
  196. data/test/interopR2/clientMSSOAPToolkit2.0.rb +17 -0
  197. data/test/interopR2/clientMSSOAPToolkit2.0_Base.log +4805 -0
  198. data/test/interopR2/clientMSSOAPToolkit2.0_GroupB.log +871 -0
  199. data/test/interopR2/clientMSSOAPToolkit3.0.rb +17 -0
  200. data/test/interopR2/clientMSSOAPToolkit3.0_Base.log +5076 -0
  201. data/test/interopR2/clientMSSOAPToolkit3.0_GroupB.log +908 -0
  202. data/test/interopR2/clientNuSOAP.rb +19 -0
  203. data/test/interopR2/clientNuSOAP_Base.log +5076 -0
  204. data/test/interopR2/clientNuSOAP_GroupB.log +958 -0
  205. data/test/interopR2/clientNuWave.rb +15 -0
  206. data/test/interopR2/clientNuWave_Base.log +2019 -0
  207. data/test/interopR2/clientOpenLink.rb +15 -0
  208. data/test/interopR2/clientOpenLink_Base.log +6171 -0
  209. data/test/interopR2/clientOpenLink_GroupB.log +1094 -0
  210. data/test/interopR2/clientOracle.rb +15 -0
  211. data/test/interopR2/clientOracle_Base.log +5594 -0
  212. data/test/interopR2/clientPEAR.rb +18 -0
  213. data/test/interopR2/clientPEAR_Base.log +6261 -0
  214. data/test/interopR2/clientPEAR_GroupB.log +1106 -0
  215. data/test/interopR2/clientPhalanx.rb +18 -0
  216. data/test/interopR2/clientPhalanx_Base.log +41036 -0
  217. data/test/interopR2/clientPhalanx_GroupB.log +6519 -0
  218. data/test/interopR2/clientSIMACE.rb +18 -0
  219. data/test/interopR2/clientSIMACE_Base.log +6171 -0
  220. data/test/interopR2/clientSIMACE_GroupB.log +1093 -0
  221. data/test/interopR2/clientSOAP4R.rb +18 -0
  222. data/test/interopR2/clientSOAP4R.rb.result +3409 -0
  223. data/test/interopR2/clientSOAP4R_Base.log +6366 -0
  224. data/test/interopR2/clientSOAP4R_GroupB.log +1112 -0
  225. data/test/interopR2/clientSOAP__Lite.rb +14 -0
  226. data/test/interopR2/clientSQLData.rb +18 -0
  227. data/test/interopR2/clientSQLData_Base.log +4857 -0
  228. data/test/interopR2/clientSQLData_GroupB.log +770 -0
  229. data/test/interopR2/clientSilverStream.rb +17 -0
  230. data/test/interopR2/clientSilverStream_Base.log +3171 -0
  231. data/test/interopR2/clientSpray2001.rb +17 -0
  232. data/test/interopR2/clientSpray2001_Base.log +8187 -0
  233. data/test/interopR2/clientSpray2001_GroupB.log +1408 -0
  234. data/test/interopR2/clientSun.rb +19 -0
  235. data/test/interopR2/clientSun_Base.log +4641 -0
  236. data/test/interopR2/clientSun_GroupB.log +856 -0
  237. data/test/interopR2/clientVWOpentalkSoap.rb +19 -0
  238. data/test/interopR2/clientVWOpentalkSoap_Base.log +5402 -0
  239. data/test/interopR2/clientVWOpentalkSoap_GroupB.log +972 -0
  240. data/test/interopR2/clientWASP.rb +19 -0
  241. data/test/interopR2/clientWASPC.rb +18 -0
  242. data/test/interopR2/clientWASPC_Base.log +4187 -0
  243. data/test/interopR2/clientWASPC_GroupB.log +763 -0
  244. data/test/interopR2/clientWASP_Base.log +5414 -0
  245. data/test/interopR2/clientWASP_GroupB.log +970 -0
  246. data/test/interopR2/clientWebMethods.rb +15 -0
  247. data/test/interopR2/clientWebMethods_Base.log +3075 -0
  248. data/test/interopR2/clientWebMethods_GroupB.log +483 -0
  249. data/test/interopR2/clientWhiteMesa.rb +28 -0
  250. data/test/interopR2/clientWhiteMesa_Base.log +4359 -0
  251. data/test/interopR2/clientWhiteMesa_GroupB.log +808 -0
  252. data/test/interopR2/clientWingfoot.rb +15 -0
  253. data/test/interopR2/clientWingfoot_Base.log +4445 -0
  254. data/test/interopR2/clientWingfoot_GroupB.log +848 -0
  255. data/test/interopR2/clientXMLBus.rb +19 -0
  256. data/test/interopR2/clientXMLBus_Base.log +3075 -0
  257. data/test/interopR2/clientXMLBus_GroupB.log +483 -0
  258. data/test/interopR2/clientXMLRPC-EPI.rb +17 -0
  259. data/test/interopR2/clientXSOAP.rb +14 -0
  260. data/test/interopR2/clientXSOAP_Base.log +4445 -0
  261. data/test/interopR2/clientZSI.rb +19 -0
  262. data/test/interopR2/clienteSOAP.rb +18 -0
  263. data/test/interopR2/clienteSOAP_Base.log +8728 -0
  264. data/test/interopR2/clientgSOAP.rb +18 -0
  265. data/test/interopR2/clientgSOAP_Base.log +4689 -0
  266. data/test/interopR2/clientgSOAP_GroupB.log +1014 -0
  267. data/test/interopR2/clientkSOAP.rb +17 -0
  268. data/test/interopR2/clientkSOAP_Base.log +5625 -0
  269. data/test/interopR2/iSimonReg.rb +112 -0
  270. data/test/interopR2/interopResultBase.rb +114 -0
  271. data/test/interopR2/interopService.rb +247 -0
  272. data/test/interopR2/result_client.NetRemoting.txt +4593 -0
  273. data/test/interopR2/rwikiInteropService.rb +105 -0
  274. data/test/interopR2/server.cgi +270 -0
  275. data/test/interopR2/server.rb +274 -0
  276. data/test/interopR2/simonReg.rb +123 -0
  277. data/test/interopR2/test.sh +49 -0
  278. data/test/interopR4/client.rb +112 -0
  279. data/test/runner.rb +9 -0
  280. data/test/sm11/classDef.rb +156 -0
  281. data/test/sm11/client.rb +542 -0
  282. data/test/sm11/driver.rb +183 -0
  283. data/test/sm11/servant.rb +1067 -0
  284. data/test/sm11/server.rb +25 -0
  285. data/test/soap/asp.net/hello.wsdl +96 -0
  286. data/test/soap/asp.net/test_aspdotnet.rb +112 -0
  287. data/test/soap/calc/calc.rb +17 -0
  288. data/test/soap/calc/calc2.rb +29 -0
  289. data/test/soap/calc/server.cgi +13 -0
  290. data/test/soap/calc/server.rb +17 -0
  291. data/test/soap/calc/server2.rb +20 -0
  292. data/test/soap/calc/test_calc.rb +49 -0
  293. data/test/soap/calc/test_calc2.rb +53 -0
  294. data/test/soap/calc/test_calc_cgi.rb +69 -0
  295. data/test/soap/fault/test_customfault.rb +58 -0
  296. data/test/soap/header/server.cgi +119 -0
  297. data/test/soap/header/test_authheader.rb +240 -0
  298. data/test/soap/header/test_authheader_cgi.rb +121 -0
  299. data/test/soap/header/test_simplehandler.rb +116 -0
  300. data/test/soap/helloworld/hw_s.rb +16 -0
  301. data/test/soap/helloworld/test_helloworld.rb +41 -0
  302. data/test/soap/literalArrayMapping/amazonEc.rb +4778 -0
  303. data/test/soap/literalArrayMapping/amazonEcDriver.rb +172 -0
  304. data/test/soap/literalArrayMapping/amazonresponse.xml +100 -0
  305. data/test/soap/literalArrayMapping/test_definedarray.rb +36 -0
  306. data/test/soap/marshal/marshaltestlib.rb +494 -0
  307. data/test/soap/marshal/test_digraph.rb +56 -0
  308. data/test/soap/marshal/test_marshal.rb +26 -0
  309. data/test/soap/marshal/test_struct.rb +47 -0
  310. data/test/soap/ssl/README +1 -0
  311. data/test/soap/ssl/ca.cert +23 -0
  312. data/test/soap/ssl/client.cert +19 -0
  313. data/test/soap/ssl/client.key +15 -0
  314. data/test/soap/ssl/server.cert +19 -0
  315. data/test/soap/ssl/server.key +15 -0
  316. data/test/soap/ssl/sslsvr.rb +57 -0
  317. data/test/soap/ssl/subca.cert +21 -0
  318. data/test/soap/ssl/test_ssl.rb +245 -0
  319. data/test/soap/struct/test_struct.rb +77 -0
  320. data/test/soap/styleuse/client.rb +20 -0
  321. data/test/soap/styleuse/server.rb +86 -0
  322. data/test/soap/swa/test_file.rb +73 -0
  323. data/test/soap/test_basetype.rb +976 -0
  324. data/test/soap/test_custommap.rb +108 -0
  325. data/test/soap/test_empty.rb +79 -0
  326. data/test/soap/test_envelopenamespace.rb +92 -0
  327. data/test/soap/test_httpconfigloader.rb +39 -0
  328. data/test/soap/test_mapping.rb +59 -0
  329. data/test/soap/test_no_indent.rb +86 -0
  330. data/test/soap/test_property.rb +424 -0
  331. data/test/soap/test_response_as_xml.rb +95 -0
  332. data/test/soap/test_soapelement.rb +120 -0
  333. data/test/soap/test_streamhandler.rb +262 -0
  334. data/test/soap/test_styleuse.rb +333 -0
  335. data/test/soap/wsdlDriver/README.txt +2 -0
  336. data/test/soap/wsdlDriver/calc.wsdl +126 -0
  337. data/test/soap/wsdlDriver/document.wsdl +54 -0
  338. data/test/soap/wsdlDriver/echo_version.rb +29 -0
  339. data/test/soap/wsdlDriver/simpletype.wsdl +63 -0
  340. data/test/soap/wsdlDriver/test_calc.rb +100 -0
  341. data/test/soap/wsdlDriver/test_document.rb +78 -0
  342. data/test/soap/wsdlDriver/test_simpletype.rb +87 -0
  343. data/test/wsdl/abstract/abstract.wsdl +97 -0
  344. data/test/wsdl/abstract/test_abstract.rb +130 -0
  345. data/test/wsdl/any/any.wsdl +51 -0
  346. data/test/wsdl/any/expectedDriver.rb +46 -0
  347. data/test/wsdl/any/expectedEcho.rb +18 -0
  348. data/test/wsdl/any/expectedService.rb +42 -0
  349. data/test/wsdl/any/test_any.rb +193 -0
  350. data/test/wsdl/axisArray/axisArray.wsdl +60 -0
  351. data/test/wsdl/axisArray/itemList.rb +14 -0
  352. data/test/wsdl/axisArray/test_axisarray.rb +69 -0
  353. data/test/wsdl/choice/choice.wsdl +91 -0
  354. data/test/wsdl/choice/test_choice.rb +134 -0
  355. data/test/wsdl/complexcontent/complexContent.wsdl +83 -0
  356. data/test/wsdl/complexcontent/test_echo.rb +101 -0
  357. data/test/wsdl/datetime/DatetimeService.rb +44 -0
  358. data/test/wsdl/datetime/datetime.rb +0 -0
  359. data/test/wsdl/datetime/datetime.wsdl +45 -0
  360. data/test/wsdl/datetime/datetimeServant.rb +21 -0
  361. data/test/wsdl/datetime/test_datetime.rb +82 -0
  362. data/test/wsdl/document/array/double.wsdl +72 -0
  363. data/test/wsdl/document/array/test_array.rb +117 -0
  364. data/test/wsdl/document/document.wsdl +74 -0
  365. data/test/wsdl/document/number.wsdl +54 -0
  366. data/test/wsdl/document/ping_nosoapaction.wsdl +66 -0
  367. data/test/wsdl/document/test_nosoapaction.rb +109 -0
  368. data/test/wsdl/document/test_number.rb +99 -0
  369. data/test/wsdl/document/test_rpc.rb +211 -0
  370. data/test/wsdl/emptycomplextype.wsdl +31 -0
  371. data/test/wsdl/list/list.wsdl +93 -0
  372. data/test/wsdl/list/test_list.rb +134 -0
  373. data/test/wsdl/map/map.wsdl +92 -0
  374. data/test/wsdl/map/map.xml +43 -0
  375. data/test/wsdl/map/test_map.rb +99 -0
  376. data/test/wsdl/marshal/person.wsdl +21 -0
  377. data/test/wsdl/marshal/person_org.rb +18 -0
  378. data/test/wsdl/marshal/test_wsdlmarshal.rb +79 -0
  379. data/test/wsdl/multiplefault.wsdl +68 -0
  380. data/test/wsdl/overload/overload.wsdl +80 -0
  381. data/test/wsdl/overload/test_overload.rb +118 -0
  382. data/test/wsdl/qualified/lp.wsdl +47 -0
  383. data/test/wsdl/qualified/lp.xsd +26 -0
  384. data/test/wsdl/qualified/np.wsdl +51 -0
  385. data/test/wsdl/qualified/test_qualified.rb +145 -0
  386. data/test/wsdl/qualified/test_unqualified.rb +159 -0
  387. data/test/wsdl/raa/RAA.rb +120 -0
  388. data/test/wsdl/raa/RAAServant.rb +107 -0
  389. data/test/wsdl/raa/RAAService.rb +120 -0
  390. data/test/wsdl/raa/README.txt +8 -0
  391. data/test/wsdl/raa/raa.wsdl +264 -0
  392. data/test/wsdl/raa/server.rb +103 -0
  393. data/test/wsdl/raa/test_raa.rb +91 -0
  394. data/test/wsdl/ref/expectedProduct.rb +158 -0
  395. data/test/wsdl/ref/product.wsdl +147 -0
  396. data/test/wsdl/ref/test_ref.rb +289 -0
  397. data/test/wsdl/rpc/rpc.wsdl +83 -0
  398. data/test/wsdl/rpc/test-rpc-lit.wsdl +364 -0
  399. data/test/wsdl/rpc/test_rpc.rb +173 -0
  400. data/test/wsdl/rpc/test_rpc_lit.rb +407 -0
  401. data/test/wsdl/simplecontent/simplecontent.wsdl +83 -0
  402. data/test/wsdl/simplecontent/test_simplecontent.rb +116 -0
  403. data/test/wsdl/simpletype/rpc/expectedClient.rb +34 -0
  404. data/test/wsdl/simpletype/rpc/expectedDriver.rb +55 -0
  405. data/test/wsdl/simpletype/rpc/expectedEchoVersion.rb +19 -0
  406. data/test/wsdl/simpletype/rpc/expectedServant.rb +32 -0
  407. data/test/wsdl/simpletype/rpc/expectedService.rb +51 -0
  408. data/test/wsdl/simpletype/rpc/rpc.wsdl +80 -0
  409. data/test/wsdl/simpletype/rpc/test_rpc.rb +62 -0
  410. data/test/wsdl/simpletype/simpletype.wsdl +95 -0
  411. data/test/wsdl/simpletype/test_simpletype.rb +99 -0
  412. data/test/wsdl/soap/soapbodyparts.wsdl +103 -0
  413. data/test/wsdl/soap/test_soapbodyparts.rb +79 -0
  414. data/test/wsdl/soap/wsdl2ruby/expectedClassdef.rb +19 -0
  415. data/test/wsdl/soap/wsdl2ruby/expectedClient.rb +34 -0
  416. data/test/wsdl/soap/wsdl2ruby/expectedDriver.rb +55 -0
  417. data/test/wsdl/soap/wsdl2ruby/expectedServant.rb +32 -0
  418. data/test/wsdl/soap/wsdl2ruby/expectedService.cgi +44 -0
  419. data/test/wsdl/soap/wsdl2ruby/expectedService.rb +51 -0
  420. data/test/wsdl/soap/wsdl2ruby/rpc.wsdl +80 -0
  421. data/test/wsdl/soap/wsdl2ruby/section/expectedClassdef.rb +31 -0
  422. data/test/wsdl/soap/wsdl2ruby/section/section.xsd +31 -0
  423. data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +54 -0
  424. data/test/wsdl/soap/wsdl2ruby/soapenc/soapenc.wsdl +64 -0
  425. data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +96 -0
  426. data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +79 -0
  427. data/test/wsdl/soaptype/soaptype.wsdl +61 -0
  428. data/test/wsdl/soaptype/test_soaptype.rb +160 -0
  429. data/test/wsdl/test_emptycomplextype.rb +21 -0
  430. data/test/wsdl/test_fault.rb +50 -0
  431. data/test/wsdl/test_multiplefault.rb +39 -0
  432. data/test/xsd/codegen/test_classdef.rb +214 -0
  433. data/test/xsd/noencoding.xml +4 -0
  434. data/test/xsd/test_noencoding.rb +32 -0
  435. data/test/xsd/test_ns.rb +20 -0
  436. data/test/xsd/test_xmlschemaparser.rb +22 -0
  437. data/test/xsd/test_xsd.rb +1523 -0
  438. data/test/xsd/xmllang.xml +43 -0
  439. data/test/xsd/xmlschema.xml +12 -0
  440. metadata +539 -0
@@ -0,0 +1,183 @@
1
+ require 'classDef'
2
+ require 'soap/proxy'
3
+ require 'soap/rpcUtils'
4
+ require 'soap/streamHandler'
5
+
6
+ class Sm11PortType
7
+ MappingRegistry = SOAP::RPCUtils::MappingRegistry.new
8
+
9
+ MappingRegistry.set(
10
+ C_struct,
11
+ ::SOAP::SOAPStruct,
12
+ ::SOAP::RPCUtils::MappingRegistry::TypedStructFactory,
13
+ [ "http://dopg.gr.jp/sm11.xsd", "C_struct" ]
14
+ )
15
+ MappingRegistry.set(
16
+ ArrayOfboolean,
17
+ ::SOAP::SOAPArray,
18
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
19
+ [ "http://www.w3.org/2001/XMLSchema", "boolean" ]
20
+ )
21
+ MappingRegistry.set(
22
+ ArrayOfshort,
23
+ ::SOAP::SOAPArray,
24
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
25
+ [ "http://www.w3.org/2001/XMLSchema", "short" ]
26
+ )
27
+ MappingRegistry.set(
28
+ ArrayOfint,
29
+ ::SOAP::SOAPArray,
30
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
31
+ [ "http://www.w3.org/2001/XMLSchema", "int" ]
32
+ )
33
+ MappingRegistry.set(
34
+ ArrayOflong,
35
+ ::SOAP::SOAPArray,
36
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
37
+ [ "http://www.w3.org/2001/XMLSchema", "long" ]
38
+ )
39
+ MappingRegistry.set(
40
+ ArrayOffloat,
41
+ ::SOAP::SOAPArray,
42
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
43
+ [ "http://www.w3.org/2001/XMLSchema", "float" ]
44
+ )
45
+ MappingRegistry.set(
46
+ ArrayOfdouble,
47
+ ::SOAP::SOAPArray,
48
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
49
+ [ "http://www.w3.org/2001/XMLSchema", "double" ]
50
+ )
51
+ MappingRegistry.set(
52
+ ArrayOfstring,
53
+ ::SOAP::SOAPArray,
54
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
55
+ [ "http://www.w3.org/2001/XMLSchema", "string" ]
56
+ )
57
+ MappingRegistry.set(
58
+ F_struct,
59
+ ::SOAP::SOAPStruct,
60
+ ::SOAP::RPCUtils::MappingRegistry::TypedStructFactory,
61
+ [ "http://dopg.gr.jp/sm11.xsd", "F_struct" ]
62
+ )
63
+ MappingRegistry.set(
64
+ ArrayOfC_struct,
65
+ ::SOAP::SOAPArray,
66
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
67
+ [ "http://dopg.gr.jp/sm11.xsd", "C_struct" ]
68
+ )
69
+
70
+ Methods = [
71
+ [ "op0", "op0", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
72
+ [ "op1", "op1", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
73
+ [ "op4", "op4", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
74
+ [ "op5", "op5", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
75
+ [ "op6", "op6", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
76
+ [ "op7", "op7", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
77
+ [ "op8", "op8", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
78
+ [ "op9", "op9", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
79
+ [ "op11", "op11", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
80
+ [ "op14", "op14", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
81
+ [ "op15", "op15", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
82
+ [ "op16", "op16", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
83
+ [ "op17", "op17", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
84
+ [ "op18", "op18", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
85
+ [ "op19", "op19", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
86
+ [ "op21", "op21", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
87
+ [ "op24", "op24", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
88
+ [ "op25", "op25", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
89
+ [ "op26", "op26", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
90
+ [ "op27", "op27", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
91
+ [ "op28", "op28", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
92
+ [ "op29", "op29", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
93
+ [ "op30", "op30", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
94
+ [ "op31", "op31", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
95
+ [ "op34", "op34", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
96
+ [ "op35", "op35", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
97
+ [ "op36", "op36", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
98
+ [ "op37", "op37", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
99
+ [ "op38", "op38", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
100
+ [ "op39", "op39", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
101
+ [ "op40", "op40", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "in", "arg3" ], [ "in", "arg4" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
102
+ [ "op41", "op41", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
103
+ [ "op42", "op42", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
104
+ [ "op43", "op43", [ [ "in", "arg0" ], [ "in", "arg1" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
105
+ [ "excop1", "excop1", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
106
+ [ "excop2", "excop2", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
107
+ [ "excop3", "excop3", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
108
+ [ "excop4", "excop4", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ]
109
+ ]
110
+
111
+ attr_reader :endpointUrl
112
+ attr_reader :proxyUrl
113
+
114
+ def initialize( endpointUrl, proxyUrl = nil )
115
+ @endpointUrl = endpointUrl
116
+ @proxyUrl = proxyUrl
117
+ @httpStreamHandler = SOAP::HTTPPostStreamHandler.new( @endpointUrl,
118
+ @proxyUrl )
119
+ @proxy = SOAP::SOAPProxy.new( nil, @httpStreamHandler, nil )
120
+ @proxy.allowUnqualifiedElement = true
121
+ @mappingRegistry = MappingRegistry
122
+ addMethod
123
+ end
124
+
125
+ def setWireDumpDev( dumpDev )
126
+ @httpStreamHandler.dumpDev = dumpDev
127
+ end
128
+
129
+ def setDefaultEncodingStyle( encodingStyle )
130
+ @proxy.defaultEncodingStyle = encodingStyle
131
+ end
132
+
133
+ def getDefaultEncodingStyle
134
+ @proxy.defaultEncodingStyle
135
+ end
136
+
137
+ def call( methodName, *params )
138
+ # Convert parameters
139
+ params.collect! { | param |
140
+ SOAP::RPCUtils.obj2soap( param, @mappingRegistry )
141
+ }
142
+
143
+ # Then, call @proxy.call like the following.
144
+ header, body = @proxy.call( nil, methodName, *params )
145
+
146
+ # Check Fault.
147
+ begin
148
+ @proxy.checkFault( body )
149
+ rescue SOAP::FaultError => e
150
+ SOAP::RPCUtils.fault2exception( e, @mappingRegistry )
151
+ end
152
+
153
+ ret = body.response ?
154
+ SOAP::RPCUtils.soap2obj( body.response, @mappingRegistry ) : nil
155
+ if body.outParams
156
+ outParams = body.outParams.collect { | outParam |
157
+ SOAP::RPCUtils.soap2obj( outParam )
158
+ }
159
+ return [ ret ].concat( outParams )
160
+ else
161
+ return ret
162
+ end
163
+ end
164
+
165
+ private
166
+
167
+ def addMethod
168
+ Methods.each do | methodNameAs, methodName, params, soapAction, namespace |
169
+ @proxy.addMethodAs( methodNameAs, methodName, params, soapAction,
170
+ namespace )
171
+ addMethodInterface( methodNameAs, params )
172
+ end
173
+ end
174
+
175
+ def addMethodInterface( name, params )
176
+ self.instance_eval <<-EOD
177
+ def #{ name }( *params )
178
+ call( "#{ name }", *params )
179
+ end
180
+ EOD
181
+ end
182
+ end
183
+
@@ -0,0 +1,1067 @@
1
+ require 'classDef'
2
+
3
+ # Done
4
+ # System.out.print -> STDOUT.puts
5
+ # a1 -> arg0
6
+ # a2 -> arg1
7
+ # a3 -> arg2
8
+ # a4 -> arg3
9
+ # a5 -> arg4
10
+ # /if \([^{]*\){\([^}]*\)}/if \1; \2; end/
11
+ # /\([0-9][0-9]*\)L/\1/
12
+ # /\([0-9][0-9]*\)f/\1/
13
+ # /\.equals(\([^)]*\))/ == \1/
14
+ # /\.set\([^(]*\)(\([^)]*\))/.\1 = \2/
15
+ # /E_/e_/
16
+ # /\.get\([^(]*\)()/.\1/
17
+ # /(short)//
18
+ # /\.V/.v/
19
+ #
20
+ class Sm11PortType
21
+ include SOAP
22
+
23
+ # SYNOPSIS
24
+ # op0
25
+ #
26
+ # ARGS
27
+ # N/A
28
+ #
29
+ # RETURNS
30
+ # N/A
31
+ #
32
+ # RAISES
33
+ # N/A
34
+ #
35
+ def op0
36
+ STDOUT.puts("op0\n")
37
+ return
38
+ end
39
+
40
+ # SYNOPSIS
41
+ # op1( arg0 )
42
+ #
43
+ # ARGS
44
+ # arg0 {http://www.w3.org/2001/XMLSchema}boolean
45
+ #
46
+ # RETURNS
47
+ # N/A
48
+ #
49
+ # RAISES
50
+ # N/A
51
+ #
52
+ def op1( arg0 )
53
+ STDOUT.puts("op1\n")
54
+ if (!(arg0 == false)); STDOUT.puts("arg0 value error in op1\n"); end
55
+ return
56
+ end
57
+
58
+ # SYNOPSIS
59
+ # op4( arg0 )
60
+ #
61
+ # ARGS
62
+ # arg0 {http://www.w3.org/2001/XMLSchema}short
63
+ #
64
+ # RETURNS
65
+ # N/A
66
+ #
67
+ # RAISES
68
+ # N/A
69
+ #
70
+ def op4( arg0 )
71
+ STDOUT.puts("op4\n")
72
+ if (!(arg0 == -100)); STDOUT.puts("arg0 value error in op4\n"); end
73
+ return
74
+ end
75
+
76
+ # SYNOPSIS
77
+ # op5( arg0 )
78
+ #
79
+ # ARGS
80
+ # arg0 {http://www.w3.org/2001/XMLSchema}int
81
+ #
82
+ # RETURNS
83
+ # N/A
84
+ #
85
+ # RAISES
86
+ # N/A
87
+ #
88
+ def op5( arg0 )
89
+ STDOUT.puts("op5\n")
90
+ if (!(arg0 == -100000)); STDOUT.puts("arg0 value error in op5\n"); end
91
+ return
92
+ end
93
+
94
+ # SYNOPSIS
95
+ # op6( arg0 )
96
+ #
97
+ # ARGS
98
+ # arg0 {http://www.w3.org/2001/XMLSchema}long
99
+ #
100
+ # RETURNS
101
+ # N/A
102
+ #
103
+ # RAISES
104
+ # N/A
105
+ #
106
+ def op6( arg0 )
107
+ STDOUT.puts("op6\n")
108
+ if (!(arg0 == -10000000000)); STDOUT.puts("arg0 value error in op6\n"); end
109
+ return
110
+ end
111
+
112
+ # SYNOPSIS
113
+ # op7( arg0 )
114
+ #
115
+ # ARGS
116
+ # arg0 {http://www.w3.org/2001/XMLSchema}float
117
+ #
118
+ # RETURNS
119
+ # N/A
120
+ #
121
+ # RAISES
122
+ # N/A
123
+ #
124
+ def op7( arg0 )
125
+ STDOUT.puts("op7\n")
126
+ if (!(arg0 == 0.123)); STDOUT.puts("arg0 value error in op7\n"); end
127
+ return
128
+ end
129
+
130
+ # SYNOPSIS
131
+ # op8( arg0 )
132
+ #
133
+ # ARGS
134
+ # arg0 {http://www.w3.org/2001/XMLSchema}double
135
+ #
136
+ # RETURNS
137
+ # N/A
138
+ #
139
+ # RAISES
140
+ # N/A
141
+ #
142
+ def op8( arg0 )
143
+ STDOUT.puts("op8\n")
144
+ if (!(arg0 == 0.12e3)); STDOUT.puts("arg0 value error in op8\n"); end
145
+ return
146
+ end
147
+
148
+ # SYNOPSIS
149
+ # op9( arg0 )
150
+ #
151
+ # ARGS
152
+ # arg0 {http://www.w3.org/2001/XMLSchema}string
153
+ #
154
+ # RETURNS
155
+ # N/A
156
+ #
157
+ # RAISES
158
+ # N/A
159
+ #
160
+ def op9( arg0 )
161
+ STDOUT.puts("op9\n")
162
+ if (!(arg0 == "abc")); STDOUT.puts("arg0 value error in op9\n"); end
163
+ return
164
+ end
165
+
166
+ # SYNOPSIS
167
+ # op11
168
+ #
169
+ # ARGS
170
+ # N/A
171
+ #
172
+ # RETURNS
173
+ # result {http://www.w3.org/2001/XMLSchema}boolean
174
+ #
175
+ # RAISES
176
+ # N/A
177
+ #
178
+ def op11
179
+ STDOUT.puts("op11\n")
180
+ _ret = true
181
+ return(_ret)
182
+ end
183
+
184
+ # SYNOPSIS
185
+ # op14
186
+ #
187
+ # ARGS
188
+ # N/A
189
+ #
190
+ # RETURNS
191
+ # result {http://www.w3.org/2001/XMLSchema}short
192
+ #
193
+ # RAISES
194
+ # N/A
195
+ #
196
+ def op14
197
+ STDOUT.puts("op14\n")
198
+ _ret = SOAPShort.new(-200)
199
+ return(_ret)
200
+ end
201
+
202
+ # SYNOPSIS
203
+ # op15
204
+ #
205
+ # ARGS
206
+ # N/A
207
+ #
208
+ # RETURNS
209
+ # result {http://www.w3.org/2001/XMLSchema}int
210
+ #
211
+ # RAISES
212
+ # N/A
213
+ #
214
+ def op15
215
+ STDOUT.puts("op15\n")
216
+ _ret = SOAPInt.new( -200000 )
217
+ return(_ret)
218
+ end
219
+
220
+ # SYNOPSIS
221
+ # op16
222
+ #
223
+ # ARGS
224
+ # N/A
225
+ #
226
+ # RETURNS
227
+ # result {http://www.w3.org/2001/XMLSchema}long
228
+ #
229
+ # RAISES
230
+ # N/A
231
+ #
232
+ def op16
233
+ STDOUT.puts("op16\n")
234
+ _ret = SOAPLong.new( -20000000000 )
235
+ return(_ret)
236
+ end
237
+
238
+ # SYNOPSIS
239
+ # op17
240
+ #
241
+ # ARGS
242
+ # N/A
243
+ #
244
+ # RETURNS
245
+ # result {http://www.w3.org/2001/XMLSchema}float
246
+ #
247
+ # RAISES
248
+ # N/A
249
+ #
250
+ def op17
251
+ STDOUT.puts("op17\n")
252
+ _ret = SOAPFloat.new(1.234)
253
+ return(_ret)
254
+ end
255
+
256
+ # SYNOPSIS
257
+ # op18
258
+ #
259
+ # ARGS
260
+ # N/A
261
+ #
262
+ # RETURNS
263
+ # result {http://www.w3.org/2001/XMLSchema}double
264
+ #
265
+ # RAISES
266
+ # N/A
267
+ #
268
+ def op18
269
+ STDOUT.puts("op18\n")
270
+ _ret = 1.23e4
271
+ return(_ret)
272
+ end
273
+
274
+ # SYNOPSIS
275
+ # op19
276
+ #
277
+ # ARGS
278
+ # N/A
279
+ #
280
+ # RETURNS
281
+ # result {http://www.w3.org/2001/XMLSchema}string
282
+ #
283
+ # RAISES
284
+ # N/A
285
+ #
286
+ def op19
287
+ STDOUT.puts("op19\n")
288
+ _ret = "def"
289
+ return(_ret)
290
+ end
291
+
292
+ # SYNOPSIS
293
+ # op21( arg0 )
294
+ #
295
+ # ARGS
296
+ # arg0 {http://www.w3.org/2001/XMLSchema}boolean
297
+ #
298
+ # RETURNS
299
+ # result {http://www.w3.org/2001/XMLSchema}boolean
300
+ #
301
+ # RAISES
302
+ # N/A
303
+ #
304
+ def op21( arg0 )
305
+ STDOUT.puts("op21\n")
306
+ if (!(arg0 == false)); STDOUT.puts("arg0 value error in op21\n"); end
307
+ _ret = true
308
+ return(_ret)
309
+ end
310
+
311
+ # SYNOPSIS
312
+ # op24( arg0, arg1, arg2 )
313
+ #
314
+ # ARGS
315
+ # arg0 {http://www.w3.org/2001/XMLSchema}short
316
+ # arg1 {http://www.w3.org/2001/XMLSchema}int
317
+ # arg2 {http://www.w3.org/2001/XMLSchema}long
318
+ #
319
+ # RETURNS
320
+ # result {http://www.w3.org/2001/XMLSchema}short
321
+ #
322
+ # RAISES
323
+ # N/A
324
+ #
325
+ def op24( arg0, arg1, arg2 )
326
+ STDOUT.puts("op24\n")
327
+ if (!(arg0 == -100)); STDOUT.puts("arg0 value error in op24\n"); end
328
+ if (!(arg1 == -100000)); STDOUT.puts("arg1 value error in op24\n"); end
329
+ if (!(arg2 == -10000000000)); STDOUT.puts("arg2 value error in op24\n"); end
330
+ _ret = SOAPShort.new(-200)
331
+ return(_ret)
332
+ end
333
+
334
+ # SYNOPSIS
335
+ # op25( arg0, arg1, arg2 )
336
+ #
337
+ # ARGS
338
+ # arg0 {http://www.w3.org/2001/XMLSchema}int
339
+ # arg1 {http://www.w3.org/2001/XMLSchema}long
340
+ # arg2 {http://www.w3.org/2001/XMLSchema}float
341
+ #
342
+ # RETURNS
343
+ # result {http://www.w3.org/2001/XMLSchema}int
344
+ #
345
+ # RAISES
346
+ # N/A
347
+ #
348
+ def op25( arg0, arg1, arg2 )
349
+ STDOUT.puts("op25\n")
350
+ if (!(arg0 == -100000)); STDOUT.puts("arg0 value error in op25\n"); end
351
+ if (!(arg1 == -10000000000)); STDOUT.puts("arg1 value error in op25\n"); end
352
+ if (!(arg2 == 0.123)); STDOUT.puts("arg2 value error in op25\n"); end
353
+ _ret = SOAPInt.new( -200000 )
354
+ return(_ret)
355
+ end
356
+
357
+ # SYNOPSIS
358
+ # op26( arg0, arg1, arg2 )
359
+ #
360
+ # ARGS
361
+ # arg0 {http://www.w3.org/2001/XMLSchema}long
362
+ # arg1 {http://www.w3.org/2001/XMLSchema}float
363
+ # arg2 {http://www.w3.org/2001/XMLSchema}double
364
+ #
365
+ # RETURNS
366
+ # result {http://www.w3.org/2001/XMLSchema}long
367
+ #
368
+ # RAISES
369
+ # N/A
370
+ #
371
+ def op26( arg0, arg1, arg2 )
372
+ STDOUT.puts("op26\n")
373
+ if (!(arg0 == -10000000000)); STDOUT.puts("arg0 value error in op26\n"); end
374
+ if (!(arg1 == 0.123)); STDOUT.puts("arg1 value error in op26\n"); end
375
+ if (!(arg2 == 0.12e3)); STDOUT.puts("arg2 value error in op26\n"); end
376
+ _ret = SOAPLong.new( -20000000000 )
377
+ return(_ret)
378
+ end
379
+
380
+ # SYNOPSIS
381
+ # op27( arg0, arg1, arg2 )
382
+ #
383
+ # ARGS
384
+ # arg0 {http://www.w3.org/2001/XMLSchema}float
385
+ # arg1 {http://www.w3.org/2001/XMLSchema}double
386
+ # arg2 {http://www.w3.org/2001/XMLSchema}string
387
+ #
388
+ # RETURNS
389
+ # result {http://www.w3.org/2001/XMLSchema}float
390
+ #
391
+ # RAISES
392
+ # N/A
393
+ #
394
+ def op27( arg0, arg1, arg2 )
395
+ STDOUT.puts("op27\n")
396
+ if (!(arg0 == 0.123)); STDOUT.puts("arg0 value error in op27\n"); end
397
+ if (!(arg1 == 0.12e3)); STDOUT.puts("arg1 value error in op27\n"); end
398
+ if (!(arg2 == "abc")); STDOUT.puts("arg2 value error in op27\n"); end
399
+ _ret = SOAPFloat.new(1.234)
400
+ return(_ret)
401
+ end
402
+
403
+ # SYNOPSIS
404
+ # op28( arg0, arg1, arg2 )
405
+ #
406
+ # ARGS
407
+ # arg0 {http://www.w3.org/2001/XMLSchema}double
408
+ # arg1 {http://www.w3.org/2001/XMLSchema}string
409
+ # arg2 {http://www.w3.org/2001/XMLSchema}boolean
410
+ #
411
+ # RETURNS
412
+ # result {http://www.w3.org/2001/XMLSchema}double
413
+ #
414
+ # RAISES
415
+ # N/A
416
+ #
417
+ def op28( arg0, arg1, arg2 )
418
+ STDOUT.puts("op28\n")
419
+ if (!(arg0 == 0.12e3)); STDOUT.puts("arg0 value error in op28\n"); end
420
+ if (!(arg1 == "abc")); STDOUT.puts("arg1 value error in op28\n"); end
421
+ if (!(arg2 == false)); STDOUT.puts("arg2 value error in op28\n"); end
422
+ _ret = 1.23e4
423
+ return(_ret)
424
+ end
425
+
426
+ # SYNOPSIS
427
+ # op29( arg0, arg1 )
428
+ #
429
+ # ARGS
430
+ # arg0 {http://www.w3.org/2001/XMLSchema}string
431
+ # arg1 {http://www.w3.org/2001/XMLSchema}boolean
432
+ #
433
+ # RETURNS
434
+ # result {http://www.w3.org/2001/XMLSchema}string
435
+ #
436
+ # RAISES
437
+ # N/A
438
+ #
439
+ def op29( arg0, arg1 )
440
+ STDOUT.puts("op29\n")
441
+ if (!(arg0 == "abc")); STDOUT.puts("arg0 value error in op29\n"); end
442
+ if (!(arg1 == false)); STDOUT.puts("arg1 value error in op29\n"); end
443
+ _ret = "def"
444
+ return(_ret)
445
+ end
446
+
447
+ # SYNOPSIS
448
+ # op30( arg0 )
449
+ #
450
+ # ARGS
451
+ # arg0 {http://dopg.gr.jp/sm11.xsd}C_struct
452
+ #
453
+ # RETURNS
454
+ # result {http://dopg.gr.jp/sm11.xsd}C_struct
455
+ #
456
+ # RAISES
457
+ # N/A
458
+ #
459
+ def op30( arg0 )
460
+ STDOUT.puts("op30\n")
461
+ if (!comp_0012(arg0)); STDOUT.puts("arg0 value error in op30\n"); end
462
+ _ret = cons_0007()
463
+ return(_ret)
464
+ end
465
+
466
+ # SYNOPSIS
467
+ # op31( arg0 )
468
+ #
469
+ # ARGS
470
+ # arg0 {http://dopg.gr.jp/sm11.xsd}ArrayOfboolean
471
+ #
472
+ # RETURNS
473
+ # result {http://dopg.gr.jp/sm11.xsd}ArrayOfboolean
474
+ #
475
+ # RAISES
476
+ # N/A
477
+ #
478
+ def op31( arg0 )
479
+ STDOUT.puts("op31\n")
480
+ if (!(true && (arg0[0] == false) && (arg0[1] == false))); STDOUT.puts("arg0 value error in op31\n"); end
481
+ _ret = ArrayOfboolean[true, true]
482
+ return(_ret)
483
+ end
484
+
485
+ # SYNOPSIS
486
+ # op34( arg0 )
487
+ #
488
+ # ARGS
489
+ # arg0 {http://dopg.gr.jp/sm11.xsd}ArrayOfshort
490
+ #
491
+ # RETURNS
492
+ # result {http://dopg.gr.jp/sm11.xsd}ArrayOfshort
493
+ #
494
+ # RAISES
495
+ # N/A
496
+ #
497
+ def op34( arg0 )
498
+ STDOUT.puts("op34\n")
499
+ if (!(true && (arg0[0] == -100) && (arg0[1] == -100))); STDOUT.puts("arg0 value error in op34\n"); end
500
+ _ret = ArrayOfshort[-200, -200]
501
+ return(_ret)
502
+ end
503
+
504
+ # SYNOPSIS
505
+ # op35( arg0 )
506
+ #
507
+ # ARGS
508
+ # arg0 {http://dopg.gr.jp/sm11.xsd}ArrayOfint
509
+ #
510
+ # RETURNS
511
+ # result {http://dopg.gr.jp/sm11.xsd}ArrayOfint
512
+ #
513
+ # RAISES
514
+ # N/A
515
+ #
516
+ def op35( arg0 )
517
+ STDOUT.puts("op35\n")
518
+ if (!(true && (arg0[0] == -100000) && (arg0[1] == -100000))); STDOUT.puts("arg0 value error in op35\n"); end
519
+ _ret = ArrayOfint[-200000, -200000]
520
+ return(_ret)
521
+ end
522
+
523
+ # SYNOPSIS
524
+ # op36( arg0 )
525
+ #
526
+ # ARGS
527
+ # arg0 {http://dopg.gr.jp/sm11.xsd}ArrayOflong
528
+ #
529
+ # RETURNS
530
+ # result {http://dopg.gr.jp/sm11.xsd}ArrayOflong
531
+ #
532
+ # RAISES
533
+ # N/A
534
+ #
535
+ def op36( arg0 )
536
+ STDOUT.puts("op36\n")
537
+ if (!(true && (arg0[0] == -10000000000) && (arg0[1] == -10000000000))); STDOUT.puts("arg0 value error in op36\n"); end
538
+ _ret = ArrayOflong[-20000000000, -20000000000]
539
+ return(_ret)
540
+ end
541
+
542
+ # SYNOPSIS
543
+ # op37( arg0 )
544
+ #
545
+ # ARGS
546
+ # arg0 {http://dopg.gr.jp/sm11.xsd}ArrayOffloat
547
+ #
548
+ # RETURNS
549
+ # result {http://dopg.gr.jp/sm11.xsd}ArrayOffloat
550
+ #
551
+ # RAISES
552
+ # N/A
553
+ #
554
+ def op37( arg0 )
555
+ STDOUT.puts("op37\n")
556
+ if (!(true && (arg0[0] == 0.123) && (arg0[1] == 0.123))); STDOUT.puts("arg0 value error in op37\n"); end
557
+ _ret = ArrayOffloat[1.234, 1.234]
558
+ return(_ret)
559
+ end
560
+
561
+ # SYNOPSIS
562
+ # op38( arg0 )
563
+ #
564
+ # ARGS
565
+ # arg0 {http://dopg.gr.jp/sm11.xsd}ArrayOfdouble
566
+ #
567
+ # RETURNS
568
+ # result {http://dopg.gr.jp/sm11.xsd}ArrayOfdouble
569
+ #
570
+ # RAISES
571
+ # N/A
572
+ #
573
+ def op38( arg0 )
574
+ STDOUT.puts("op38\n")
575
+ if (!(true && (arg0[0] == 0.12e3) && (arg0[1] == 0.12e3))); STDOUT.puts("arg0 value error in op38\n"); end
576
+ _ret = ArrayOfdouble[1.23e4, 1.23e4]
577
+ return(_ret)
578
+ end
579
+
580
+ # SYNOPSIS
581
+ # op39( arg0 )
582
+ #
583
+ # ARGS
584
+ # arg0 {http://dopg.gr.jp/sm11.xsd}ArrayOfstring
585
+ #
586
+ # RETURNS
587
+ # result {http://dopg.gr.jp/sm11.xsd}ArrayOfstring
588
+ #
589
+ # RAISES
590
+ # N/A
591
+ #
592
+ def op39( arg0 )
593
+ STDOUT.puts("op39\n")
594
+ if (!(true && (arg0[0] == "abc") && (arg0[1] == "abc"))); STDOUT.puts("arg0 value error in op39\n"); end
595
+ _ret = ArrayOfstring["def", "def"]
596
+ return(_ret)
597
+ end
598
+
599
+ # SYNOPSIS
600
+ # op40( arg0, arg1, arg2, arg3, arg4 )
601
+ #
602
+ # ARGS
603
+ # arg0 {http://dopg.gr.jp/sm11.xsd}C_struct
604
+ # arg1 {http://dopg.gr.jp/sm11.xsd}ArrayOfboolean
605
+ # arg2 {http://dopg.gr.jp/sm11.xsd}ArrayOfint
606
+ # arg3 {http://dopg.gr.jp/sm11.xsd}ArrayOfdouble
607
+ # arg4 {http://dopg.gr.jp/sm11.xsd}ArrayOfstring
608
+ #
609
+ # RETURNS
610
+ # N/A
611
+ #
612
+ # RAISES
613
+ # N/A
614
+ #
615
+ def op40( arg0, arg1, arg2, arg3, arg4 )
616
+ STDOUT.puts("op40\n")
617
+ if (!comp_0013(arg0)); STDOUT.puts("arg0 value error in op40\n"); end
618
+ if (!(true && (arg1[0] == false) && (arg1[1] == false))); STDOUT.puts("arg1 value error in op40\n"); end
619
+ if (!(true && (arg2[0] == -100000) && (arg2[1] == -100000))); STDOUT.puts("arg2 value error in op40\n"); end
620
+ if (!(true && (arg3[0] == 0.12e3) && (arg3[1] == 0.12e3))); STDOUT.puts("arg3 value error in op40\n"); end
621
+ if (!(true && (arg4[0] == "abc") && (arg4[1] == "abc"))); STDOUT.puts("arg4 value error in op40\n"); end
622
+ return
623
+ end
624
+
625
+ # SYNOPSIS
626
+ # op41( arg0 )
627
+ #
628
+ # ARGS
629
+ # arg0 {http://dopg.gr.jp/sm11.xsd}F_struct
630
+ #
631
+ # RETURNS
632
+ # result {http://dopg.gr.jp/sm11.xsd}F_struct
633
+ #
634
+ # RAISES
635
+ # N/A
636
+ #
637
+ def op41( arg0 )
638
+ STDOUT.puts("op41\n")
639
+ if (!comp_0014(arg0)); STDOUT.puts("arg0 value error in op41\n"); end
640
+ _ret = cons_0008()
641
+ return(_ret)
642
+ end
643
+
644
+ # SYNOPSIS
645
+ # op42( arg0 )
646
+ #
647
+ # ARGS
648
+ # arg0 {http://dopg.gr.jp/sm11.xsd}ArrayOfC_struct
649
+ #
650
+ # RETURNS
651
+ # result {http://dopg.gr.jp/sm11.xsd}ArrayOfC_struct
652
+ #
653
+ # RAISES
654
+ # N/A
655
+ #
656
+ def op42( arg0 )
657
+ STDOUT.puts("op42\n")
658
+ if (!(true && comp_0016(arg0[0]) && comp_0016(arg0[1]))); STDOUT.puts("arg0 value error in op42\n"); end
659
+ _ret = ArrayOfC_struct[cons_0010(), cons_0010()]
660
+ return(_ret)
661
+ end
662
+
663
+ # SYNOPSIS
664
+ # op43( arg0, arg1 )
665
+ #
666
+ # ARGS
667
+ # arg0 {http://dopg.gr.jp/sm11.xsd}F_struct
668
+ # arg1 {http://dopg.gr.jp/sm11.xsd}ArrayOfC_struct
669
+ #
670
+ # RETURNS
671
+ # N/A
672
+ #
673
+ # RAISES
674
+ # N/A
675
+ #
676
+ def op43( arg0, arg1 )
677
+ STDOUT.puts("op43\n")
678
+ if (!comp_0017(arg0)); STDOUT.puts("arg0 value error in op43\n"); end
679
+ if (!(true && comp_0018(arg1[0]) && comp_0018(arg1[1]))); STDOUT.puts("arg1 value error in op43\n"); end
680
+ return
681
+ end
682
+
683
+ # SYNOPSIS
684
+ # excop1
685
+ #
686
+ # ARGS
687
+ # N/A
688
+ #
689
+ # RETURNS
690
+ # N/A
691
+ #
692
+ # RAISES
693
+ # arg0 {http://dopg.gr.jp/sm11.xsd}A_except
694
+ #
695
+ def excop1
696
+ STDOUT.puts("excop1\n")
697
+ _exc = cons_0011()
698
+ raise(_exc)
699
+ end
700
+
701
+ # SYNOPSIS
702
+ # excop2
703
+ #
704
+ # ARGS
705
+ # N/A
706
+ #
707
+ # RETURNS
708
+ # N/A
709
+ #
710
+ # RAISES
711
+ # arg0 {http://dopg.gr.jp/sm11.xsd}C_except
712
+ #
713
+ def excop2
714
+ STDOUT.puts("excop2\n")
715
+ _exc = cons_0012()
716
+ raise(_exc)
717
+ end
718
+
719
+ # SYNOPSIS
720
+ # excop3
721
+ #
722
+ # ARGS
723
+ # N/A
724
+ #
725
+ # RETURNS
726
+ # N/A
727
+ #
728
+ # RAISES
729
+ # arg0 {http://dopg.gr.jp/sm11.xsd}F_except1
730
+ #
731
+ def excop3
732
+ STDOUT.puts("excop3\n")
733
+ _exc = cons_0014()
734
+ raise(_exc)
735
+ end
736
+
737
+ # SYNOPSIS
738
+ # excop4
739
+ #
740
+ # ARGS
741
+ # N/A
742
+ #
743
+ # RETURNS
744
+ # N/A
745
+ #
746
+ # RAISES
747
+ # arg0 {http://dopg.gr.jp/sm11.xsd}F_except2
748
+ #
749
+ def excop4
750
+ STDOUT.puts("excop4\n")
751
+ _exc = cons_0017()
752
+ raise(_exc)
753
+ end
754
+
755
+
756
+ require 'soap/rpcUtils'
757
+ MappingRegistry = SOAP::RPCUtils::MappingRegistry.new
758
+
759
+ MappingRegistry.set(
760
+ C_struct,
761
+ ::SOAP::SOAPStruct,
762
+ ::SOAP::RPCUtils::MappingRegistry::TypedStructFactory,
763
+ [ "http://dopg.gr.jp/sm11.xsd", "C_struct" ]
764
+ )
765
+ MappingRegistry.set(
766
+ ArrayOfboolean,
767
+ ::SOAP::SOAPArray,
768
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
769
+ [ "http://www.w3.org/2001/XMLSchema", "boolean" ]
770
+ )
771
+ MappingRegistry.set(
772
+ ArrayOfshort,
773
+ ::SOAP::SOAPArray,
774
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
775
+ [ "http://www.w3.org/2001/XMLSchema", "short" ]
776
+ )
777
+ MappingRegistry.set(
778
+ ArrayOfint,
779
+ ::SOAP::SOAPArray,
780
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
781
+ [ "http://www.w3.org/2001/XMLSchema", "int" ]
782
+ )
783
+ MappingRegistry.set(
784
+ ArrayOflong,
785
+ ::SOAP::SOAPArray,
786
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
787
+ [ "http://www.w3.org/2001/XMLSchema", "long" ]
788
+ )
789
+ MappingRegistry.set(
790
+ ArrayOffloat,
791
+ ::SOAP::SOAPArray,
792
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
793
+ [ "http://www.w3.org/2001/XMLSchema", "float" ]
794
+ )
795
+ MappingRegistry.set(
796
+ ArrayOfdouble,
797
+ ::SOAP::SOAPArray,
798
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
799
+ [ "http://www.w3.org/2001/XMLSchema", "double" ]
800
+ )
801
+ MappingRegistry.set(
802
+ ArrayOfstring,
803
+ ::SOAP::SOAPArray,
804
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
805
+ [ "http://www.w3.org/2001/XMLSchema", "string" ]
806
+ )
807
+ MappingRegistry.set(
808
+ F_struct,
809
+ ::SOAP::SOAPStruct,
810
+ ::SOAP::RPCUtils::MappingRegistry::TypedStructFactory,
811
+ [ "http://dopg.gr.jp/sm11.xsd", "F_struct" ]
812
+ )
813
+ MappingRegistry.set(
814
+ ArrayOfC_struct,
815
+ ::SOAP::SOAPArray,
816
+ ::SOAP::RPCUtils::MappingRegistry::TypedArrayFactory,
817
+ [ "http://dopg.gr.jp/sm11.xsd", "C_struct" ]
818
+ )
819
+
820
+ Methods = [
821
+ [ "op0", "op0", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
822
+ [ "op1", "op1", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
823
+ [ "op4", "op4", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
824
+ [ "op5", "op5", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
825
+ [ "op6", "op6", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
826
+ [ "op7", "op7", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
827
+ [ "op8", "op8", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
828
+ [ "op9", "op9", [ [ "in", "arg0" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
829
+ [ "op11", "op11", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
830
+ [ "op14", "op14", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
831
+ [ "op15", "op15", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
832
+ [ "op16", "op16", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
833
+ [ "op17", "op17", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
834
+ [ "op18", "op18", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
835
+ [ "op19", "op19", [ [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
836
+ [ "op21", "op21", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
837
+ [ "op24", "op24", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
838
+ [ "op25", "op25", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
839
+ [ "op26", "op26", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
840
+ [ "op27", "op27", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
841
+ [ "op28", "op28", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
842
+ [ "op29", "op29", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
843
+ [ "op30", "op30", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
844
+ [ "op31", "op31", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
845
+ [ "op34", "op34", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
846
+ [ "op35", "op35", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
847
+ [ "op36", "op36", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
848
+ [ "op37", "op37", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
849
+ [ "op38", "op38", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
850
+ [ "op39", "op39", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
851
+ [ "op40", "op40", [ [ "in", "arg0" ], [ "in", "arg1" ], [ "in", "arg2" ], [ "in", "arg3" ], [ "in", "arg4" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
852
+ [ "op41", "op41", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
853
+ [ "op42", "op42", [ [ "in", "arg0" ], [ "retval", "result" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
854
+ [ "op43", "op43", [ [ "in", "arg0" ], [ "in", "arg1" ] ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
855
+ [ "excop1", "excop1", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
856
+ [ "excop2", "excop2", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
857
+ [ "excop3", "excop3", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ],
858
+ [ "excop4", "excop4", [ ], "http://dopg.gr.jp/sm11", "http://dopg.gr.jp/sm11" ]
859
+ ]
860
+
861
+ private
862
+
863
+ def comp_0012(_v1)
864
+ return(true &&
865
+ (! _v1.e_boolean()) &&
866
+ (_v1.e_short == -100) &&
867
+ (_v1.e_int == -100000) &&
868
+ (_v1.e_long == -10000000000) &&
869
+ (_v1.e_float == 0.123) &&
870
+ (_v1.e_double == 0.12e3) &&
871
+ (_v1.e_String == "abc")
872
+ )
873
+ end
874
+ def cons_0007()
875
+ _v1 = C_struct.new()
876
+ _v1.e_boolean = true
877
+ _v1.e_short = SOAPShort.new(-200)
878
+ _v1.e_int = SOAPInt.new(-200000)
879
+ _v1.e_long = SOAPLong.new(-20000000000)
880
+ _v1.e_float = SOAPFloat.new(1.234)
881
+ _v1.e_double = 1.23e4
882
+ _v1.e_String = "def"
883
+ return(_v1)
884
+ end
885
+ def comp_0013(_v1)
886
+ return(true &&
887
+ (! _v1.e_boolean()) &&
888
+ (_v1.e_short == -100) &&
889
+ (_v1.e_int == -100000) &&
890
+ (_v1.e_long == -10000000000) &&
891
+ (_v1.e_float == 0.123) &&
892
+ (_v1.e_double == 0.12e3) &&
893
+ (_v1.e_String == "abc")
894
+ )
895
+ end
896
+ def comp_0015(_v1)
897
+ return(true &&
898
+ (! _v1.e_boolean()) &&
899
+ (_v1.e_short == -100) &&
900
+ (_v1.e_int == -100000) &&
901
+ (_v1.e_long == -10000000000) &&
902
+ (_v1.e_float == 0.123) &&
903
+ (_v1.e_double == 0.12e3) &&
904
+ (_v1.e_String == "abc")
905
+ )
906
+ end
907
+ def comp_0014(_v1)
908
+ return(true &&
909
+ comp_0015(_v1.e_c_struct) &&
910
+ (true && (_v1.e_c_array_e_boolean[0] == false) && (_v1.e_c_array_e_boolean[1] == false)) &&
911
+ (true && (_v1.e_c_array_e_short[0] == -100) && (_v1.e_c_array_e_short[1] == -100)) &&
912
+ (true && (_v1.e_c_array_e_int[0] == -100000) && (_v1.e_c_array_e_int[1] == -100000)) &&
913
+ (true && (_v1.e_c_array_e_long[0] == -10000000000) && (_v1.e_c_array_e_long[1] == -10000000000)) &&
914
+ (true && (_v1.e_c_array_e_float[0] == 0.123) && (_v1.e_c_array_e_float[1] == 0.123)) &&
915
+ (true && (_v1.e_c_array_e_double[0] == 0.12e3) && (_v1.e_c_array_e_double[1] == 0.12e3)) &&
916
+ (true && (_v1.e_c_array_e_String[0] == "abc") && (_v1.e_c_array_e_String[1] == "abc"))
917
+ )
918
+ end
919
+ def cons_0009()
920
+ _v1 = C_struct.new()
921
+ _v1.e_boolean = true
922
+ _v1.e_short = SOAPShort.new(-200)
923
+ _v1.e_int = SOAPInt.new(-200000)
924
+ _v1.e_long = SOAPLong.new(-20000000000)
925
+ _v1.e_float = SOAPFloat.new(1.234)
926
+ _v1.e_double = 1.23e4
927
+ _v1.e_String = "def"
928
+ return(_v1)
929
+ end
930
+ def cons_0008()
931
+ _v1 = F_struct.new()
932
+ _v1.e_c_struct = cons_0009()
933
+ _v1.e_c_array_e_boolean = ArrayOfboolean[true, true]
934
+ _v1.e_c_array_e_short = ArrayOfshort[-200, -200]
935
+ _v1.e_c_array_e_int = ArrayOfint[-200000, -200000]
936
+ _v1.e_c_array_e_long = ArrayOflong[-20000000000, -20000000000]
937
+ _v1.e_c_array_e_float = ArrayOffloat[1.234, 1.234]
938
+ _v1.e_c_array_e_double = ArrayOfdouble[1.23e4, 1.23e4]
939
+ _v1.e_c_array_e_String = ArrayOfstring["def", "def"]
940
+ return(_v1)
941
+ end
942
+ def comp_0016(_v1)
943
+ return(true &&
944
+ (! _v1.e_boolean()) &&
945
+ (_v1.e_short == -100) &&
946
+ (_v1.e_int == -100000) &&
947
+ (_v1.e_long == -10000000000) &&
948
+ (_v1.e_float == 0.123) &&
949
+ (_v1.e_double == 0.12e3) &&
950
+ (_v1.e_String == "abc")
951
+ )
952
+ end
953
+ def cons_0010()
954
+ _v1 = C_struct.new()
955
+ _v1.e_boolean = true
956
+ _v1.e_short = SOAPShort.new(-200)
957
+ _v1.e_int = SOAPInt.new(-200000)
958
+ _v1.e_long = SOAPLong.new(-20000000000)
959
+ _v1.e_float = SOAPFloat.new(1.234)
960
+ _v1.e_double = 1.23e4
961
+ _v1.e_String = "def"
962
+ return(_v1)
963
+ end
964
+ def comp_0018(_v1)
965
+ return(true &&
966
+ (! _v1.e_boolean()) &&
967
+ (_v1.e_short == -100) &&
968
+ (_v1.e_int == -100000) &&
969
+ (_v1.e_long == -10000000000) &&
970
+ (_v1.e_float == 0.123) &&
971
+ (_v1.e_double == 0.12e3) &&
972
+ (_v1.e_String == "abc")
973
+ )
974
+ end
975
+ def comp_0017(_v1)
976
+ return(true &&
977
+ comp_0018(_v1.e_c_struct) &&
978
+ (true && (_v1.e_c_array_e_boolean[0] == false) && (_v1.e_c_array_e_boolean[1] == false)) &&
979
+ (true && (_v1.e_c_array_e_short[0] == -100) && (_v1.e_c_array_e_short[1] == -100)) &&
980
+ (true && (_v1.e_c_array_e_int[0] == -100000) && (_v1.e_c_array_e_int[1] == -100000)) &&
981
+ (true && (_v1.e_c_array_e_long[0] == -10000000000) && (_v1.e_c_array_e_long[1] == -10000000000)) &&
982
+ (true && (_v1.e_c_array_e_float[0] == 0.123) && (_v1.e_c_array_e_float[1] == 0.123)) &&
983
+ (true && (_v1.e_c_array_e_double[0] == 0.12e3) && (_v1.e_c_array_e_double[1] == 0.12e3)) &&
984
+ (true && (_v1.e_c_array_e_String[0] == "abc") && (_v1.e_c_array_e_String[1] == "abc"))
985
+ )
986
+ end
987
+ def cons_0011()
988
+ _v1 = A_except.new()
989
+ _v1.v1 = true
990
+ _v1.v4 = SOAPShort.new(-200)
991
+ _v1.v5 = SOAPInt.new(-200000)
992
+ _v1.v6 = SOAPLong.new(-20000000000)
993
+ _v1.v7 = SOAPFloat.new(1.234)
994
+ _v1.v8 = 1.23e4
995
+ _v1.v9 = "def"
996
+ return(_v1)
997
+ end
998
+ def cons_0013()
999
+ _v1 = C_struct.new()
1000
+ _v1.e_boolean = true
1001
+ _v1.e_short = SOAPShort.new(-200)
1002
+ _v1.e_int = SOAPInt.new(-200000)
1003
+ _v1.e_long = SOAPLong.new(-20000000000)
1004
+ _v1.e_float = SOAPFloat.new(1.234)
1005
+ _v1.e_double = 1.23e4
1006
+ _v1.e_String = "def"
1007
+ return(_v1)
1008
+ end
1009
+ def cons_0012()
1010
+ _v1 = C_except.new()
1011
+ _v1.v10 = cons_0013()
1012
+ _v1.v21 = ArrayOfboolean[true, true]
1013
+ _v1.v24 = ArrayOfshort[-200, -200]
1014
+ _v1.v25 = ArrayOfint[-200000, -200000]
1015
+ _v1.v26 = ArrayOflong[-20000000000, -20000000000]
1016
+ _v1.v27 = ArrayOffloat[1.234, 1.234]
1017
+ _v1.v28 = ArrayOfdouble[1.23e4, 1.23e4]
1018
+ _v1.v29 = ArrayOfstring["def", "def"]
1019
+ return(_v1)
1020
+ end
1021
+ def cons_0016()
1022
+ _v1 = C_struct.new()
1023
+ _v1.e_boolean = true
1024
+ _v1.e_short = SOAPShort.new(-200)
1025
+ _v1.e_int = SOAPInt.new(-200000)
1026
+ _v1.e_long = SOAPLong.new(-20000000000)
1027
+ _v1.e_float = SOAPFloat.new(1.234)
1028
+ _v1.e_double = 1.23e4
1029
+ _v1.e_String = "def"
1030
+ return(_v1)
1031
+ end
1032
+ def cons_0015()
1033
+ _v1 = F_struct.new()
1034
+ _v1.e_c_struct = cons_0016()
1035
+ _v1.e_c_array_e_boolean = ArrayOfboolean[true, true]
1036
+ _v1.e_c_array_e_short = ArrayOfshort[-200, -200]
1037
+ _v1.e_c_array_e_int = ArrayOfint[-200000, -200000]
1038
+ _v1.e_c_array_e_long = ArrayOflong[-20000000000, -20000000000]
1039
+ _v1.e_c_array_e_float = ArrayOffloat[1.234, 1.234]
1040
+ _v1.e_c_array_e_double = ArrayOfdouble[1.23e4, 1.23e4]
1041
+ _v1.e_c_array_e_String = ArrayOfstring["def", "def"]
1042
+ return(_v1)
1043
+ end
1044
+ def cons_0014()
1045
+ _v1 = F_except1.new()
1046
+ _v1.v40 = cons_0015()
1047
+ return(_v1)
1048
+ end
1049
+ def cons_0018()
1050
+ _v1 = C_struct.new()
1051
+ _v1.e_boolean = true
1052
+ _v1.e_short = SOAPShort.new(-200)
1053
+ _v1.e_int = SOAPInt.new(-200000)
1054
+ _v1.e_long = SOAPLong.new(-20000000000)
1055
+ _v1.e_float = SOAPFloat.new(1.234)
1056
+ _v1.e_double = 1.23e4
1057
+ _v1.e_String = "def"
1058
+ return(_v1)
1059
+ end
1060
+ def cons_0017()
1061
+ _v1 = F_except2.new()
1062
+ _v1.v50 = ArrayOfC_struct[cons_0018(), cons_0018()]
1063
+ return(_v1)
1064
+ end
1065
+
1066
+ end
1067
+