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,28 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $serverName = 'WhiteMesaSOAPServer'
4
+ $serverBase = 'http://www.whitemesa.net/interop/std'
5
+ $serverGroupB = 'http://www.whitemesa.net/interop/std/groupB'
6
+
7
+ $wsdlBase = 'http://www.whitemesa.net/wsdl/std/interop.wsdl'
8
+ $wsdlGroupB = 'http://www.whitemesa.net/wsdl/std/interopB.wsdl'
9
+
10
+ require 'clientBase'
11
+
12
+ =begin
13
+ drvBase = SOAP::RPC::Driver.new($serverBase, InterfaceNS)
14
+ methodDefBase(drvBase)
15
+
16
+ drvGroupB = SOAP::RPC::Driver.new($serverGroupB, InterfaceNS)
17
+ methodDefGroupB(drvGroupB)
18
+ =end
19
+
20
+ require 'soap/wsdlDriver'
21
+ drvBase = SOAP::WSDLDriverFactory.new($wsdlBase).create_rpc_driver
22
+ drvBase.endpoint_url = $serverBase
23
+ drvGroupB = SOAP::WSDLDriverFactory.new($wsdlGroupB).create_rpc_driver
24
+ drvGroupB.endpoint_url = $serverGroupB
25
+
26
+ doTestBase(drvBase)
27
+ doTestGroupB(drvGroupB)
28
+ submitTestResult
@@ -0,0 +1,4359 @@
1
+ File: clientWhiteMesa_Base.log - Wiredumps for SOAP4R client / WhiteMesaSOAPServer server.
2
+ Date: Sat Jul 23 22:13:47 JST 2005
3
+
4
+ ##########
5
+ # echoVoid
6
+
7
+ Result: OK
8
+
9
+ Wire dump:
10
+
11
+ = Request
12
+
13
+ ! CONNECTION ESTABLISHED
14
+ POST /interop/std HTTP/1.1
15
+ SOAPAction: "http://soapinterop.org/"
16
+ Content-Type: text/xml; charset=utf-8
17
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
18
+ Date: Sat Jul 23 22:13:48 JST 2005
19
+ Content-Length: 400
20
+ Host: www.whitemesa.net
21
+
22
+ <?xml version="1.0" encoding="utf-8" ?>
23
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
24
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
25
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
26
+ <env:Body>
27
+ <n1:echoVoid xmlns:n1="http://soapinterop.org/"
28
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
29
+ </n1:echoVoid>
30
+ </env:Body>
31
+ </env:Envelope>
32
+
33
+ = Response
34
+
35
+ HTTP/1.1 200 OK
36
+ Date: Sat, 23 Jul 2005 13:27:49 GMT
37
+ Server: WhiteMesa SOAP Server/3.2
38
+ Content-Type: text/xml; charset="utf-8"
39
+ Content-Length: 290
40
+ Connection: close
41
+
42
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoVoidResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/" /></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
43
+
44
+
45
+
46
+ ##########
47
+ # echoString
48
+
49
+ Result: OK
50
+
51
+ Wire dump:
52
+
53
+ = Request
54
+
55
+ ! CONNECTION ESTABLISHED
56
+ POST /interop/std HTTP/1.1
57
+ SOAPAction: "http://soapinterop.org/"
58
+ Content-Type: text/xml; charset=utf-8
59
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
60
+ Date: Sat Jul 23 22:13:49 JST 2005
61
+ Content-Length: 488
62
+ Host: www.whitemesa.net
63
+
64
+ <?xml version="1.0" encoding="utf-8" ?>
65
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
66
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
67
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
68
+ <env:Body>
69
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
70
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
71
+ <inputString xsi:type="xsd:string">SOAP4R Interoperability Test</inputString>
72
+ </n1:echoString>
73
+ </env:Body>
74
+ </env:Envelope>
75
+
76
+ = Response
77
+
78
+ HTTP/1.1 200 OK
79
+ Date: Sat, 23 Jul 2005 13:27:50 GMT
80
+ Server: WhiteMesa SOAP Server/3.2
81
+ Content-Type: text/xml; charset="utf-8"
82
+ Content-Length: 358
83
+ Connection: close
84
+
85
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>SOAP4R Interoperability Test</return></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
86
+
87
+
88
+
89
+ ##########
90
+ # echoString (Entity reference)
91
+
92
+ Result: OK
93
+
94
+ Wire dump:
95
+
96
+ = Request
97
+
98
+ ! CONNECTION ESTABLISHED
99
+ POST /interop/std HTTP/1.1
100
+ SOAPAction: "http://soapinterop.org/"
101
+ Content-Type: text/xml; charset=utf-8
102
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
103
+ Date: Sat Jul 23 22:13:49 JST 2005
104
+ Content-Length: 549
105
+ Host: www.whitemesa.net
106
+
107
+ <?xml version="1.0" encoding="utf-8" ?>
108
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
109
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
110
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
111
+ <env:Body>
112
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
113
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
114
+ <inputString xsi:type="xsd:string">&lt;&gt;&quot;&amp; &amp;lt;&amp;gt;&amp;quot;&amp;amp; &amp;amp&amp;amp;&gt;&lt;&lt;&lt;</inputString>
115
+ </n1:echoString>
116
+ </env:Body>
117
+ </env:Envelope>
118
+
119
+ = Response
120
+
121
+ HTTP/1.1 200 OK
122
+ Date: Sat, 23 Jul 2005 13:27:51 GMT
123
+ Server: WhiteMesa SOAP Server/3.2
124
+ Content-Type: text/xml; charset="utf-8"
125
+ Content-Length: 414
126
+ Connection: close
127
+
128
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>&lt;&gt;"&amp; &amp;lt;&amp;gt;&amp;quot;&amp;amp; &amp;amp&amp;amp;&gt;&lt;&lt;&lt;</return></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
129
+
130
+
131
+
132
+ ##########
133
+ # echoString (Character reference)
134
+
135
+ Result: OK
136
+
137
+ Wire dump:
138
+
139
+ = Request
140
+
141
+ ! CONNECTION ESTABLISHED
142
+ POST /interop/std HTTP/1.1
143
+ SOAPAction: "http://soapinterop.org/"
144
+ Content-Type: text/xml; charset=utf-8
145
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
146
+ Date: Sat Jul 23 22:13:50 JST 2005
147
+ Content-Length: 487
148
+ Host: www.whitemesa.net
149
+
150
+ <?xml version="1.0" encoding="utf-8" ?>
151
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
152
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
153
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
154
+ <env:Body>
155
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
156
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
157
+ <inputString xsi:type="xsd:string"> &#x20; &#32;&#x7f;&#127;</inputString>
158
+ </n1:echoString>
159
+ </env:Body>
160
+ </env:Envelope>
161
+
162
+ = Response
163
+
164
+ HTTP/1.1 200 OK
165
+ Date: Sat, 23 Jul 2005 13:27:52 GMT
166
+ Server: WhiteMesa SOAP Server/3.2
167
+ Content-Type: text/xml; charset="utf-8"
168
+ Content-Length: 338
169
+ Connection: close
170
+
171
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return> </return></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
172
+
173
+
174
+
175
+ ##########
176
+ # echoString (Leading and trailing whitespace)
177
+
178
+ Result: OK
179
+
180
+ Wire dump:
181
+
182
+ = Request
183
+
184
+ ! CONNECTION ESTABLISHED
185
+ POST /interop/std HTTP/1.1
186
+ SOAPAction: "http://soapinterop.org/"
187
+ Content-Type: text/xml; charset=utf-8
188
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
189
+ Date: Sat Jul 23 22:13:53 JST 2005
190
+ Content-Length: 494
191
+ Host: www.whitemesa.net
192
+
193
+ <?xml version="1.0" encoding="utf-8" ?>
194
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
195
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
196
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
197
+ <env:Body>
198
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
199
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
200
+ <inputString xsi:type="xsd:string"> SOAP4R
201
+ Interoperability
202
+ Test </inputString>
203
+ </n1:echoString>
204
+ </env:Body>
205
+ </env:Envelope>
206
+
207
+ = Response
208
+
209
+ HTTP/1.1 200 OK
210
+ Date: Sat, 23 Jul 2005 13:27:54 GMT
211
+ Server: WhiteMesa SOAP Server/3.2
212
+ Content-Type: text/xml; charset="utf-8"
213
+ Content-Length: 364
214
+ Connection: close
215
+
216
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return> SOAP4R
217
+ Interoperability
218
+ Test </return></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
219
+
220
+
221
+
222
+ ##########
223
+ # echoString (EUC encoded)
224
+
225
+ Result: Expected = "Hello (���ܸ�Japanese) ����ˤ���" // Actual = "Hello (日�\234�語Japanese) �\223�\223に�\201��\201\257"
226
+
227
+ Wire dump:
228
+
229
+ = Request
230
+
231
+ ! CONNECTION ESTABLISHED
232
+ POST /interop/std HTTP/1.1
233
+ SOAPAction: "http://soapinterop.org/"
234
+ Content-Type: text/xml; charset=utf-8
235
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
236
+ Date: Sat Jul 23 22:13:53 JST 2005
237
+ Content-Length: 501
238
+ Host: www.whitemesa.net
239
+
240
+ <?xml version="1.0" encoding="utf-8" ?>
241
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
242
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
243
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
244
+ <env:Body>
245
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
246
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
247
+ <inputString xsi:type="xsd:string">Hello (日本語Japanese) こんにちは</inputString>
248
+ </n1:echoString>
249
+ </env:Body>
250
+ </env:Envelope>
251
+
252
+ = Response
253
+
254
+ HTTP/1.1 200 OK
255
+ Date: Sat, 23 Jul 2005 13:27:55 GMT
256
+ Server: WhiteMesa SOAP Server/3.2
257
+ Content-Type: text/xml; charset="utf-8"
258
+ Content-Length: 371
259
+ Connection: close
260
+
261
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>Hello (日本語Japanese) こんにちは</return></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
262
+
263
+
264
+
265
+ ##########
266
+ # echoString (EUC encoded) again
267
+
268
+ Result: Expected = "Hello (���ܸ�Japanese) ����ˤ���" // Actual = "Hello (日�\234�語Japanese) �\223�\223に�\201��\201\257"
269
+
270
+ Wire dump:
271
+
272
+ = Request
273
+
274
+ ! CONNECTION ESTABLISHED
275
+ POST /interop/std HTTP/1.1
276
+ SOAPAction: "http://soapinterop.org/"
277
+ Content-Type: text/xml; charset=utf-8
278
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
279
+ Date: Sat Jul 23 22:13:54 JST 2005
280
+ Content-Length: 501
281
+ Host: www.whitemesa.net
282
+
283
+ <?xml version="1.0" encoding="utf-8" ?>
284
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
285
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
286
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
287
+ <env:Body>
288
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
289
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
290
+ <inputString xsi:type="xsd:string">Hello (日本語Japanese) こんにちは</inputString>
291
+ </n1:echoString>
292
+ </env:Body>
293
+ </env:Envelope>
294
+
295
+ = Response
296
+
297
+ HTTP/1.1 200 OK
298
+ Date: Sat, 23 Jul 2005 13:27:56 GMT
299
+ Server: WhiteMesa SOAP Server/3.2
300
+ Content-Type: text/xml; charset="utf-8"
301
+ Content-Length: 371
302
+ Connection: close
303
+
304
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>Hello (日本語Japanese) こんにちは</return></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
305
+
306
+
307
+
308
+ ##########
309
+ # echoString (empty)
310
+
311
+ Result: Expected = "" // Actual = #<SOAP::Mapping::Object:0x..fdbe9512c>
312
+
313
+ Wire dump:
314
+
315
+ = Request
316
+
317
+ ! CONNECTION ESTABLISHED
318
+ POST /interop/std HTTP/1.1
319
+ SOAPAction: "http://soapinterop.org/"
320
+ Content-Type: text/xml; charset=utf-8
321
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
322
+ Date: Sat Jul 23 22:13:55 JST 2005
323
+ Content-Length: 460
324
+ Host: www.whitemesa.net
325
+
326
+ <?xml version="1.0" encoding="utf-8" ?>
327
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
328
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
329
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
330
+ <env:Body>
331
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
332
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
333
+ <inputString xsi:type="xsd:string"></inputString>
334
+ </n1:echoString>
335
+ </env:Body>
336
+ </env:Envelope>
337
+
338
+ = Response
339
+
340
+ HTTP/1.1 200 OK
341
+ Date: Sat, 23 Jul 2005 13:27:57 GMT
342
+ Server: WhiteMesa SOAP Server/3.2
343
+ Content-Type: text/xml; charset="utf-8"
344
+ Content-Length: 323
345
+ Connection: close
346
+
347
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return /></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
348
+
349
+
350
+
351
+ ##########
352
+ # echoString (space)
353
+
354
+ Result: Expected = " " // Actual = #<SOAP::Mapping::Object:0x..fdbe8e1d8>
355
+
356
+ Wire dump:
357
+
358
+ = Request
359
+
360
+ ! CONNECTION ESTABLISHED
361
+ POST /interop/std HTTP/1.1
362
+ SOAPAction: "http://soapinterop.org/"
363
+ Content-Type: text/xml; charset=utf-8
364
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
365
+ Date: Sat Jul 23 22:13:56 JST 2005
366
+ Content-Length: 461
367
+ Host: www.whitemesa.net
368
+
369
+ <?xml version="1.0" encoding="utf-8" ?>
370
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
371
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
372
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
373
+ <env:Body>
374
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
375
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
376
+ <inputString xsi:type="xsd:string"> </inputString>
377
+ </n1:echoString>
378
+ </env:Body>
379
+ </env:Envelope>
380
+
381
+ = Response
382
+
383
+ HTTP/1.1 200 OK
384
+ Date: Sat, 23 Jul 2005 13:27:58 GMT
385
+ Server: WhiteMesa SOAP Server/3.2
386
+ Content-Type: text/xml; charset="utf-8"
387
+ Content-Length: 331
388
+ Connection: close
389
+
390
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return> </return></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
391
+
392
+
393
+
394
+ ##########
395
+ # echoString (whitespaces:\r \n \t \r \n \t)
396
+
397
+ Result: Expected = "\r \n \t \r \n \t" // Actual = #<SOAP::Mapping::Object:0x..fdbe88bca>
398
+
399
+ Wire dump:
400
+
401
+ = Request
402
+
403
+ ! CONNECTION ESTABLISHED
404
+ POST /interop/std HTTP/1.1
405
+ SOAPAction: "http://soapinterop.org/"
406
+ Content-Type: text/xml; charset=utf-8
407
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
408
+ Date: Sat Jul 23 22:13:57 JST 2005
409
+ Content-Length: 479
410
+ Host: www.whitemesa.net
411
+
412
+ <?xml version="1.0" encoding="utf-8" ?>
413
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
414
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
415
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
416
+ <env:Body>
417
+ <n1:echoString xmlns:n1="http://soapinterop.org/"
418
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
419
+ <inputString xsi:type="xsd:string">&#xd;
420
+ &#xd;
421
+ </inputString>
422
+ </n1:echoString>
423
+ </env:Body>
424
+ </env:Envelope>
425
+
426
+ = Response
427
+
428
+ HTTP/1.1 200 OK
429
+ Date: Sat, 23 Jul 2005 13:27:59 GMT
430
+ Server: WhiteMesa SOAP Server/3.2
431
+ Content-Type: text/xml; charset="utf-8"
432
+ Content-Length: 341
433
+ Connection: close
434
+
435
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>
436
 
437
+
1
438
 
439
+ </return></m:echoStringResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
440
+
441
+
442
+
443
+ ##########
444
+ # echoStringArray
445
+
446
+ Result: OK
447
+
448
+ Wire dump:
449
+
450
+ = Request
451
+
452
+ ! CONNECTION ESTABLISHED
453
+ POST /interop/std HTTP/1.1
454
+ SOAPAction: "http://soapinterop.org/"
455
+ Content-Type: text/xml; charset=utf-8
456
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
457
+ Date: Sat Jul 23 22:13:58 JST 2005
458
+ Content-Length: 684
459
+ Host: www.whitemesa.net
460
+
461
+ <?xml version="1.0" encoding="utf-8" ?>
462
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
463
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
464
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
465
+ <env:Body>
466
+ <n1:echoStringArray xmlns:n1="http://soapinterop.org/"
467
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
468
+ <inputStringArray n2:arrayType="xsd:string[3]"
469
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
470
+ xsi:type="n2:Array">
471
+ <item>SOAP4R
472
+ </item>
473
+ <item> Interoperability </item>
474
+ <item> Test </item>
475
+ </inputStringArray>
476
+ </n1:echoStringArray>
477
+ </env:Body>
478
+ </env:Envelope>
479
+
480
+ = Response
481
+
482
+ HTTP/1.1 200 OK
483
+ Date: Sat, 23 Jul 2005 13:28:00 GMT
484
+ Server: WhiteMesa SOAP Server/3.2
485
+ Content-Type: text/xml; charset="utf-8"
486
+ Content-Length: 571
487
+ Connection: close
488
+
489
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:string[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://www.w3.org/2001/XMLSchema"><item>SOAP4R
490
+ </item><item> Interoperability </item><item> Test </item></return></m:echoStringArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
491
+
492
+
493
+
494
+ ##########
495
+ # echoStringArray (multi-ref)
496
+
497
+ Result: OK
498
+
499
+ Wire dump:
500
+
501
+ = Request
502
+
503
+ ! CONNECTION ESTABLISHED
504
+ POST /interop/std HTTP/1.1
505
+ SOAPAction: "http://soapinterop.org/"
506
+ Content-Type: text/xml; charset=utf-8
507
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
508
+ Date: Sat Jul 23 22:13:59 JST 2005
509
+ Content-Length: 843
510
+ Host: www.whitemesa.net
511
+
512
+ <?xml version="1.0" encoding="utf-8" ?>
513
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
514
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
515
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
516
+ <env:Body>
517
+ <n1:echoStringArray xmlns:n1="http://soapinterop.org/"
518
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
519
+ <inputStringArray n2:arrayType="xsd:string[3]"
520
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
521
+ xsi:type="n2:Array">
522
+ <item href="#id-605563764"></item>
523
+ <item>SOAP4R</item>
524
+ <item href="#id-605563764"></item>
525
+ </inputStringArray>
526
+ </n1:echoStringArray>
527
+ <item id="id-605563764"
528
+ xsi:type="xsd:string"
529
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">SOAP4R</item>
530
+ </env:Body>
531
+ </env:Envelope>
532
+
533
+ = Response
534
+
535
+ HTTP/1.1 200 OK
536
+ Date: Sat, 23 Jul 2005 13:28:01 GMT
537
+ Server: WhiteMesa SOAP Server/3.2
538
+ Content-Type: text/xml; charset="utf-8"
539
+ Content-Length: 558
540
+ Connection: close
541
+
542
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:string[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://www.w3.org/2001/XMLSchema"><item>SOAP4R</item><item>SOAP4R</item><item>SOAP4R</item></return></m:echoStringArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
543
+
544
+
545
+
546
+ ##########
547
+ # echoStringArray (multi-ref: elem1 == elem3)
548
+
549
+ Result: Expected = "String#-605604574" // Actual = "String#-605605854"
550
+
551
+ Wire dump:
552
+
553
+ = Request
554
+
555
+ ! CONNECTION ESTABLISHED
556
+ POST /interop/std HTTP/1.1
557
+ SOAPAction: "http://soapinterop.org/"
558
+ Content-Type: text/xml; charset=utf-8
559
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
560
+ Date: Sat Jul 23 22:14:00 JST 2005
561
+ Content-Length: 843
562
+ Host: www.whitemesa.net
563
+
564
+ <?xml version="1.0" encoding="utf-8" ?>
565
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
566
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
567
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
568
+ <env:Body>
569
+ <n1:echoStringArray xmlns:n1="http://soapinterop.org/"
570
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
571
+ <inputStringArray n2:arrayType="xsd:string[3]"
572
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
573
+ xsi:type="n2:Array">
574
+ <item href="#id-605581444"></item>
575
+ <item>SOAP4R</item>
576
+ <item href="#id-605581444"></item>
577
+ </inputStringArray>
578
+ </n1:echoStringArray>
579
+ <item id="id-605581444"
580
+ xsi:type="xsd:string"
581
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">SOAP4R</item>
582
+ </env:Body>
583
+ </env:Envelope>
584
+
585
+ = Response
586
+
587
+ HTTP/1.1 200 OK
588
+ Date: Sat, 23 Jul 2005 13:28:02 GMT
589
+ Server: WhiteMesa SOAP Server/3.2
590
+ Content-Type: text/xml; charset="utf-8"
591
+ Content-Length: 558
592
+ Connection: close
593
+
594
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:string[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://www.w3.org/2001/XMLSchema"><item>SOAP4R</item><item>SOAP4R</item><item>SOAP4R</item></return></m:echoStringArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
595
+
596
+
597
+
598
+ ##########
599
+ # echoStringArray (empty, multi-ref: elem1 == elem3)
600
+
601
+ Result: Expected = "String#-605660304" // Actual = "String#-605662474"
602
+
603
+ Wire dump:
604
+
605
+ = Request
606
+
607
+ ! CONNECTION ESTABLISHED
608
+ POST /interop/std HTTP/1.1
609
+ SOAPAction: "http://soapinterop.org/"
610
+ Content-Type: text/xml; charset=utf-8
611
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
612
+ Date: Sat Jul 23 22:14:01 JST 2005
613
+ Content-Length: 831
614
+ Host: www.whitemesa.net
615
+
616
+ <?xml version="1.0" encoding="utf-8" ?>
617
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
618
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
619
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
620
+ <env:Body>
621
+ <n1:echoStringArray xmlns:n1="http://soapinterop.org/"
622
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
623
+ <inputStringArray n2:arrayType="xsd:string[3]"
624
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
625
+ xsi:type="n2:Array">
626
+ <item href="#id-605612944"></item>
627
+ <item></item>
628
+ <item href="#id-605612944"></item>
629
+ </inputStringArray>
630
+ </n1:echoStringArray>
631
+ <item id="id-605612944"
632
+ xsi:type="xsd:string"
633
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"></item>
634
+ </env:Body>
635
+ </env:Envelope>
636
+
637
+ = Response
638
+
639
+ HTTP/1.1 200 OK
640
+ Date: Sat, 23 Jul 2005 13:28:03 GMT
641
+ Server: WhiteMesa SOAP Server/3.2
642
+ Content-Type: text/xml; charset="utf-8"
643
+ Content-Length: 525
644
+ Connection: close
645
+
646
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStringArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:string[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://www.w3.org/2001/XMLSchema"><item /><item /><item /></return></m:echoStringArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
647
+
648
+
649
+
650
+ ##########
651
+ # echoInteger (Int: 123)
652
+
653
+ Result: Expected = 123 // Actual = "123"
654
+
655
+ Wire dump:
656
+
657
+ = Request
658
+
659
+ ! CONNECTION ESTABLISHED
660
+ POST /interop/std HTTP/1.1
661
+ SOAPAction: "http://soapinterop.org/"
662
+ Content-Type: text/xml; charset=utf-8
663
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
664
+ Date: Sat Jul 23 22:14:02 JST 2005
665
+ Content-Length: 464
666
+ Host: www.whitemesa.net
667
+
668
+ <?xml version="1.0" encoding="utf-8" ?>
669
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
670
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
671
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
672
+ <env:Body>
673
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
674
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
675
+ <inputInteger xsi:type="xsd:int">123</inputInteger>
676
+ </n1:echoInteger>
677
+ </env:Body>
678
+ </env:Envelope>
679
+
680
+ = Response
681
+
682
+ HTTP/1.1 200 OK
683
+ Date: Sat, 23 Jul 2005 13:28:04 GMT
684
+ Server: WhiteMesa SOAP Server/3.2
685
+ Content-Type: text/xml; charset="utf-8"
686
+ Content-Length: 335
687
+ Connection: close
688
+
689
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoIntegerResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>123</return></m:echoIntegerResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
690
+
691
+
692
+
693
+ ##########
694
+ # echoInteger (Int: 2147483647)
695
+
696
+ Result: Expected = 2147483647 // Actual = "2147483647"
697
+
698
+ Wire dump:
699
+
700
+ = Request
701
+
702
+ ! CONNECTION ESTABLISHED
703
+ POST /interop/std HTTP/1.1
704
+ SOAPAction: "http://soapinterop.org/"
705
+ Content-Type: text/xml; charset=utf-8
706
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
707
+ Date: Sat Jul 23 22:14:03 JST 2005
708
+ Content-Length: 471
709
+ Host: www.whitemesa.net
710
+
711
+ <?xml version="1.0" encoding="utf-8" ?>
712
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
713
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
714
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
715
+ <env:Body>
716
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
717
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
718
+ <inputInteger xsi:type="xsd:int">2147483647</inputInteger>
719
+ </n1:echoInteger>
720
+ </env:Body>
721
+ </env:Envelope>
722
+
723
+ = Response
724
+
725
+ HTTP/1.1 200 OK
726
+ Date: Sat, 23 Jul 2005 13:28:05 GMT
727
+ Server: WhiteMesa SOAP Server/3.2
728
+ Content-Type: text/xml; charset="utf-8"
729
+ Content-Length: 342
730
+ Connection: close
731
+
732
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoIntegerResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2147483647</return></m:echoIntegerResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
733
+
734
+
735
+
736
+ ##########
737
+ # echoInteger (Int: -2147483648)
738
+
739
+ Result: Expected = -2147483648 // Actual = "-2147483648"
740
+
741
+ Wire dump:
742
+
743
+ = Request
744
+
745
+ ! CONNECTION ESTABLISHED
746
+ POST /interop/std HTTP/1.1
747
+ SOAPAction: "http://soapinterop.org/"
748
+ Content-Type: text/xml; charset=utf-8
749
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
750
+ Date: Sat Jul 23 22:14:04 JST 2005
751
+ Content-Length: 472
752
+ Host: www.whitemesa.net
753
+
754
+ <?xml version="1.0" encoding="utf-8" ?>
755
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
756
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
757
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
758
+ <env:Body>
759
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
760
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
761
+ <inputInteger xsi:type="xsd:int">-2147483648</inputInteger>
762
+ </n1:echoInteger>
763
+ </env:Body>
764
+ </env:Envelope>
765
+
766
+ = Response
767
+
768
+ HTTP/1.1 200 OK
769
+ Date: Sat, 23 Jul 2005 13:28:05 GMT
770
+ Server: WhiteMesa SOAP Server/3.2
771
+ Content-Type: text/xml; charset="utf-8"
772
+ Content-Length: 343
773
+ Connection: close
774
+
775
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoIntegerResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>-2147483648</return></m:echoIntegerResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
776
+
777
+
778
+
779
+ ##########
780
+ # echoInteger (2147483648: junk)
781
+
782
+ Result: OK
783
+
784
+ Wire dump:
785
+
786
+ = Request
787
+
788
+ ! CONNECTION ESTABLISHED
789
+ POST /interop/std HTTP/1.1
790
+ SOAPAction: "http://soapinterop.org/"
791
+ Content-Type: text/xml; charset=utf-8
792
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
793
+ Date: Sat Jul 23 22:14:05 JST 2005
794
+ Content-Length: 471
795
+ Host: www.whitemesa.net
796
+
797
+ <?xml version="1.0" encoding="utf-8" ?>
798
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
799
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
800
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
801
+ <env:Body>
802
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
803
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
804
+ <inputInteger xsi:type="xsd:int">2147483648</inputInteger>
805
+ </n1:echoInteger>
806
+ </env:Body>
807
+ </env:Envelope>
808
+
809
+ = Response
810
+
811
+ HTTP/1.1 500 Internal Server Error
812
+ Date: Sat, 23 Jul 2005 13:28:06 GMT
813
+ Server: WhiteMesa SOAP Server/3.2
814
+ Content-Type: text/xml; charset="utf-8"
815
+ Content-Length: 395
816
+ Connection: close
817
+
818
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputInteger'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
819
+
820
+
821
+
822
+ ##########
823
+ # echoInteger (-2147483649: junk)
824
+
825
+ Result: OK
826
+
827
+ Wire dump:
828
+
829
+ = Request
830
+
831
+ ! CONNECTION ESTABLISHED
832
+ POST /interop/std HTTP/1.1
833
+ SOAPAction: "http://soapinterop.org/"
834
+ Content-Type: text/xml; charset=utf-8
835
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
836
+ Date: Sat Jul 23 22:14:06 JST 2005
837
+ Content-Length: 472
838
+ Host: www.whitemesa.net
839
+
840
+ <?xml version="1.0" encoding="utf-8" ?>
841
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
842
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
843
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
844
+ <env:Body>
845
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
846
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
847
+ <inputInteger xsi:type="xsd:int">-2147483649</inputInteger>
848
+ </n1:echoInteger>
849
+ </env:Body>
850
+ </env:Envelope>
851
+
852
+ = Response
853
+
854
+ HTTP/1.1 500 Internal Server Error
855
+ Date: Sat, 23 Jul 2005 13:28:07 GMT
856
+ Server: WhiteMesa SOAP Server/3.2
857
+ Content-Type: text/xml; charset="utf-8"
858
+ Content-Length: 395
859
+ Connection: close
860
+
861
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputInteger'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
862
+
863
+
864
+
865
+ ##########
866
+ # echoInteger (0.0: junk)
867
+
868
+ Result: Expected = "Fault" // Actual = "No error occurred."
869
+
870
+ Wire dump:
871
+
872
+ = Request
873
+
874
+ ! CONNECTION ESTABLISHED
875
+ POST /interop/std HTTP/1.1
876
+ SOAPAction: "http://soapinterop.org/"
877
+ Content-Type: text/xml; charset=utf-8
878
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
879
+ Date: Sat Jul 23 22:14:07 JST 2005
880
+ Content-Length: 464
881
+ Host: www.whitemesa.net
882
+
883
+ <?xml version="1.0" encoding="utf-8" ?>
884
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
885
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
886
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
887
+ <env:Body>
888
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
889
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
890
+ <inputInteger xsi:type="xsd:int">0.0</inputInteger>
891
+ </n1:echoInteger>
892
+ </env:Body>
893
+ </env:Envelope>
894
+
895
+ = Response
896
+
897
+ HTTP/1.1 200 OK
898
+ Date: Sat, 23 Jul 2005 13:28:08 GMT
899
+ Server: WhiteMesa SOAP Server/3.2
900
+ Content-Type: text/xml; charset="utf-8"
901
+ Content-Length: 333
902
+ Connection: close
903
+
904
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoIntegerResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>0</return></m:echoIntegerResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
905
+
906
+
907
+
908
+ ##########
909
+ # echoInteger (-5.2: junk)
910
+
911
+ Result: Expected = "Fault" // Actual = "No error occurred."
912
+
913
+ Wire dump:
914
+
915
+ = Request
916
+
917
+ ! CONNECTION ESTABLISHED
918
+ POST /interop/std HTTP/1.1
919
+ SOAPAction: "http://soapinterop.org/"
920
+ Content-Type: text/xml; charset=utf-8
921
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
922
+ Date: Sat Jul 23 22:14:08 JST 2005
923
+ Content-Length: 465
924
+ Host: www.whitemesa.net
925
+
926
+ <?xml version="1.0" encoding="utf-8" ?>
927
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
928
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
929
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
930
+ <env:Body>
931
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
932
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
933
+ <inputInteger xsi:type="xsd:int">-5.2</inputInteger>
934
+ </n1:echoInteger>
935
+ </env:Body>
936
+ </env:Envelope>
937
+
938
+ = Response
939
+
940
+ HTTP/1.1 200 OK
941
+ Date: Sat, 23 Jul 2005 13:28:09 GMT
942
+ Server: WhiteMesa SOAP Server/3.2
943
+ Content-Type: text/xml; charset="utf-8"
944
+ Content-Length: 334
945
+ Connection: close
946
+
947
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoIntegerResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>-5</return></m:echoIntegerResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
948
+
949
+
950
+
951
+ ##########
952
+ # echoInteger (0.000000000a: junk)
953
+
954
+ Result: OK
955
+
956
+ Wire dump:
957
+
958
+ = Request
959
+
960
+ ! CONNECTION ESTABLISHED
961
+ POST /interop/std HTTP/1.1
962
+ SOAPAction: "http://soapinterop.org/"
963
+ Content-Type: text/xml; charset=utf-8
964
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
965
+ Date: Sat Jul 23 22:14:08 JST 2005
966
+ Content-Length: 473
967
+ Host: www.whitemesa.net
968
+
969
+ <?xml version="1.0" encoding="utf-8" ?>
970
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
971
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
972
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
973
+ <env:Body>
974
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
975
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
976
+ <inputInteger xsi:type="xsd:int">0.000000000a</inputInteger>
977
+ </n1:echoInteger>
978
+ </env:Body>
979
+ </env:Envelope>
980
+
981
+ = Response
982
+
983
+ HTTP/1.1 500 Internal Server Error
984
+ Date: Sat, 23 Jul 2005 13:28:10 GMT
985
+ Server: WhiteMesa SOAP Server/3.2
986
+ Content-Type: text/xml; charset="utf-8"
987
+ Content-Length: 395
988
+ Connection: close
989
+
990
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputInteger'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
991
+
992
+
993
+
994
+ ##########
995
+ # echoInteger (+-5: junk)
996
+
997
+ Result: OK
998
+
999
+ Wire dump:
1000
+
1001
+ = Request
1002
+
1003
+ ! CONNECTION ESTABLISHED
1004
+ POST /interop/std HTTP/1.1
1005
+ SOAPAction: "http://soapinterop.org/"
1006
+ Content-Type: text/xml; charset=utf-8
1007
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1008
+ Date: Sat Jul 23 22:14:09 JST 2005
1009
+ Content-Length: 464
1010
+ Host: www.whitemesa.net
1011
+
1012
+ <?xml version="1.0" encoding="utf-8" ?>
1013
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1014
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1015
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1016
+ <env:Body>
1017
+ <n1:echoInteger xmlns:n1="http://soapinterop.org/"
1018
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1019
+ <inputInteger xsi:type="xsd:int">+-5</inputInteger>
1020
+ </n1:echoInteger>
1021
+ </env:Body>
1022
+ </env:Envelope>
1023
+
1024
+ = Response
1025
+
1026
+ HTTP/1.1 500 Internal Server Error
1027
+ Date: Sat, 23 Jul 2005 13:28:11 GMT
1028
+ Server: WhiteMesa SOAP Server/3.2
1029
+ Content-Type: text/xml; charset="utf-8"
1030
+ Content-Length: 395
1031
+ Connection: close
1032
+
1033
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputInteger'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1034
+
1035
+
1036
+
1037
+ ##########
1038
+ # echoIntegerArray
1039
+
1040
+ Result: OK
1041
+
1042
+ Wire dump:
1043
+
1044
+ = Request
1045
+
1046
+ ! CONNECTION ESTABLISHED
1047
+ POST /interop/std HTTP/1.1
1048
+ SOAPAction: "http://soapinterop.org/"
1049
+ Content-Type: text/xml; charset=utf-8
1050
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1051
+ Date: Sat Jul 23 22:14:10 JST 2005
1052
+ Content-Length: 657
1053
+ Host: www.whitemesa.net
1054
+
1055
+ <?xml version="1.0" encoding="utf-8" ?>
1056
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1057
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1058
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1059
+ <env:Body>
1060
+ <n1:echoIntegerArray xmlns:n1="http://soapinterop.org/"
1061
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1062
+ <inputIntegerArray n2:arrayType="xsd:int[3]"
1063
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
1064
+ xsi:type="n2:Array">
1065
+ <item>1</item>
1066
+ <item>2</item>
1067
+ <item>3</item>
1068
+ </inputIntegerArray>
1069
+ </n1:echoIntegerArray>
1070
+ </env:Body>
1071
+ </env:Envelope>
1072
+
1073
+ = Response
1074
+
1075
+ HTTP/1.1 200 OK
1076
+ Date: Sat, 23 Jul 2005 13:28:12 GMT
1077
+ Server: WhiteMesa SOAP Server/3.2
1078
+ Content-Type: text/xml; charset="utf-8"
1079
+ Content-Length: 542
1080
+ Connection: close
1081
+
1082
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoIntegerArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:int[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://www.w3.org/2001/XMLSchema"><item>1</item><item>2</item><item>3</item></return></m:echoIntegerArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1083
+
1084
+
1085
+
1086
+ ##########
1087
+ # echoIntegerArray (empty)
1088
+
1089
+ Result: OK
1090
+
1091
+ Wire dump:
1092
+
1093
+ = Request
1094
+
1095
+ ! CONNECTION ESTABLISHED
1096
+ POST /interop/std HTTP/1.1
1097
+ SOAPAction: "http://soapinterop.org/"
1098
+ Content-Type: text/xml; charset=utf-8
1099
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1100
+ Date: Sat Jul 23 22:14:11 JST 2005
1101
+ Content-Length: 588
1102
+ Host: www.whitemesa.net
1103
+
1104
+ <?xml version="1.0" encoding="utf-8" ?>
1105
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1106
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1107
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1108
+ <env:Body>
1109
+ <n1:echoIntegerArray xmlns:n1="http://soapinterop.org/"
1110
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1111
+ <inputIntegerArray n2:arrayType="xsd:int[0]"
1112
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
1113
+ xsi:type="n2:Array">
1114
+ </inputIntegerArray>
1115
+ </n1:echoIntegerArray>
1116
+ </env:Body>
1117
+ </env:Envelope>
1118
+
1119
+ = Response
1120
+
1121
+ HTTP/1.1 200 OK
1122
+ Date: Sat, 23 Jul 2005 13:28:13 GMT
1123
+ Server: WhiteMesa SOAP Server/3.2
1124
+ Content-Type: text/xml; charset="utf-8"
1125
+ Content-Length: 493
1126
+ Connection: close
1127
+
1128
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoIntegerArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:int[0]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://www.w3.org/2001/XMLSchema" /></m:echoIntegerArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1129
+
1130
+
1131
+
1132
+ ##########
1133
+ # echoFloat
1134
+
1135
+ Result: Expected = 3.14159265358979 // Actual = "3.141593"
1136
+
1137
+ Wire dump:
1138
+
1139
+ = Request
1140
+
1141
+ ! CONNECTION ESTABLISHED
1142
+ POST /interop/std HTTP/1.1
1143
+ SOAPAction: "http://soapinterop.org/"
1144
+ Content-Type: text/xml; charset=utf-8
1145
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1146
+ Date: Sat Jul 23 22:14:12 JST 2005
1147
+ Content-Length: 467
1148
+ Host: www.whitemesa.net
1149
+
1150
+ <?xml version="1.0" encoding="utf-8" ?>
1151
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1152
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1153
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1154
+ <env:Body>
1155
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1156
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1157
+ <inputFloat xsi:type="xsd:float">+3.141592654</inputFloat>
1158
+ </n1:echoFloat>
1159
+ </env:Body>
1160
+ </env:Envelope>
1161
+
1162
+ = Response
1163
+
1164
+ HTTP/1.1 200 OK
1165
+ Date: Sat, 23 Jul 2005 13:28:14 GMT
1166
+ Server: WhiteMesa SOAP Server/3.2
1167
+ Content-Type: text/xml; charset="utf-8"
1168
+ Content-Length: 336
1169
+ Connection: close
1170
+
1171
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>3.141593</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1172
+
1173
+
1174
+
1175
+ ##########
1176
+ # echoFloat (scientific notation)
1177
+
1178
+ Result: Expected = 1.234e+37 // Actual = "1.234E+37"
1179
+
1180
+ Wire dump:
1181
+
1182
+ = Request
1183
+
1184
+ ! CONNECTION ESTABLISHED
1185
+ POST /interop/std HTTP/1.1
1186
+ SOAPAction: "http://soapinterop.org/"
1187
+ Content-Type: text/xml; charset=utf-8
1188
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1189
+ Date: Sat Jul 23 22:14:13 JST 2005
1190
+ Content-Length: 465
1191
+ Host: www.whitemesa.net
1192
+
1193
+ <?xml version="1.0" encoding="utf-8" ?>
1194
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1195
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1196
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1197
+ <env:Body>
1198
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1199
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1200
+ <inputFloat xsi:type="xsd:float">+1.234e+37</inputFloat>
1201
+ </n1:echoFloat>
1202
+ </env:Body>
1203
+ </env:Envelope>
1204
+
1205
+ = Response
1206
+
1207
+ HTTP/1.1 200 OK
1208
+ Date: Sat, 23 Jul 2005 13:28:15 GMT
1209
+ Server: WhiteMesa SOAP Server/3.2
1210
+ Content-Type: text/xml; charset="utf-8"
1211
+ Content-Length: 337
1212
+ Connection: close
1213
+
1214
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>1.234E+37</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1215
+
1216
+
1217
+
1218
+ ##########
1219
+ # echoFloat (scientific notation 2)
1220
+
1221
+ Result: Expected = 1.234e+37 // Actual = "1.234E+37"
1222
+
1223
+ Wire dump:
1224
+
1225
+ = Request
1226
+
1227
+ ! CONNECTION ESTABLISHED
1228
+ POST /interop/std HTTP/1.1
1229
+ SOAPAction: "http://soapinterop.org/"
1230
+ Content-Type: text/xml; charset=utf-8
1231
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1232
+ Date: Sat Jul 23 22:14:17 JST 2005
1233
+ Content-Length: 465
1234
+ Host: www.whitemesa.net
1235
+
1236
+ <?xml version="1.0" encoding="utf-8" ?>
1237
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1238
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1239
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1240
+ <env:Body>
1241
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1242
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1243
+ <inputFloat xsi:type="xsd:float">+1.234e+37</inputFloat>
1244
+ </n1:echoFloat>
1245
+ </env:Body>
1246
+ </env:Envelope>
1247
+
1248
+ = Response
1249
+
1250
+ HTTP/1.1 200 OK
1251
+ Date: Sat, 23 Jul 2005 13:28:19 GMT
1252
+ Server: WhiteMesa SOAP Server/3.2
1253
+ Content-Type: text/xml; charset="utf-8"
1254
+ Content-Length: 337
1255
+ Connection: close
1256
+
1257
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>1.234E+37</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1258
+
1259
+
1260
+
1261
+ ##########
1262
+ # echoFloat (scientific notation 3)
1263
+
1264
+ Result: Expected = 1.234e+37 // Actual = "1.234E+37"
1265
+
1266
+ Wire dump:
1267
+
1268
+ = Request
1269
+
1270
+ ! CONNECTION ESTABLISHED
1271
+ POST /interop/std HTTP/1.1
1272
+ SOAPAction: "http://soapinterop.org/"
1273
+ Content-Type: text/xml; charset=utf-8
1274
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1275
+ Date: Sat Jul 23 22:14:18 JST 2005
1276
+ Content-Length: 465
1277
+ Host: www.whitemesa.net
1278
+
1279
+ <?xml version="1.0" encoding="utf-8" ?>
1280
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1281
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1282
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1283
+ <env:Body>
1284
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1285
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1286
+ <inputFloat xsi:type="xsd:float">+1.234e+37</inputFloat>
1287
+ </n1:echoFloat>
1288
+ </env:Body>
1289
+ </env:Envelope>
1290
+
1291
+ = Response
1292
+
1293
+ HTTP/1.1 200 OK
1294
+ Date: Sat, 23 Jul 2005 13:28:20 GMT
1295
+ Server: WhiteMesa SOAP Server/3.2
1296
+ Content-Type: text/xml; charset="utf-8"
1297
+ Content-Length: 337
1298
+ Connection: close
1299
+
1300
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>1.234E+37</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1301
+
1302
+
1303
+
1304
+ ##########
1305
+ # echoFloat (scientific notation 4)
1306
+
1307
+ Result: Expected = 1.4 // Actual = "-1.4"
1308
+
1309
+ Wire dump:
1310
+
1311
+ = Request
1312
+
1313
+ ! CONNECTION ESTABLISHED
1314
+ POST /interop/std HTTP/1.1
1315
+ SOAPAction: "http://soapinterop.org/"
1316
+ Content-Type: text/xml; charset=utf-8
1317
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1318
+ Date: Sat Jul 23 22:14:19 JST 2005
1319
+ Content-Length: 459
1320
+ Host: www.whitemesa.net
1321
+
1322
+ <?xml version="1.0" encoding="utf-8" ?>
1323
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1324
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1325
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1326
+ <env:Body>
1327
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1328
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1329
+ <inputFloat xsi:type="xsd:float">-1.4</inputFloat>
1330
+ </n1:echoFloat>
1331
+ </env:Body>
1332
+ </env:Envelope>
1333
+
1334
+ = Response
1335
+
1336
+ HTTP/1.1 200 OK
1337
+ Date: Sat, 23 Jul 2005 13:28:21 GMT
1338
+ Server: WhiteMesa SOAP Server/3.2
1339
+ Content-Type: text/xml; charset="utf-8"
1340
+ Content-Length: 332
1341
+ Connection: close
1342
+
1343
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>-1.4</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1344
+
1345
+
1346
+
1347
+ ##########
1348
+ # echoFloat (positive lower boundary)
1349
+
1350
+ Result: Expected = 1.4e-45 // Actual = "0"
1351
+
1352
+ Wire dump:
1353
+
1354
+ = Request
1355
+
1356
+ ! CONNECTION ESTABLISHED
1357
+ POST /interop/std HTTP/1.1
1358
+ SOAPAction: "http://soapinterop.org/"
1359
+ Content-Type: text/xml; charset=utf-8
1360
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1361
+ Date: Sat Jul 23 22:14:20 JST 2005
1362
+ Content-Length: 457
1363
+ Host: www.whitemesa.net
1364
+
1365
+ <?xml version="1.0" encoding="utf-8" ?>
1366
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1367
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1368
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1369
+ <env:Body>
1370
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1371
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1372
+ <inputFloat xsi:type="xsd:float">+0</inputFloat>
1373
+ </n1:echoFloat>
1374
+ </env:Body>
1375
+ </env:Envelope>
1376
+
1377
+ = Response
1378
+
1379
+ HTTP/1.1 200 OK
1380
+ Date: Sat, 23 Jul 2005 13:28:22 GMT
1381
+ Server: WhiteMesa SOAP Server/3.2
1382
+ Content-Type: text/xml; charset="utf-8"
1383
+ Content-Length: 329
1384
+ Connection: close
1385
+
1386
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>0</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1387
+
1388
+
1389
+
1390
+ ##########
1391
+ # echoFloat (negative lower boundary)
1392
+
1393
+ Result: Expected = -1.4e-45 // Actual = "0"
1394
+
1395
+ Wire dump:
1396
+
1397
+ = Request
1398
+
1399
+ ! CONNECTION ESTABLISHED
1400
+ POST /interop/std HTTP/1.1
1401
+ SOAPAction: "http://soapinterop.org/"
1402
+ Content-Type: text/xml; charset=utf-8
1403
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1404
+ Date: Sat Jul 23 22:14:21 JST 2005
1405
+ Content-Length: 457
1406
+ Host: www.whitemesa.net
1407
+
1408
+ <?xml version="1.0" encoding="utf-8" ?>
1409
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1410
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1411
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1412
+ <env:Body>
1413
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1414
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1415
+ <inputFloat xsi:type="xsd:float">-0</inputFloat>
1416
+ </n1:echoFloat>
1417
+ </env:Body>
1418
+ </env:Envelope>
1419
+
1420
+ = Response
1421
+
1422
+ HTTP/1.1 200 OK
1423
+ Date: Sat, 23 Jul 2005 13:28:23 GMT
1424
+ Server: WhiteMesa SOAP Server/3.2
1425
+ Content-Type: text/xml; charset="utf-8"
1426
+ Content-Length: 329
1427
+ Connection: close
1428
+
1429
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>0</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1430
+
1431
+
1432
+
1433
+ ##########
1434
+ # echoFloat (special values: +0)
1435
+
1436
+ Result: Expected = 0.0 // Actual = "0"
1437
+
1438
+ Wire dump:
1439
+
1440
+ = Request
1441
+
1442
+ ! CONNECTION ESTABLISHED
1443
+ POST /interop/std HTTP/1.1
1444
+ SOAPAction: "http://soapinterop.org/"
1445
+ Content-Type: text/xml; charset=utf-8
1446
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1447
+ Date: Sat Jul 23 22:14:22 JST 2005
1448
+ Content-Length: 457
1449
+ Host: www.whitemesa.net
1450
+
1451
+ <?xml version="1.0" encoding="utf-8" ?>
1452
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1453
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1454
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1455
+ <env:Body>
1456
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1457
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1458
+ <inputFloat xsi:type="xsd:float">+0</inputFloat>
1459
+ </n1:echoFloat>
1460
+ </env:Body>
1461
+ </env:Envelope>
1462
+
1463
+ = Response
1464
+
1465
+ HTTP/1.1 200 OK
1466
+ Date: Sat, 23 Jul 2005 13:28:23 GMT
1467
+ Server: WhiteMesa SOAP Server/3.2
1468
+ Content-Type: text/xml; charset="utf-8"
1469
+ Content-Length: 329
1470
+ Connection: close
1471
+
1472
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>0</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1473
+
1474
+
1475
+
1476
+ ##########
1477
+ # echoFloat (special values: -0)
1478
+
1479
+ Result: Expected = -0.0 // Actual = "0"
1480
+
1481
+ Wire dump:
1482
+
1483
+ = Request
1484
+
1485
+ ! CONNECTION ESTABLISHED
1486
+ POST /interop/std HTTP/1.1
1487
+ SOAPAction: "http://soapinterop.org/"
1488
+ Content-Type: text/xml; charset=utf-8
1489
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1490
+ Date: Sat Jul 23 22:14:23 JST 2005
1491
+ Content-Length: 457
1492
+ Host: www.whitemesa.net
1493
+
1494
+ <?xml version="1.0" encoding="utf-8" ?>
1495
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1496
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1497
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1498
+ <env:Body>
1499
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1500
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1501
+ <inputFloat xsi:type="xsd:float">-0</inputFloat>
1502
+ </n1:echoFloat>
1503
+ </env:Body>
1504
+ </env:Envelope>
1505
+
1506
+ = Response
1507
+
1508
+ HTTP/1.1 200 OK
1509
+ Date: Sat, 23 Jul 2005 13:28:24 GMT
1510
+ Server: WhiteMesa SOAP Server/3.2
1511
+ Content-Type: text/xml; charset="utf-8"
1512
+ Content-Length: 329
1513
+ Connection: close
1514
+
1515
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>0</return></m:echoFloatResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1516
+
1517
+
1518
+
1519
+ ##########
1520
+ # echoFloat (special values: NaN)
1521
+
1522
+ Result: Exception: Encountered improperly serialized built-in type accessor: 'inputFloat'. (SOAP::FaultError)
1523
+ #<SOAP::Mapping::Object:0xb7d0d6bc>
1524
+
1525
+ Wire dump:
1526
+
1527
+ = Request
1528
+
1529
+ ! CONNECTION ESTABLISHED
1530
+ POST /interop/std HTTP/1.1
1531
+ SOAPAction: "http://soapinterop.org/"
1532
+ Content-Type: text/xml; charset=utf-8
1533
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1534
+ Date: Sat Jul 23 22:14:24 JST 2005
1535
+ Content-Length: 458
1536
+ Host: www.whitemesa.net
1537
+
1538
+ <?xml version="1.0" encoding="utf-8" ?>
1539
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1540
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1541
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1542
+ <env:Body>
1543
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1544
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1545
+ <inputFloat xsi:type="xsd:float">NaN</inputFloat>
1546
+ </n1:echoFloat>
1547
+ </env:Body>
1548
+ </env:Envelope>
1549
+
1550
+ = Response
1551
+
1552
+ HTTP/1.1 500 Internal Server Error
1553
+ Date: Sat, 23 Jul 2005 13:28:25 GMT
1554
+ Server: WhiteMesa SOAP Server/3.2
1555
+ Content-Type: text/xml; charset="utf-8"
1556
+ Content-Length: 393
1557
+ Connection: close
1558
+
1559
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputFloat'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1560
+
1561
+
1562
+
1563
+ ##########
1564
+ # echoFloat (special values: INF)
1565
+
1566
+ Result: Exception: Encountered improperly serialized built-in type accessor: 'inputFloat'. (SOAP::FaultError)
1567
+ #<SOAP::Mapping::Object:0xb7cfe090>
1568
+
1569
+ Wire dump:
1570
+
1571
+ = Request
1572
+
1573
+ ! CONNECTION ESTABLISHED
1574
+ POST /interop/std HTTP/1.1
1575
+ SOAPAction: "http://soapinterop.org/"
1576
+ Content-Type: text/xml; charset=utf-8
1577
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1578
+ Date: Sat Jul 23 22:14:25 JST 2005
1579
+ Content-Length: 458
1580
+ Host: www.whitemesa.net
1581
+
1582
+ <?xml version="1.0" encoding="utf-8" ?>
1583
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1584
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1585
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1586
+ <env:Body>
1587
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1588
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1589
+ <inputFloat xsi:type="xsd:float">INF</inputFloat>
1590
+ </n1:echoFloat>
1591
+ </env:Body>
1592
+ </env:Envelope>
1593
+
1594
+ = Response
1595
+
1596
+ HTTP/1.1 500 Internal Server Error
1597
+ Date: Sat, 23 Jul 2005 13:28:26 GMT
1598
+ Server: WhiteMesa SOAP Server/3.2
1599
+ Content-Type: text/xml; charset="utf-8"
1600
+ Content-Length: 393
1601
+ Connection: close
1602
+
1603
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputFloat'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1604
+
1605
+
1606
+
1607
+ ##########
1608
+ # echoFloat (special values: -INF)
1609
+
1610
+ Result: Exception: Encountered improperly serialized built-in type accessor: 'inputFloat'. (SOAP::FaultError)
1611
+ #<SOAP::Mapping::Object:0xb7cf7704>
1612
+
1613
+ Wire dump:
1614
+
1615
+ = Request
1616
+
1617
+ ! CONNECTION ESTABLISHED
1618
+ POST /interop/std HTTP/1.1
1619
+ SOAPAction: "http://soapinterop.org/"
1620
+ Content-Type: text/xml; charset=utf-8
1621
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1622
+ Date: Sat Jul 23 22:14:25 JST 2005
1623
+ Content-Length: 459
1624
+ Host: www.whitemesa.net
1625
+
1626
+ <?xml version="1.0" encoding="utf-8" ?>
1627
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1628
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1629
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1630
+ <env:Body>
1631
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1632
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1633
+ <inputFloat xsi:type="xsd:float">-INF</inputFloat>
1634
+ </n1:echoFloat>
1635
+ </env:Body>
1636
+ </env:Envelope>
1637
+
1638
+ = Response
1639
+
1640
+ HTTP/1.1 500 Internal Server Error
1641
+ Date: Sat, 23 Jul 2005 13:28:27 GMT
1642
+ Server: WhiteMesa SOAP Server/3.2
1643
+ Content-Type: text/xml; charset="utf-8"
1644
+ Content-Length: 393
1645
+ Connection: close
1646
+
1647
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputFloat'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1648
+
1649
+
1650
+
1651
+ ##########
1652
+ # echoFloat (0.000a: junk)
1653
+
1654
+ Result: OK
1655
+
1656
+ Wire dump:
1657
+
1658
+ = Request
1659
+
1660
+ ! CONNECTION ESTABLISHED
1661
+ POST /interop/std HTTP/1.1
1662
+ SOAPAction: "http://soapinterop.org/"
1663
+ Content-Type: text/xml; charset=utf-8
1664
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1665
+ Date: Sat Jul 23 22:14:26 JST 2005
1666
+ Content-Length: 474
1667
+ Host: www.whitemesa.net
1668
+
1669
+ <?xml version="1.0" encoding="utf-8" ?>
1670
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1671
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1672
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1673
+ <env:Body>
1674
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1675
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1676
+ <inputFloat xsi:type="xsd:float">0.0000000000000000a</inputFloat>
1677
+ </n1:echoFloat>
1678
+ </env:Body>
1679
+ </env:Envelope>
1680
+
1681
+ = Response
1682
+
1683
+ HTTP/1.1 500 Internal Server Error
1684
+ Date: Sat, 23 Jul 2005 13:28:28 GMT
1685
+ Server: WhiteMesa SOAP Server/3.2
1686
+ Content-Type: text/xml; charset="utf-8"
1687
+ Content-Length: 393
1688
+ Connection: close
1689
+
1690
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputFloat'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1691
+
1692
+
1693
+
1694
+ ##########
1695
+ # echoFloat (00a.0001: junk)
1696
+
1697
+ Result: OK
1698
+
1699
+ Wire dump:
1700
+
1701
+ = Request
1702
+
1703
+ ! CONNECTION ESTABLISHED
1704
+ POST /interop/std HTTP/1.1
1705
+ SOAPAction: "http://soapinterop.org/"
1706
+ Content-Type: text/xml; charset=utf-8
1707
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1708
+ Date: Sat Jul 23 22:14:27 JST 2005
1709
+ Content-Length: 474
1710
+ Host: www.whitemesa.net
1711
+
1712
+ <?xml version="1.0" encoding="utf-8" ?>
1713
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1714
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1715
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1716
+ <env:Body>
1717
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1718
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1719
+ <inputFloat xsi:type="xsd:float">00a.000000000000001</inputFloat>
1720
+ </n1:echoFloat>
1721
+ </env:Body>
1722
+ </env:Envelope>
1723
+
1724
+ = Response
1725
+
1726
+ HTTP/1.1 500 Internal Server Error
1727
+ Date: Sat, 23 Jul 2005 13:28:29 GMT
1728
+ Server: WhiteMesa SOAP Server/3.2
1729
+ Content-Type: text/xml; charset="utf-8"
1730
+ Content-Length: 393
1731
+ Connection: close
1732
+
1733
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputFloat'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1734
+
1735
+
1736
+
1737
+ ##########
1738
+ # echoFloat (+-5: junk)
1739
+
1740
+ Result: OK
1741
+
1742
+ Wire dump:
1743
+
1744
+ = Request
1745
+
1746
+ ! CONNECTION ESTABLISHED
1747
+ POST /interop/std HTTP/1.1
1748
+ SOAPAction: "http://soapinterop.org/"
1749
+ Content-Type: text/xml; charset=utf-8
1750
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1751
+ Date: Sat Jul 23 22:14:28 JST 2005
1752
+ Content-Length: 458
1753
+ Host: www.whitemesa.net
1754
+
1755
+ <?xml version="1.0" encoding="utf-8" ?>
1756
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1757
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1758
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1759
+ <env:Body>
1760
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1761
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1762
+ <inputFloat xsi:type="xsd:float">+-5</inputFloat>
1763
+ </n1:echoFloat>
1764
+ </env:Body>
1765
+ </env:Envelope>
1766
+
1767
+ = Response
1768
+
1769
+ HTTP/1.1 500 Internal Server Error
1770
+ Date: Sat, 23 Jul 2005 13:28:30 GMT
1771
+ Server: WhiteMesa SOAP Server/3.2
1772
+ Content-Type: text/xml; charset="utf-8"
1773
+ Content-Length: 393
1774
+ Connection: close
1775
+
1776
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputFloat'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1777
+
1778
+
1779
+
1780
+ ##########
1781
+ # echoFloat (5_0: junk)
1782
+
1783
+ Result: OK
1784
+
1785
+ Wire dump:
1786
+
1787
+ = Request
1788
+
1789
+ ! CONNECTION ESTABLISHED
1790
+ POST /interop/std HTTP/1.1
1791
+ SOAPAction: "http://soapinterop.org/"
1792
+ Content-Type: text/xml; charset=utf-8
1793
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1794
+ Date: Sat Jul 23 22:14:29 JST 2005
1795
+ Content-Length: 458
1796
+ Host: www.whitemesa.net
1797
+
1798
+ <?xml version="1.0" encoding="utf-8" ?>
1799
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1800
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1801
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1802
+ <env:Body>
1803
+ <n1:echoFloat xmlns:n1="http://soapinterop.org/"
1804
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1805
+ <inputFloat xsi:type="xsd:float">5_0</inputFloat>
1806
+ </n1:echoFloat>
1807
+ </env:Body>
1808
+ </env:Envelope>
1809
+
1810
+ = Response
1811
+
1812
+ HTTP/1.1 500 Internal Server Error
1813
+ Date: Sat, 23 Jul 2005 13:28:30 GMT
1814
+ Server: WhiteMesa SOAP Server/3.2
1815
+ Content-Type: text/xml; charset="utf-8"
1816
+ Content-Length: 393
1817
+ Connection: close
1818
+
1819
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputFloat'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1820
+
1821
+
1822
+
1823
+ ##########
1824
+ # echoFloatArray
1825
+
1826
+ Result: OK
1827
+
1828
+ Wire dump:
1829
+
1830
+ = Request
1831
+
1832
+ ! CONNECTION ESTABLISHED
1833
+ POST /interop/std HTTP/1.1
1834
+ SOAPAction: "http://soapinterop.org/"
1835
+ Content-Type: text/xml; charset=utf-8
1836
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1837
+ Date: Sat Jul 23 22:14:30 JST 2005
1838
+ Content-Length: 662
1839
+ Host: www.whitemesa.net
1840
+
1841
+ <?xml version="1.0" encoding="utf-8" ?>
1842
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1843
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1844
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1845
+ <env:Body>
1846
+ <n1:echoFloatArray xmlns:n1="http://soapinterop.org/"
1847
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1848
+ <inputFloatArray n2:arrayType="xsd:float[3]"
1849
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
1850
+ xsi:type="n2:Array">
1851
+ <item>+0.0001</item>
1852
+ <item>+1000</item>
1853
+ <item>+0</item>
1854
+ </inputFloatArray>
1855
+ </n1:echoFloatArray>
1856
+ </env:Body>
1857
+ </env:Envelope>
1858
+
1859
+ = Response
1860
+
1861
+ HTTP/1.1 200 OK
1862
+ Date: Sat, 23 Jul 2005 13:28:31 GMT
1863
+ Server: WhiteMesa SOAP Server/3.2
1864
+ Content-Type: text/xml; charset="utf-8"
1865
+ Content-Length: 548
1866
+ Connection: close
1867
+
1868
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoFloatArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:float[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://www.w3.org/2001/XMLSchema"><item>0.0001</item><item>1000</item><item>0</item></return></m:echoFloatArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1869
+
1870
+
1871
+
1872
+ ##########
1873
+ # echoFloatArray (special values: NaN, INF, -INF)
1874
+
1875
+ Result: Exception: Encountered improperly serialized built-in type accessor: 'item'. (SOAP::FaultError)
1876
+ #<SOAP::Mapping::Object:0xb7ca58dc>
1877
+
1878
+ Wire dump:
1879
+
1880
+ = Request
1881
+
1882
+ ! CONNECTION ESTABLISHED
1883
+ POST /interop/std HTTP/1.1
1884
+ SOAPAction: "http://soapinterop.org/"
1885
+ Content-Type: text/xml; charset=utf-8
1886
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1887
+ Date: Sat Jul 23 22:14:31 JST 2005
1888
+ Content-Length: 658
1889
+ Host: www.whitemesa.net
1890
+
1891
+ <?xml version="1.0" encoding="utf-8" ?>
1892
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1893
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1894
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1895
+ <env:Body>
1896
+ <n1:echoFloatArray xmlns:n1="http://soapinterop.org/"
1897
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1898
+ <inputFloatArray n2:arrayType="xsd:float[3]"
1899
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
1900
+ xsi:type="n2:Array">
1901
+ <item>NaN</item>
1902
+ <item>INF</item>
1903
+ <item>-INF</item>
1904
+ </inputFloatArray>
1905
+ </n1:echoFloatArray>
1906
+ </env:Body>
1907
+ </env:Envelope>
1908
+
1909
+ = Response
1910
+
1911
+ HTTP/1.1 500 Internal Server Error
1912
+ Date: Sat, 23 Jul 2005 13:28:32 GMT
1913
+ Server: WhiteMesa SOAP Server/3.2
1914
+ Content-Type: text/xml; charset="utf-8"
1915
+ Content-Length: 387
1916
+ Connection: close
1917
+
1918
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'item'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1919
+
1920
+
1921
+
1922
+ ##########
1923
+ # echoStruct
1924
+
1925
+ Result: Expected = #<SOAPBuildersInterop::SOAPStruct:0xb7ca51d4 @varString="a", @varFloat=#<SOAP::SOAPFloat:0x..fdbe528d6 {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=1> // Actual = #<SOAP::Mapping::Object:0x..fdbe48610 {}varString="a" {}varFloat="1.1" {}varInt="1">
1926
+
1927
+ Wire dump:
1928
+
1929
+ = Request
1930
+
1931
+ ! CONNECTION ESTABLISHED
1932
+ POST /interop/std HTTP/1.1
1933
+ SOAPAction: "http://soapinterop.org/"
1934
+ Content-Type: text/xml; charset=utf-8
1935
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1936
+ Date: Sat Jul 23 22:14:32 JST 2005
1937
+ Content-Length: 674
1938
+ Host: www.whitemesa.net
1939
+
1940
+ <?xml version="1.0" encoding="utf-8" ?>
1941
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1942
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1943
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1944
+ <env:Body>
1945
+ <n1:echoStruct xmlns:n1="http://soapinterop.org/"
1946
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1947
+ <inputStruct xmlns:n2="http://soapinterop.org/xsd"
1948
+ xsi:type="n2:SOAPStruct">
1949
+ <varString xsi:type="xsd:string">a</varString>
1950
+ <varFloat xsi:type="xsd:float">+1.1</varFloat>
1951
+ <varInt xsi:type="xsd:int">1</varInt>
1952
+ </inputStruct>
1953
+ </n1:echoStruct>
1954
+ </env:Body>
1955
+ </env:Envelope>
1956
+
1957
+ = Response
1958
+
1959
+ HTTP/1.1 200 OK
1960
+ Date: Sat, 23 Jul 2005 13:28:33 GMT
1961
+ Server: WhiteMesa SOAP Server/3.2
1962
+ Content-Type: text/xml; charset="utf-8"
1963
+ Content-Length: 396
1964
+ Connection: close
1965
+
1966
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></return></m:echoStructResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
1967
+
1968
+
1969
+
1970
+ ##########
1971
+ # echoStruct (nil members)
1972
+
1973
+ Result: Expected = #<SOAPBuildersInterop::SOAPStruct:0xb7c8f780 @varString=nil, @varFloat=nil, @varInt=nil> // Actual = #<SOAP::Mapping::Object:0x..fdbe403ca {}varString=nil {}varFloat=nil {}varInt=nil>
1974
+
1975
+ Wire dump:
1976
+
1977
+ = Request
1978
+
1979
+ ! CONNECTION ESTABLISHED
1980
+ POST /interop/std HTTP/1.1
1981
+ SOAPAction: "http://soapinterop.org/"
1982
+ Content-Type: text/xml; charset=utf-8
1983
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
1984
+ Date: Sat Jul 23 22:14:33 JST 2005
1985
+ Content-Length: 651
1986
+ Host: www.whitemesa.net
1987
+
1988
+ <?xml version="1.0" encoding="utf-8" ?>
1989
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1990
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
1991
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
1992
+ <env:Body>
1993
+ <n1:echoStruct xmlns:n1="http://soapinterop.org/"
1994
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
1995
+ <inputStruct xmlns:n2="http://soapinterop.org/xsd"
1996
+ xsi:type="n2:SOAPStruct">
1997
+ <varString xsi:nil="true"></varString>
1998
+ <varFloat xsi:nil="true"></varFloat>
1999
+ <varInt xsi:nil="true"></varInt>
2000
+ </inputStruct>
2001
+ </n1:echoStruct>
2002
+ </env:Body>
2003
+ </env:Envelope>
2004
+
2005
+ = Response
2006
+
2007
+ HTTP/1.1 200 OK
2008
+ Date: Sat, 23 Jul 2005 13:28:34 GMT
2009
+ Server: WhiteMesa SOAP Server/3.2
2010
+ Content-Type: text/xml; charset="utf-8"
2011
+ Content-Length: 572
2012
+ Connection: close
2013
+
2014
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return><varString xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" /><varFloat xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" /><varInt xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" /></return></m:echoStructResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2015
+
2016
+
2017
+
2018
+ ##########
2019
+ # echoStructArray
2020
+
2021
+ Result: Expected = [#<SOAPBuildersInterop::SOAPStruct:0xb7c7e9e4 @varString="a", @varFloat=#<SOAP::SOAPFloat:0x..fdbe3f4de {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=1>, #<SOAPBuildersInterop::SOAPStruct:0xb7c7e9a8 @varString="b", @varFloat=#<SOAP::SOAPFloat:0x..fdbe3f3b2 {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=2>, #<SOAPBuildersInterop::SOAPStruct:0xb7c7e750 @varString="c", @varFloat=#<SOAP::SOAPFloat:0x..fdbe3f2ae {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=3>] // Actual = [#<SOAPBuildersInterop::SOAPStruct:0xb7c67af0 @varString="a", @varFloat="1.1", @varInt="1">, #<SOAPBuildersInterop::SOAPStruct:0xb7c66330 @varString="b", @varFloat="2.2", @varInt="2">, #<SOAPBuildersInterop::SOAPStruct:0xb7c64b84 @varString="c", @varFloat="3.3", @varInt="3">]
2022
+
2023
+ Wire dump:
2024
+
2025
+ = Request
2026
+
2027
+ ! CONNECTION ESTABLISHED
2028
+ POST /interop/std HTTP/1.1
2029
+ SOAPAction: "http://soapinterop.org/"
2030
+ Content-Type: text/xml; charset=utf-8
2031
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2032
+ Date: Sat Jul 23 22:14:33 JST 2005
2033
+ Content-Length: 1217
2034
+ Host: www.whitemesa.net
2035
+
2036
+ <?xml version="1.0" encoding="utf-8" ?>
2037
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2038
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2039
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2040
+ <env:Body>
2041
+ <n1:echoStructArray xmlns:n1="http://soapinterop.org/"
2042
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2043
+ <inputStructArray n2:arrayType="n3:SOAPStruct[3]"
2044
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
2045
+ xmlns:n3="http://soapinterop.org/xsd"
2046
+ xsi:type="n2:Array">
2047
+ <item>
2048
+ <varString xsi:type="xsd:string">a</varString>
2049
+ <varFloat xsi:type="xsd:float">+1.1</varFloat>
2050
+ <varInt xsi:type="xsd:int">1</varInt>
2051
+ </item>
2052
+ <item>
2053
+ <varString xsi:type="xsd:string">b</varString>
2054
+ <varFloat xsi:type="xsd:float">+2.2</varFloat>
2055
+ <varInt xsi:type="xsd:int">2</varInt>
2056
+ </item>
2057
+ <item>
2058
+ <varString xsi:type="xsd:string">c</varString>
2059
+ <varFloat xsi:type="xsd:float">+3.3</varFloat>
2060
+ <varInt xsi:type="xsd:int">3</varInt>
2061
+ </item>
2062
+ </inputStructArray>
2063
+ </n1:echoStructArray>
2064
+ </env:Body>
2065
+ </env:Envelope>
2066
+
2067
+ = Response
2068
+
2069
+ HTTP/1.1 200 OK
2070
+ Date: Sat, 23 Jul 2005 13:28:35 GMT
2071
+ Server: WhiteMesa SOAP Server/3.2
2072
+ Content-Type: text/xml; charset="utf-8"
2073
+ Content-Length: 736
2074
+ Connection: close
2075
+
2076
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:SOAPStruct[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://soapinterop.org/xsd"><item><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>b</varString><varFloat>2.2</varFloat><varInt>2</varInt></item><item><varString>c</varString><varFloat>3.3</varFloat><varInt>3</varInt></item></return></m:echoStructArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2077
+
2078
+
2079
+
2080
+ ##########
2081
+ # echoStructArray (anyType Array)
2082
+
2083
+ Result: Expected = [#<SOAPBuildersInterop::SOAPStruct:0xb7c63608 @varString="a", @varFloat=#<SOAP::SOAPFloat:0x..fdbe31af0 {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=1>, #<SOAPBuildersInterop::SOAPStruct:0xb7c635cc @varString="b", @varFloat=#<SOAP::SOAPFloat:0x..fdbe31a78 {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=2>, #<SOAPBuildersInterop::SOAPStruct:0xb7c634dc @varString="c", @varFloat=#<SOAP::SOAPFloat:0x..fdbe31974 {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=3>] // Actual = [#<SOAPBuildersInterop::SOAPStruct:0xb7c46ecc @varString="a", @varFloat="1.1", @varInt="1">, #<SOAPBuildersInterop::SOAPStruct:0xb7c45ae0 @varString="b", @varFloat="2.2", @varInt="2">, #<SOAPBuildersInterop::SOAPStruct:0xb7c43e20 @varString="c", @varFloat="3.3", @varInt="3">]
2084
+
2085
+ Wire dump:
2086
+
2087
+ = Request
2088
+
2089
+ ! CONNECTION ESTABLISHED
2090
+ POST /interop/std HTTP/1.1
2091
+ SOAPAction: "http://soapinterop.org/"
2092
+ Content-Type: text/xml; charset=utf-8
2093
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2094
+ Date: Sat Jul 23 22:14:34 JST 2005
2095
+ Content-Length: 1392
2096
+ Host: www.whitemesa.net
2097
+
2098
+ <?xml version="1.0" encoding="utf-8" ?>
2099
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2100
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2101
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2102
+ <env:Body>
2103
+ <n1:echoStructArray xmlns:n1="http://soapinterop.org/"
2104
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2105
+ <inputStructArray n2:arrayType="xsd:anyType[3]"
2106
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
2107
+ xsi:type="n2:Array">
2108
+ <item xmlns:n3="http://soapinterop.org/xsd"
2109
+ xsi:type="n3:SOAPStruct">
2110
+ <varString xsi:type="xsd:string">a</varString>
2111
+ <varFloat xsi:type="xsd:float">+1.1</varFloat>
2112
+ <varInt xsi:type="xsd:int">1</varInt>
2113
+ </item>
2114
+ <item xmlns:n4="http://soapinterop.org/xsd"
2115
+ xsi:type="n4:SOAPStruct">
2116
+ <varString xsi:type="xsd:string">b</varString>
2117
+ <varFloat xsi:type="xsd:float">+2.2</varFloat>
2118
+ <varInt xsi:type="xsd:int">2</varInt>
2119
+ </item>
2120
+ <item xmlns:n5="http://soapinterop.org/xsd"
2121
+ xsi:type="n5:SOAPStruct">
2122
+ <varString xsi:type="xsd:string">c</varString>
2123
+ <varFloat xsi:type="xsd:float">+3.3</varFloat>
2124
+ <varInt xsi:type="xsd:int">3</varInt>
2125
+ </item>
2126
+ </inputStructArray>
2127
+ </n1:echoStructArray>
2128
+ </env:Body>
2129
+ </env:Envelope>
2130
+
2131
+ = Response
2132
+
2133
+ HTTP/1.1 200 OK
2134
+ Date: Sat, 23 Jul 2005 13:28:36 GMT
2135
+ Server: WhiteMesa SOAP Server/3.2
2136
+ Content-Type: text/xml; charset="utf-8"
2137
+ Content-Length: 736
2138
+ Connection: close
2139
+
2140
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:SOAPStruct[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://soapinterop.org/xsd"><item><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>b</varString><varFloat>2.2</varFloat><varInt>2</varInt></item><item><varString>c</varString><varFloat>3.3</varFloat><varInt>3</varInt></item></return></m:echoStructArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2141
+
2142
+
2143
+
2144
+ ##########
2145
+ # echoStructArray (multi-ref)
2146
+
2147
+ Result: Expected = [#<SOAPBuildersInterop::SOAPStruct:0xb7c42688 @varString="a", @varFloat=#<SOAP::SOAPFloat:0x..fdbe21330 {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=1>, #<SOAPBuildersInterop::SOAPStruct:0xb7c42688 @varString="a", @varFloat=#<SOAP::SOAPFloat:0x..fdbe21330 {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=1>, #<SOAPBuildersInterop::SOAPStruct:0xb7c4264c @varString="b", @varFloat=#<SOAP::SOAPFloat:0x..fdbe212b8 {}varFloat {http://www.w3.org/2001/XMLSchema}float>, @varInt=2>] // Actual = [#<SOAPBuildersInterop::SOAPStruct:0xb7dcb9c8 @varString="a", @varFloat="1.1", @varInt="1">, #<SOAPBuildersInterop::SOAPStruct:0xb7dbbe88 @varString="a", @varFloat="1.1", @varInt="1">, #<SOAPBuildersInterop::SOAPStruct:0xb7dae850 @varString="b", @varFloat="2.2", @varInt="2">]
2148
+
2149
+ Wire dump:
2150
+
2151
+ = Request
2152
+
2153
+ ! CONNECTION ESTABLISHED
2154
+ POST /interop/std HTTP/1.1
2155
+ SOAPAction: "http://soapinterop.org/"
2156
+ Content-Type: text/xml; charset=utf-8
2157
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2158
+ Date: Sat Jul 23 22:14:35 JST 2005
2159
+ Content-Length: 1257
2160
+ Host: www.whitemesa.net
2161
+
2162
+ <?xml version="1.0" encoding="utf-8" ?>
2163
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2164
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2165
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2166
+ <env:Body>
2167
+ <n1:echoStructArray xmlns:n1="http://soapinterop.org/"
2168
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2169
+ <inputStructArray n2:arrayType="n3:SOAPStruct[3]"
2170
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
2171
+ xmlns:n3="http://soapinterop.org/xsd"
2172
+ xsi:type="n2:Array">
2173
+ <item href="#id-605944604"></item>
2174
+ <item href="#id-605944604"></item>
2175
+ <item>
2176
+ <varString xsi:type="xsd:string">b</varString>
2177
+ <varFloat xsi:type="xsd:float">+2.2</varFloat>
2178
+ <varInt xsi:type="xsd:int">2</varInt>
2179
+ </item>
2180
+ </inputStructArray>
2181
+ </n1:echoStructArray>
2182
+ <item xmlns:n4="http://soapinterop.org/xsd"
2183
+ id="id-605944604"
2184
+ xsi:type="n4:SOAPStruct"
2185
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2186
+ <varString xsi:type="xsd:string">a</varString>
2187
+ <varFloat xsi:type="xsd:float">+1.1</varFloat>
2188
+ <varInt xsi:type="xsd:int">1</varInt>
2189
+ </item>
2190
+ </env:Body>
2191
+ </env:Envelope>
2192
+
2193
+ = Response
2194
+
2195
+ HTTP/1.1 200 OK
2196
+ Date: Sat, 23 Jul 2005 13:28:36 GMT
2197
+ Server: WhiteMesa SOAP Server/3.2
2198
+ Content-Type: text/xml; charset="utf-8"
2199
+ Content-Length: 736
2200
+ Connection: close
2201
+
2202
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:SOAPStruct[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://soapinterop.org/xsd"><item><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>b</varString><varFloat>2.2</varFloat><varInt>2</varInt></item></return></m:echoStructArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2203
+
2204
+
2205
+
2206
+ ##########
2207
+ # echoStructArray (multi-ref: elem1 == elem2)
2208
+
2209
+ Result: Expected = "SOAPBuildersInterop::SOAPStruct#-605037440" // Actual = "SOAPBuildersInterop::SOAPStruct#-605051120"
2210
+
2211
+ Wire dump:
2212
+
2213
+ = Request
2214
+
2215
+ ! CONNECTION ESTABLISHED
2216
+ POST /interop/std HTTP/1.1
2217
+ SOAPAction: "http://soapinterop.org/"
2218
+ Content-Type: text/xml; charset=utf-8
2219
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2220
+ Date: Sat Jul 23 22:14:36 JST 2005
2221
+ Content-Length: 1257
2222
+ Host: www.whitemesa.net
2223
+
2224
+ <?xml version="1.0" encoding="utf-8" ?>
2225
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2226
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2227
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2228
+ <env:Body>
2229
+ <n1:echoStructArray xmlns:n1="http://soapinterop.org/"
2230
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2231
+ <inputStructArray n2:arrayType="n3:SOAPStruct[3]"
2232
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
2233
+ xmlns:n3="http://soapinterop.org/xsd"
2234
+ xsi:type="n2:Array">
2235
+ <item href="#id-605235224"></item>
2236
+ <item href="#id-605235224"></item>
2237
+ <item>
2238
+ <varString xsi:type="xsd:string">b</varString>
2239
+ <varFloat xsi:type="xsd:float">+2.2</varFloat>
2240
+ <varInt xsi:type="xsd:int">2</varInt>
2241
+ </item>
2242
+ </inputStructArray>
2243
+ </n1:echoStructArray>
2244
+ <item xmlns:n4="http://soapinterop.org/xsd"
2245
+ id="id-605235224"
2246
+ xsi:type="n4:SOAPStruct"
2247
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2248
+ <varString xsi:type="xsd:string">a</varString>
2249
+ <varFloat xsi:type="xsd:float">+1.1</varFloat>
2250
+ <varInt xsi:type="xsd:int">1</varInt>
2251
+ </item>
2252
+ </env:Body>
2253
+ </env:Envelope>
2254
+
2255
+ = Response
2256
+
2257
+ HTTP/1.1 200 OK
2258
+ Date: Sat, 23 Jul 2005 13:28:37 GMT
2259
+ Server: WhiteMesa SOAP Server/3.2
2260
+ Content-Type: text/xml; charset="utf-8"
2261
+ Content-Length: 736
2262
+ Connection: close
2263
+
2264
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:SOAPStruct[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://soapinterop.org/xsd"><item><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>b</varString><varFloat>2.2</varFloat><varInt>2</varInt></item></return></m:echoStructArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2265
+
2266
+
2267
+
2268
+ ##########
2269
+ # echoStructArray (anyType Array, multi-ref: elem2 == elem3)
2270
+
2271
+ Result: Expected = "SOAPBuildersInterop::SOAPStruct#-605481944" // Actual = "SOAPBuildersInterop::SOAPStruct#-605487044"
2272
+
2273
+ Wire dump:
2274
+
2275
+ = Request
2276
+
2277
+ ! CONNECTION ESTABLISHED
2278
+ POST /interop/std HTTP/1.1
2279
+ SOAPAction: "http://soapinterop.org/"
2280
+ Content-Type: text/xml; charset=utf-8
2281
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2282
+ Date: Sat Jul 23 22:14:37 JST 2005
2283
+ Content-Length: 1282
2284
+ Host: www.whitemesa.net
2285
+
2286
+ <?xml version="1.0" encoding="utf-8" ?>
2287
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2288
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2289
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2290
+ <env:Body>
2291
+ <n1:echoStructArray xmlns:n1="http://soapinterop.org/"
2292
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2293
+ <inputStructArray n2:arrayType="xsd:anyType[3]"
2294
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
2295
+ xsi:type="n2:Array">
2296
+ <item xmlns:n3="http://soapinterop.org/xsd"
2297
+ xsi:type="n3:SOAPStruct">
2298
+ <varString xsi:type="xsd:string">a</varString>
2299
+ <varFloat xsi:type="xsd:float">+1.1</varFloat>
2300
+ <varInt xsi:type="xsd:int">1</varInt>
2301
+ </item>
2302
+ <item href="#id-605419594"></item>
2303
+ <item href="#id-605419594"></item>
2304
+ </inputStructArray>
2305
+ </n1:echoStructArray>
2306
+ <item xmlns:n4="http://soapinterop.org/xsd"
2307
+ id="id-605419594"
2308
+ xsi:type="n4:SOAPStruct"
2309
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2310
+ <varString xsi:type="xsd:string">b</varString>
2311
+ <varFloat xsi:type="xsd:float">+2.2</varFloat>
2312
+ <varInt xsi:type="xsd:int">2</varInt>
2313
+ </item>
2314
+ </env:Body>
2315
+ </env:Envelope>
2316
+
2317
+ = Response
2318
+
2319
+ HTTP/1.1 200 OK
2320
+ Date: Sat, 23 Jul 2005 13:28:38 GMT
2321
+ Server: WhiteMesa SOAP Server/3.2
2322
+ Content-Type: text/xml; charset="utf-8"
2323
+ Content-Length: 736
2324
+ Connection: close
2325
+
2326
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:SOAPStruct[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://soapinterop.org/xsd"><item><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>b</varString><varFloat>2.2</varFloat><varInt>2</varInt></item><item><varString>b</varString><varFloat>2.2</varFloat><varInt>2</varInt></item></return></m:echoStructArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2327
+
2328
+
2329
+
2330
+ ##########
2331
+ # echoStructArray (multi-ref: varString of elem1 == varString of elem2)
2332
+
2333
+ Result: Expected = "String#-605554994" // Actual = "String#-605559144"
2334
+
2335
+ Wire dump:
2336
+
2337
+ = Request
2338
+
2339
+ ! CONNECTION ESTABLISHED
2340
+ POST /interop/std HTTP/1.1
2341
+ SOAPAction: "http://soapinterop.org/"
2342
+ Content-Type: text/xml; charset=utf-8
2343
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2344
+ Date: Sat Jul 23 22:14:37 JST 2005
2345
+ Content-Length: 1360
2346
+ Host: www.whitemesa.net
2347
+
2348
+ <?xml version="1.0" encoding="utf-8" ?>
2349
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2350
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2351
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2352
+ <env:Body>
2353
+ <n1:echoStructArray xmlns:n1="http://soapinterop.org/"
2354
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2355
+ <inputStructArray n2:arrayType="n3:SOAPStruct[3]"
2356
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
2357
+ xmlns:n3="http://soapinterop.org/xsd"
2358
+ xsi:type="n2:Array">
2359
+ <item>
2360
+ <varString href="#id-605497184"></varString>
2361
+ <varFloat xsi:type="xsd:float">+1.1</varFloat>
2362
+ <varInt xsi:type="xsd:int">1</varInt>
2363
+ </item>
2364
+ <item>
2365
+ <varString href="#id-605497184"></varString>
2366
+ <varFloat xsi:type="xsd:float">+2.2</varFloat>
2367
+ <varInt xsi:type="xsd:int">2</varInt>
2368
+ </item>
2369
+ <item>
2370
+ <varString xsi:type="xsd:string">a</varString>
2371
+ <varFloat xsi:type="xsd:float">+3.3</varFloat>
2372
+ <varInt xsi:type="xsd:int">3</varInt>
2373
+ </item>
2374
+ </inputStructArray>
2375
+ </n1:echoStructArray>
2376
+ <varString id="id-605497184"
2377
+ xsi:type="xsd:string"
2378
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">a</varString>
2379
+ </env:Body>
2380
+ </env:Envelope>
2381
+
2382
+ = Response
2383
+
2384
+ HTTP/1.1 200 OK
2385
+ Date: Sat, 23 Jul 2005 13:28:39 GMT
2386
+ Server: WhiteMesa SOAP Server/3.2
2387
+ Content-Type: text/xml; charset="utf-8"
2388
+ Content-Length: 736
2389
+ Connection: close
2390
+
2391
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:SOAPStruct[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://soapinterop.org/xsd"><item><varString>a</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>a</varString><varFloat>2.2</varFloat><varInt>2</varInt></item><item><varString>a</varString><varFloat>3.3</varFloat><varInt>3</varInt></item></return></m:echoStructArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2392
+
2393
+
2394
+
2395
+ ##########
2396
+ # echoStructArray (anyType Array, multi-ref: varString of elem2 == varString of elem3)
2397
+
2398
+ Result: Expected = "String#-605590904" // Actual = "String#-605596094"
2399
+
2400
+ Wire dump:
2401
+
2402
+ = Request
2403
+
2404
+ ! CONNECTION ESTABLISHED
2405
+ POST /interop/std HTTP/1.1
2406
+ SOAPAction: "http://soapinterop.org/"
2407
+ Content-Type: text/xml; charset=utf-8
2408
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2409
+ Date: Sat Jul 23 22:14:38 JST 2005
2410
+ Content-Length: 1535
2411
+ Host: www.whitemesa.net
2412
+
2413
+ <?xml version="1.0" encoding="utf-8" ?>
2414
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2415
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2416
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2417
+ <env:Body>
2418
+ <n1:echoStructArray xmlns:n1="http://soapinterop.org/"
2419
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2420
+ <inputStructArray n2:arrayType="xsd:anyType[3]"
2421
+ xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
2422
+ xsi:type="n2:Array">
2423
+ <item xmlns:n3="http://soapinterop.org/xsd"
2424
+ xsi:type="n3:SOAPStruct">
2425
+ <varString xsi:type="xsd:string">b</varString>
2426
+ <varFloat xsi:type="xsd:float">+1.1</varFloat>
2427
+ <varInt xsi:type="xsd:int">1</varInt>
2428
+ </item>
2429
+ <item xmlns:n4="http://soapinterop.org/xsd"
2430
+ xsi:type="n4:SOAPStruct">
2431
+ <varString href="#id-605566504"></varString>
2432
+ <varFloat xsi:type="xsd:float">+2.2</varFloat>
2433
+ <varInt xsi:type="xsd:int">2</varInt>
2434
+ </item>
2435
+ <item xmlns:n5="http://soapinterop.org/xsd"
2436
+ xsi:type="n5:SOAPStruct">
2437
+ <varString href="#id-605566504"></varString>
2438
+ <varFloat xsi:type="xsd:float">+3.3</varFloat>
2439
+ <varInt xsi:type="xsd:int">3</varInt>
2440
+ </item>
2441
+ </inputStructArray>
2442
+ </n1:echoStructArray>
2443
+ <varString id="id-605566504"
2444
+ xsi:type="xsd:string"
2445
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">b</varString>
2446
+ </env:Body>
2447
+ </env:Envelope>
2448
+
2449
+ = Response
2450
+
2451
+ HTTP/1.1 200 OK
2452
+ Date: Sat, 23 Jul 2005 13:28:40 GMT
2453
+ Server: WhiteMesa SOAP Server/3.2
2454
+ Content-Type: text/xml; charset="utf-8"
2455
+ Content-Length: 736
2456
+ Connection: close
2457
+
2458
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoStructArrayResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return SOAP-ENC:arrayType="nsa:SOAPStruct[3]" SOAP-ENC:offset="[0]" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:nsa="http://soapinterop.org/xsd"><item><varString>b</varString><varFloat>1.1</varFloat><varInt>1</varInt></item><item><varString>b</varString><varFloat>2.2</varFloat><varInt>2</varInt></item><item><varString>b</varString><varFloat>3.3</varFloat><varInt>3</varInt></item></return></m:echoStructArrayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2459
+
2460
+
2461
+
2462
+ ##########
2463
+ # echoDate (now)
2464
+
2465
+ Result: OK
2466
+
2467
+ Wire dump:
2468
+
2469
+ = Request
2470
+
2471
+ ! CONNECTION ESTABLISHED
2472
+ POST /interop/std HTTP/1.1
2473
+ SOAPAction: "http://soapinterop.org/"
2474
+ Content-Type: text/xml; charset=utf-8
2475
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2476
+ Date: Sat Jul 23 22:14:39 JST 2005
2477
+ Content-Length: 474
2478
+ Host: www.whitemesa.net
2479
+
2480
+ <?xml version="1.0" encoding="utf-8" ?>
2481
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2482
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2483
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2484
+ <env:Body>
2485
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2486
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2487
+ <inputDate xsi:type="xsd:dateTime">2005-07-23T13:14:39Z</inputDate>
2488
+ </n1:echoDate>
2489
+ </env:Body>
2490
+ </env:Envelope>
2491
+
2492
+ = Response
2493
+
2494
+ HTTP/1.1 200 OK
2495
+ Date: Sat, 23 Jul 2005 13:28:41 GMT
2496
+ Server: WhiteMesa SOAP Server/3.2
2497
+ Content-Type: text/xml; charset="utf-8"
2498
+ Content-Length: 346
2499
+ Connection: close
2500
+
2501
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2005-07-23T13:14:39Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2502
+
2503
+
2504
+
2505
+ ##########
2506
+ # echoDate (before 1970: 1-01-01T00:00:00Z)
2507
+
2508
+ Result: Expected = "0001-01-01T00:00:00Z" // Actual = "2001-01-01T00:00:00Z"
2509
+
2510
+ Wire dump:
2511
+
2512
+ = Request
2513
+
2514
+ ! CONNECTION ESTABLISHED
2515
+ POST /interop/std HTTP/1.1
2516
+ SOAPAction: "http://soapinterop.org/"
2517
+ Content-Type: text/xml; charset=utf-8
2518
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2519
+ Date: Sat Jul 23 22:14:40 JST 2005
2520
+ Content-Length: 474
2521
+ Host: www.whitemesa.net
2522
+
2523
+ <?xml version="1.0" encoding="utf-8" ?>
2524
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2525
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2526
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2527
+ <env:Body>
2528
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2529
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2530
+ <inputDate xsi:type="xsd:dateTime">0001-01-01T00:00:00Z</inputDate>
2531
+ </n1:echoDate>
2532
+ </env:Body>
2533
+ </env:Envelope>
2534
+
2535
+ = Response
2536
+
2537
+ HTTP/1.1 200 OK
2538
+ Date: Sat, 23 Jul 2005 13:28:42 GMT
2539
+ Server: WhiteMesa SOAP Server/3.2
2540
+ Content-Type: text/xml; charset="utf-8"
2541
+ Content-Length: 346
2542
+ Connection: close
2543
+
2544
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2001-01-01T00:00:00Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2545
+
2546
+
2547
+
2548
+ ##########
2549
+ # echoDate (after 2038: 2038-12-31T00:00:00Z)
2550
+
2551
+ Result: OK
2552
+
2553
+ Wire dump:
2554
+
2555
+ = Request
2556
+
2557
+ ! CONNECTION ESTABLISHED
2558
+ POST /interop/std HTTP/1.1
2559
+ SOAPAction: "http://soapinterop.org/"
2560
+ Content-Type: text/xml; charset=utf-8
2561
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2562
+ Date: Sat Jul 23 22:14:41 JST 2005
2563
+ Content-Length: 474
2564
+ Host: www.whitemesa.net
2565
+
2566
+ <?xml version="1.0" encoding="utf-8" ?>
2567
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2568
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2569
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2570
+ <env:Body>
2571
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2572
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2573
+ <inputDate xsi:type="xsd:dateTime">2038-12-31T00:00:00Z</inputDate>
2574
+ </n1:echoDate>
2575
+ </env:Body>
2576
+ </env:Envelope>
2577
+
2578
+ = Response
2579
+
2580
+ HTTP/1.1 200 OK
2581
+ Date: Sat, 23 Jul 2005 13:28:42 GMT
2582
+ Server: WhiteMesa SOAP Server/3.2
2583
+ Content-Type: text/xml; charset="utf-8"
2584
+ Content-Length: 346
2585
+ Connection: close
2586
+
2587
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2038-12-31T00:00:00Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2588
+
2589
+
2590
+
2591
+ ##########
2592
+ # echoDate (negative: -10-01-01T00:00:00Z)
2593
+
2594
+ Result: Exception: Encountered improperly serialized built-in type accessor: 'inputDate'. (SOAP::FaultError)
2595
+ #<SOAP::Mapping::Object:0xb7c8d048>
2596
+
2597
+ Wire dump:
2598
+
2599
+ = Request
2600
+
2601
+ ! CONNECTION ESTABLISHED
2602
+ POST /interop/std HTTP/1.1
2603
+ SOAPAction: "http://soapinterop.org/"
2604
+ Content-Type: text/xml; charset=utf-8
2605
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2606
+ Date: Sat Jul 23 22:14:42 JST 2005
2607
+ Content-Length: 475
2608
+ Host: www.whitemesa.net
2609
+
2610
+ <?xml version="1.0" encoding="utf-8" ?>
2611
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2612
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2613
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2614
+ <env:Body>
2615
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2616
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2617
+ <inputDate xsi:type="xsd:dateTime">-0011-01-01T00:00:00Z</inputDate>
2618
+ </n1:echoDate>
2619
+ </env:Body>
2620
+ </env:Envelope>
2621
+
2622
+ = Response
2623
+
2624
+ HTTP/1.1 500 Internal Server Error
2625
+ Date: Sat, 23 Jul 2005 13:28:43 GMT
2626
+ Server: WhiteMesa SOAP Server/3.2
2627
+ Content-Type: text/xml; charset="utf-8"
2628
+ Content-Length: 392
2629
+ Connection: close
2630
+
2631
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDate'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2632
+
2633
+
2634
+
2635
+ ##########
2636
+ # echoDate (time precision: msec)
2637
+
2638
+ Result: Expected = #<DateTime: 52964868805003/21600000,0,2299161> // Actual = "2001-06-16T18:13:40Z"
2639
+
2640
+ Wire dump:
2641
+
2642
+ = Request
2643
+
2644
+ ! CONNECTION ESTABLISHED
2645
+ POST /interop/std HTTP/1.1
2646
+ SOAPAction: "http://soapinterop.org/"
2647
+ Content-Type: text/xml; charset=utf-8
2648
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2649
+ Date: Sat Jul 23 22:14:43 JST 2005
2650
+ Content-Length: 478
2651
+ Host: www.whitemesa.net
2652
+
2653
+ <?xml version="1.0" encoding="utf-8" ?>
2654
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2655
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2656
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2657
+ <env:Body>
2658
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2659
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2660
+ <inputDate xsi:type="xsd:dateTime">2001-06-16T18:13:40.012Z</inputDate>
2661
+ </n1:echoDate>
2662
+ </env:Body>
2663
+ </env:Envelope>
2664
+
2665
+ = Response
2666
+
2667
+ HTTP/1.1 200 OK
2668
+ Date: Sat, 23 Jul 2005 13:28:44 GMT
2669
+ Server: WhiteMesa SOAP Server/3.2
2670
+ Content-Type: text/xml; charset="utf-8"
2671
+ Content-Length: 346
2672
+ Connection: close
2673
+
2674
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2001-06-16T18:13:40Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2675
+
2676
+
2677
+
2678
+ ##########
2679
+ # echoDate (time precision: long)
2680
+
2681
+ Result: Expected = #<DateTime: 21185947522000000000001234567890123456789/8640000000000000000000000000000000,0,2299161> // Actual = "2001-06-16T18:13:40Z"
2682
+
2683
+ Wire dump:
2684
+
2685
+ = Request
2686
+
2687
+ ! CONNECTION ESTABLISHED
2688
+ POST /interop/std HTTP/1.1
2689
+ SOAPAction: "http://soapinterop.org/"
2690
+ Content-Type: text/xml; charset=utf-8
2691
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2692
+ Date: Sat Jul 23 22:14:44 JST 2005
2693
+ Content-Length: 515
2694
+ Host: www.whitemesa.net
2695
+
2696
+ <?xml version="1.0" encoding="utf-8" ?>
2697
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2698
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2699
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2700
+ <env:Body>
2701
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2702
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2703
+ <inputDate xsi:type="xsd:dateTime">2001-06-16T18:13:40.0000000000123456789012345678900000000000Z</inputDate>
2704
+ </n1:echoDate>
2705
+ </env:Body>
2706
+ </env:Envelope>
2707
+
2708
+ = Response
2709
+
2710
+ HTTP/1.1 200 OK
2711
+ Date: Sat, 23 Jul 2005 13:28:45 GMT
2712
+ Server: WhiteMesa SOAP Server/3.2
2713
+ Content-Type: text/xml; charset="utf-8"
2714
+ Content-Length: 346
2715
+ Connection: close
2716
+
2717
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2001-06-16T18:13:40Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2718
+
2719
+
2720
+
2721
+ ##########
2722
+ # echoDate (positive TZ)
2723
+
2724
+ Result: Expected = #<DateTime: 10592973761/4320,0,2299161> // Actual = "2001-06-16T18:13:40Z"
2725
+
2726
+ Wire dump:
2727
+
2728
+ = Request
2729
+
2730
+ ! CONNECTION ESTABLISHED
2731
+ POST /interop/std HTTP/1.1
2732
+ SOAPAction: "http://soapinterop.org/"
2733
+ Content-Type: text/xml; charset=utf-8
2734
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2735
+ Date: Sat Jul 23 22:14:45 JST 2005
2736
+ Content-Length: 479
2737
+ Host: www.whitemesa.net
2738
+
2739
+ <?xml version="1.0" encoding="utf-8" ?>
2740
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2741
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2742
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2743
+ <env:Body>
2744
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2745
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2746
+ <inputDate xsi:type="xsd:dateTime">2001-06-17T01:13:40+07:00</inputDate>
2747
+ </n1:echoDate>
2748
+ </env:Body>
2749
+ </env:Envelope>
2750
+
2751
+ = Response
2752
+
2753
+ HTTP/1.1 200 OK
2754
+ Date: Sat, 23 Jul 2005 13:28:46 GMT
2755
+ Server: WhiteMesa SOAP Server/3.2
2756
+ Content-Type: text/xml; charset="utf-8"
2757
+ Content-Length: 346
2758
+ Connection: close
2759
+
2760
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2001-06-16T18:13:40Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2761
+
2762
+
2763
+
2764
+ ##########
2765
+ # echoDate (negative TZ)
2766
+
2767
+ Result: Expected = #<DateTime: 10592975021/4320,0,2299161> // Actual = "2001-06-17T01:13:40Z"
2768
+
2769
+ Wire dump:
2770
+
2771
+ = Request
2772
+
2773
+ ! CONNECTION ESTABLISHED
2774
+ POST /interop/std HTTP/1.1
2775
+ SOAPAction: "http://soapinterop.org/"
2776
+ Content-Type: text/xml; charset=utf-8
2777
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2778
+ Date: Sat Jul 23 22:14:46 JST 2005
2779
+ Content-Length: 479
2780
+ Host: www.whitemesa.net
2781
+
2782
+ <?xml version="1.0" encoding="utf-8" ?>
2783
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2784
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2785
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2786
+ <env:Body>
2787
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2788
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2789
+ <inputDate xsi:type="xsd:dateTime">2001-06-16T18:13:40-07:00</inputDate>
2790
+ </n1:echoDate>
2791
+ </env:Body>
2792
+ </env:Envelope>
2793
+
2794
+ = Response
2795
+
2796
+ HTTP/1.1 200 OK
2797
+ Date: Sat, 23 Jul 2005 13:28:47 GMT
2798
+ Server: WhiteMesa SOAP Server/3.2
2799
+ Content-Type: text/xml; charset="utf-8"
2800
+ Content-Length: 346
2801
+ Connection: close
2802
+
2803
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2001-06-17T01:13:40Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2804
+
2805
+
2806
+
2807
+ ##########
2808
+ # echoDate (+00:00 TZ)
2809
+
2810
+ Result: Expected = #<DateTime: 10592975021/4320,0,2299161> // Actual = "2001-06-17T01:13:40Z"
2811
+
2812
+ Wire dump:
2813
+
2814
+ = Request
2815
+
2816
+ ! CONNECTION ESTABLISHED
2817
+ POST /interop/std HTTP/1.1
2818
+ SOAPAction: "http://soapinterop.org/"
2819
+ Content-Type: text/xml; charset=utf-8
2820
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2821
+ Date: Sat Jul 23 22:14:46 JST 2005
2822
+ Content-Length: 474
2823
+ Host: www.whitemesa.net
2824
+
2825
+ <?xml version="1.0" encoding="utf-8" ?>
2826
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2827
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2828
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2829
+ <env:Body>
2830
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2831
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2832
+ <inputDate xsi:type="xsd:dateTime">2001-06-17T01:13:40Z</inputDate>
2833
+ </n1:echoDate>
2834
+ </env:Body>
2835
+ </env:Envelope>
2836
+
2837
+ = Response
2838
+
2839
+ HTTP/1.1 200 OK
2840
+ Date: Sat, 23 Jul 2005 13:28:48 GMT
2841
+ Server: WhiteMesa SOAP Server/3.2
2842
+ Content-Type: text/xml; charset="utf-8"
2843
+ Content-Length: 346
2844
+ Connection: close
2845
+
2846
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2001-06-17T01:13:40Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2847
+
2848
+
2849
+
2850
+ ##########
2851
+ # echoDate (-00:00 TZ)
2852
+
2853
+ Result: Expected = #<DateTime: 10592975021/4320,0,2299161> // Actual = "2001-06-17T01:13:40Z"
2854
+
2855
+ Wire dump:
2856
+
2857
+ = Request
2858
+
2859
+ ! CONNECTION ESTABLISHED
2860
+ POST /interop/std HTTP/1.1
2861
+ SOAPAction: "http://soapinterop.org/"
2862
+ Content-Type: text/xml; charset=utf-8
2863
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2864
+ Date: Sat Jul 23 22:14:47 JST 2005
2865
+ Content-Length: 474
2866
+ Host: www.whitemesa.net
2867
+
2868
+ <?xml version="1.0" encoding="utf-8" ?>
2869
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2870
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2871
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2872
+ <env:Body>
2873
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2874
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2875
+ <inputDate xsi:type="xsd:dateTime">2001-06-17T01:13:40Z</inputDate>
2876
+ </n1:echoDate>
2877
+ </env:Body>
2878
+ </env:Envelope>
2879
+
2880
+ = Response
2881
+
2882
+ HTTP/1.1 200 OK
2883
+ Date: Sat, 23 Jul 2005 13:28:49 GMT
2884
+ Server: WhiteMesa SOAP Server/3.2
2885
+ Content-Type: text/xml; charset="utf-8"
2886
+ Content-Length: 346
2887
+ Connection: close
2888
+
2889
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2001-06-17T01:13:40Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2890
+
2891
+
2892
+
2893
+ ##########
2894
+ # echoDate (min TZ)
2895
+
2896
+ Result: Expected = #<DateTime: 211859409541/86400,0,2299161> // Actual = "2001-06-15T23:59:01Z"
2897
+
2898
+ Wire dump:
2899
+
2900
+ = Request
2901
+
2902
+ ! CONNECTION ESTABLISHED
2903
+ POST /interop/std HTTP/1.1
2904
+ SOAPAction: "http://soapinterop.org/"
2905
+ Content-Type: text/xml; charset=utf-8
2906
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2907
+ Date: Sat Jul 23 22:14:48 JST 2005
2908
+ Content-Length: 479
2909
+ Host: www.whitemesa.net
2910
+
2911
+ <?xml version="1.0" encoding="utf-8" ?>
2912
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2913
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2914
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2915
+ <env:Body>
2916
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2917
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2918
+ <inputDate xsi:type="xsd:dateTime">2001-06-16T00:00:01+00:01</inputDate>
2919
+ </n1:echoDate>
2920
+ </env:Body>
2921
+ </env:Envelope>
2922
+
2923
+ = Response
2924
+
2925
+ HTTP/1.1 200 OK
2926
+ Date: Sat, 23 Jul 2005 13:28:50 GMT
2927
+ Server: WhiteMesa SOAP Server/3.2
2928
+ Content-Type: text/xml; charset="utf-8"
2929
+ Content-Length: 346
2930
+ Connection: close
2931
+
2932
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2001-06-15T23:59:01Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2933
+
2934
+
2935
+
2936
+ ##########
2937
+ # echoDate (year > 9999)
2938
+
2939
+ Result: Exception: Encountered improperly serialized built-in type accessor: 'inputDate'. (SOAP::FaultError)
2940
+ #<SOAP::Mapping::Object:0xb7cfbdcc>
2941
+
2942
+ Wire dump:
2943
+
2944
+ = Request
2945
+
2946
+ ! CONNECTION ESTABLISHED
2947
+ POST /interop/std HTTP/1.1
2948
+ SOAPAction: "http://soapinterop.org/"
2949
+ Content-Type: text/xml; charset=utf-8
2950
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2951
+ Date: Sat Jul 23 22:14:49 JST 2005
2952
+ Content-Length: 480
2953
+ Host: www.whitemesa.net
2954
+
2955
+ <?xml version="1.0" encoding="utf-8" ?>
2956
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
2957
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
2958
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2959
+ <env:Body>
2960
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
2961
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
2962
+ <inputDate xsi:type="xsd:dateTime">10000-06-16T18:13:40-07:00</inputDate>
2963
+ </n1:echoDate>
2964
+ </env:Body>
2965
+ </env:Envelope>
2966
+
2967
+ = Response
2968
+
2969
+ HTTP/1.1 500 Internal Server Error
2970
+ Date: Sat, 23 Jul 2005 13:28:51 GMT
2971
+ Server: WhiteMesa SOAP Server/3.2
2972
+ Content-Type: text/xml; charset="utf-8"
2973
+ Content-Length: 392
2974
+ Connection: close
2975
+
2976
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDate'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
2977
+
2978
+
2979
+
2980
+ ##########
2981
+ # echoDate (year < 0)
2982
+
2983
+ Result: Exception: Encountered improperly serialized built-in type accessor: 'inputDate'. (SOAP::FaultError)
2984
+ #<SOAP::Mapping::Object:0xb7cf2164>
2985
+
2986
+ Wire dump:
2987
+
2988
+ = Request
2989
+
2990
+ ! CONNECTION ESTABLISHED
2991
+ POST /interop/std HTTP/1.1
2992
+ SOAPAction: "http://soapinterop.org/"
2993
+ Content-Type: text/xml; charset=utf-8
2994
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
2995
+ Date: Sat Jul 23 22:14:50 JST 2005
2996
+ Content-Length: 480
2997
+ Host: www.whitemesa.net
2998
+
2999
+ <?xml version="1.0" encoding="utf-8" ?>
3000
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3001
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3002
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3003
+ <env:Body>
3004
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
3005
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3006
+ <inputDate xsi:type="xsd:dateTime">-0001-06-16T18:13:40-07:00</inputDate>
3007
+ </n1:echoDate>
3008
+ </env:Body>
3009
+ </env:Envelope>
3010
+
3011
+ = Response
3012
+
3013
+ HTTP/1.1 500 Internal Server Error
3014
+ Date: Sat, 23 Jul 2005 13:28:52 GMT
3015
+ Server: WhiteMesa SOAP Server/3.2
3016
+ Content-Type: text/xml; charset="utf-8"
3017
+ Content-Length: 392
3018
+ Connection: close
3019
+
3020
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDate'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3021
+
3022
+
3023
+
3024
+ ##########
3025
+ # echoDate (year == -4713)
3026
+
3027
+ Result: Exception: Encountered improperly serialized built-in type accessor: 'inputDate'. (SOAP::FaultError)
3028
+ #<SOAP::Mapping::Object:0xb7ce8e84>
3029
+
3030
+ Wire dump:
3031
+
3032
+ = Request
3033
+
3034
+ ! CONNECTION ESTABLISHED
3035
+ POST /interop/std HTTP/1.1
3036
+ SOAPAction: "http://soapinterop.org/"
3037
+ Content-Type: text/xml; charset=utf-8
3038
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3039
+ Date: Sat Jul 23 22:14:51 JST 2005
3040
+ Content-Length: 475
3041
+ Host: www.whitemesa.net
3042
+
3043
+ <?xml version="1.0" encoding="utf-8" ?>
3044
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3045
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3046
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3047
+ <env:Body>
3048
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
3049
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3050
+ <inputDate xsi:type="xsd:dateTime">-4713-01-01T12:00:00Z</inputDate>
3051
+ </n1:echoDate>
3052
+ </env:Body>
3053
+ </env:Envelope>
3054
+
3055
+ = Response
3056
+
3057
+ HTTP/1.1 500 Internal Server Error
3058
+ Date: Sat, 23 Jul 2005 13:28:53 GMT
3059
+ Server: WhiteMesa SOAP Server/3.2
3060
+ Content-Type: text/xml; charset="utf-8"
3061
+ Content-Length: 392
3062
+ Connection: close
3063
+
3064
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDate'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3065
+
3066
+
3067
+
3068
+ ##########
3069
+ # echoDate (year 0000: junk)
3070
+
3071
+ Result: Expected = "Fault" // Actual = "No error occurred."
3072
+
3073
+ Wire dump:
3074
+
3075
+ = Request
3076
+
3077
+ ! CONNECTION ESTABLISHED
3078
+ POST /interop/std HTTP/1.1
3079
+ SOAPAction: "http://soapinterop.org/"
3080
+ Content-Type: text/xml; charset=utf-8
3081
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3082
+ Date: Sat Jul 23 22:14:52 JST 2005
3083
+ Content-Length: 474
3084
+ Host: www.whitemesa.net
3085
+
3086
+ <?xml version="1.0" encoding="utf-8" ?>
3087
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3088
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3089
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3090
+ <env:Body>
3091
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
3092
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3093
+ <inputDate xsi:type="xsd:dateTime">0000-05-18T16:52:20Z</inputDate>
3094
+ </n1:echoDate>
3095
+ </env:Body>
3096
+ </env:Envelope>
3097
+
3098
+ = Response
3099
+
3100
+ HTTP/1.1 200 OK
3101
+ Date: Sat, 23 Jul 2005 13:28:54 GMT
3102
+ Server: WhiteMesa SOAP Server/3.2
3103
+ Content-Type: text/xml; charset="utf-8"
3104
+ Content-Length: 346
3105
+ Connection: close
3106
+
3107
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2000-05-18T16:52:20Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3108
+
3109
+
3110
+
3111
+ ##########
3112
+ # echoDate (year nn: junk)
3113
+
3114
+ Result: Expected = "Fault" // Actual = "No error occurred."
3115
+
3116
+ Wire dump:
3117
+
3118
+ = Request
3119
+
3120
+ ! CONNECTION ESTABLISHED
3121
+ POST /interop/std HTTP/1.1
3122
+ SOAPAction: "http://soapinterop.org/"
3123
+ Content-Type: text/xml; charset=utf-8
3124
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3125
+ Date: Sat Jul 23 22:14:53 JST 2005
3126
+ Content-Length: 472
3127
+ Host: www.whitemesa.net
3128
+
3129
+ <?xml version="1.0" encoding="utf-8" ?>
3130
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3131
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3132
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3133
+ <env:Body>
3134
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
3135
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3136
+ <inputDate xsi:type="xsd:dateTime">05-05-18T16:52:20Z</inputDate>
3137
+ </n1:echoDate>
3138
+ </env:Body>
3139
+ </env:Envelope>
3140
+
3141
+ = Response
3142
+
3143
+ HTTP/1.1 200 OK
3144
+ Date: Sat, 23 Jul 2005 13:28:54 GMT
3145
+ Server: WhiteMesa SOAP Server/3.2
3146
+ Content-Type: text/xml; charset="utf-8"
3147
+ Content-Length: 346
3148
+ Connection: close
3149
+
3150
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2018-05-05T16:52:20Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3151
+
3152
+
3153
+
3154
+ ##########
3155
+ # echoDate (no day part: junk)
3156
+
3157
+ Result: Expected = "Fault" // Actual = "No error occurred."
3158
+
3159
+ Wire dump:
3160
+
3161
+ = Request
3162
+
3163
+ ! CONNECTION ESTABLISHED
3164
+ POST /interop/std HTTP/1.1
3165
+ SOAPAction: "http://soapinterop.org/"
3166
+ Content-Type: text/xml; charset=utf-8
3167
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3168
+ Date: Sat Jul 23 22:14:54 JST 2005
3169
+ Content-Length: 471
3170
+ Host: www.whitemesa.net
3171
+
3172
+ <?xml version="1.0" encoding="utf-8" ?>
3173
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3174
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3175
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3176
+ <env:Body>
3177
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
3178
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3179
+ <inputDate xsi:type="xsd:dateTime">2002-05T16:52:20Z</inputDate>
3180
+ </n1:echoDate>
3181
+ </env:Body>
3182
+ </env:Envelope>
3183
+
3184
+ = Response
3185
+
3186
+ HTTP/1.1 200 OK
3187
+ Date: Sat, 23 Jul 2005 13:28:55 GMT
3188
+ Server: WhiteMesa SOAP Server/3.2
3189
+ Content-Type: text/xml; charset="utf-8"
3190
+ Content-Length: 346
3191
+ Connection: close
3192
+
3193
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDateResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>2002-05-01T16:52:20Z</return></m:echoDateResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3194
+
3195
+
3196
+
3197
+ ##########
3198
+ # echoDate (no sec part: junk)
3199
+
3200
+ Result: OK
3201
+
3202
+ Wire dump:
3203
+
3204
+ = Request
3205
+
3206
+ ! CONNECTION ESTABLISHED
3207
+ POST /interop/std HTTP/1.1
3208
+ SOAPAction: "http://soapinterop.org/"
3209
+ Content-Type: text/xml; charset=utf-8
3210
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3211
+ Date: Sat Jul 23 22:14:55 JST 2005
3212
+ Content-Length: 471
3213
+ Host: www.whitemesa.net
3214
+
3215
+ <?xml version="1.0" encoding="utf-8" ?>
3216
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3217
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3218
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3219
+ <env:Body>
3220
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
3221
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3222
+ <inputDate xsi:type="xsd:dateTime">2002-05-18T16:52Z</inputDate>
3223
+ </n1:echoDate>
3224
+ </env:Body>
3225
+ </env:Envelope>
3226
+
3227
+ = Response
3228
+
3229
+ HTTP/1.1 500 Internal Server Error
3230
+ Date: Sat, 23 Jul 2005 13:28:56 GMT
3231
+ Server: WhiteMesa SOAP Server/3.2
3232
+ Content-Type: text/xml; charset="utf-8"
3233
+ Content-Length: 392
3234
+ Connection: close
3235
+
3236
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDate'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3237
+
3238
+
3239
+
3240
+ ##########
3241
+ # echoDate (empty: junk)
3242
+
3243
+ Result: OK
3244
+
3245
+ Wire dump:
3246
+
3247
+ = Request
3248
+
3249
+ ! CONNECTION ESTABLISHED
3250
+ POST /interop/std HTTP/1.1
3251
+ SOAPAction: "http://soapinterop.org/"
3252
+ Content-Type: text/xml; charset=utf-8
3253
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3254
+ Date: Sat Jul 23 22:14:55 JST 2005
3255
+ Content-Length: 454
3256
+ Host: www.whitemesa.net
3257
+
3258
+ <?xml version="1.0" encoding="utf-8" ?>
3259
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3260
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3261
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3262
+ <env:Body>
3263
+ <n1:echoDate xmlns:n1="http://soapinterop.org/"
3264
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3265
+ <inputDate xsi:type="xsd:dateTime"></inputDate>
3266
+ </n1:echoDate>
3267
+ </env:Body>
3268
+ </env:Envelope>
3269
+
3270
+ = Response
3271
+
3272
+ HTTP/1.1 500 Internal Server Error
3273
+ Date: Sat, 23 Jul 2005 13:28:57 GMT
3274
+ Server: WhiteMesa SOAP Server/3.2
3275
+ Content-Type: text/xml; charset="utf-8"
3276
+ Content-Length: 392
3277
+ Connection: close
3278
+
3279
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDate'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3280
+
3281
+
3282
+
3283
+ ##########
3284
+ # echoBase64 (xsd:base64Binary)
3285
+
3286
+ Result: Expected = "Hello (���ܸ�Japanese) ����ˤ���" // Actual = "SGVsbG8gKMb8y9y47EphcGFuZXNlKSCks6TzpMukwaTP"
3287
+
3288
+ Wire dump:
3289
+
3290
+ = Request
3291
+
3292
+ ! CONNECTION ESTABLISHED
3293
+ POST /interop/std HTTP/1.1
3294
+ SOAPAction: "http://soapinterop.org/"
3295
+ Content-Type: text/xml; charset=utf-8
3296
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3297
+ Date: Sat Jul 23 22:14:56 JST 2005
3298
+ Content-Length: 510
3299
+ Host: www.whitemesa.net
3300
+
3301
+ <?xml version="1.0" encoding="utf-8" ?>
3302
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3303
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3304
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3305
+ <env:Body>
3306
+ <n1:echoBase64 xmlns:n1="http://soapinterop.org/"
3307
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3308
+ <inputBase64 xsi:type="xsd:base64Binary">SGVsbG8gKMb8y9y47EphcGFuZXNlKSCks6TzpMukwaTP</inputBase64>
3309
+ </n1:echoBase64>
3310
+ </env:Body>
3311
+ </env:Envelope>
3312
+
3313
+ = Response
3314
+
3315
+ HTTP/1.1 200 OK
3316
+ Date: Sat, 23 Jul 2005 13:28:58 GMT
3317
+ Server: WhiteMesa SOAP Server/3.2
3318
+ Content-Type: text/xml; charset="utf-8"
3319
+ Content-Length: 374
3320
+ Connection: close
3321
+
3322
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoBase64Response SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>SGVsbG8gKMb8y9y47EphcGFuZXNlKSCks6TzpMukwaTP</return></m:echoBase64Response></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3323
+
3324
+
3325
+
3326
+ ##########
3327
+ # echoBase64 (xsd:base64Binary, empty)
3328
+
3329
+ Result: Expected = "" // Actual = #<SOAP::Mapping::Object:0x..fdbe42666>
3330
+
3331
+ Wire dump:
3332
+
3333
+ = Request
3334
+
3335
+ ! CONNECTION ESTABLISHED
3336
+ POST /interop/std HTTP/1.1
3337
+ SOAPAction: "http://soapinterop.org/"
3338
+ Content-Type: text/xml; charset=utf-8
3339
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3340
+ Date: Sat Jul 23 22:14:57 JST 2005
3341
+ Content-Length: 466
3342
+ Host: www.whitemesa.net
3343
+
3344
+ <?xml version="1.0" encoding="utf-8" ?>
3345
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3346
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3347
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3348
+ <env:Body>
3349
+ <n1:echoBase64 xmlns:n1="http://soapinterop.org/"
3350
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3351
+ <inputBase64 xsi:type="xsd:base64Binary"></inputBase64>
3352
+ </n1:echoBase64>
3353
+ </env:Body>
3354
+ </env:Envelope>
3355
+
3356
+ = Response
3357
+
3358
+ HTTP/1.1 200 OK
3359
+ Date: Sat, 23 Jul 2005 13:28:59 GMT
3360
+ Server: WhiteMesa SOAP Server/3.2
3361
+ Content-Type: text/xml; charset="utf-8"
3362
+ Content-Length: 323
3363
+ Connection: close
3364
+
3365
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoBase64Response SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return /></m:echoBase64Response></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3366
+
3367
+
3368
+
3369
+ ##########
3370
+ # echoBase64 (SOAP-ENC:base64)
3371
+
3372
+ Result: Expected = "Hello (���ܸ�Japanese) ����ˤ���" // Actual = "SGVsbG8gKMb8y9y47EphcGFuZXNlKSCks6TzpMukwaTP"
3373
+
3374
+ Wire dump:
3375
+
3376
+ = Request
3377
+
3378
+ ! CONNECTION ESTABLISHED
3379
+ POST /interop/std HTTP/1.1
3380
+ SOAPAction: "http://soapinterop.org/"
3381
+ Content-Type: text/xml; charset=utf-8
3382
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3383
+ Date: Sat Jul 23 22:14:58 JST 2005
3384
+ Content-Length: 566
3385
+ Host: www.whitemesa.net
3386
+
3387
+ <?xml version="1.0" encoding="utf-8" ?>
3388
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3389
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3390
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3391
+ <env:Body>
3392
+ <n1:echoBase64 xmlns:n1="http://soapinterop.org/"
3393
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3394
+ <inputBase64 xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
3395
+ xsi:type="n2:base64">SGVsbG8gKMb8y9y47EphcGFuZXNlKSCks6TzpMukwaTP</inputBase64>
3396
+ </n1:echoBase64>
3397
+ </env:Body>
3398
+ </env:Envelope>
3399
+
3400
+ = Response
3401
+
3402
+ HTTP/1.1 200 OK
3403
+ Date: Sat, 23 Jul 2005 13:29:00 GMT
3404
+ Server: WhiteMesa SOAP Server/3.2
3405
+ Content-Type: text/xml; charset="utf-8"
3406
+ Content-Length: 374
3407
+ Connection: close
3408
+
3409
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoBase64Response SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>SGVsbG8gKMb8y9y47EphcGFuZXNlKSCks6TzpMukwaTP</return></m:echoBase64Response></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3410
+
3411
+
3412
+
3413
+ ##########
3414
+ # echoBase64 (\0)
3415
+
3416
+ Result: Expected = "\000" // Actual = "AA=="
3417
+
3418
+ Wire dump:
3419
+
3420
+ = Request
3421
+
3422
+ ! CONNECTION ESTABLISHED
3423
+ POST /interop/std HTTP/1.1
3424
+ SOAPAction: "http://soapinterop.org/"
3425
+ Content-Type: text/xml; charset=utf-8
3426
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3427
+ Date: Sat Jul 23 22:14:59 JST 2005
3428
+ Content-Length: 526
3429
+ Host: www.whitemesa.net
3430
+
3431
+ <?xml version="1.0" encoding="utf-8" ?>
3432
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3433
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3434
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3435
+ <env:Body>
3436
+ <n1:echoBase64 xmlns:n1="http://soapinterop.org/"
3437
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3438
+ <inputBase64 xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
3439
+ xsi:type="n2:base64">AA==</inputBase64>
3440
+ </n1:echoBase64>
3441
+ </env:Body>
3442
+ </env:Envelope>
3443
+
3444
+ = Response
3445
+
3446
+ HTTP/1.1 200 OK
3447
+ Date: Sat, 23 Jul 2005 13:29:01 GMT
3448
+ Server: WhiteMesa SOAP Server/3.2
3449
+ Content-Type: text/xml; charset="utf-8"
3450
+ Content-Length: 334
3451
+ Connection: close
3452
+
3453
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoBase64Response SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>AA==</return></m:echoBase64Response></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3454
+
3455
+
3456
+
3457
+ ##########
3458
+ # echoBase64 (\0a\0)
3459
+
3460
+ Result: Expected = "a\000b\000\000c\000\000\000" // Actual = "YQBiAABjAAAA"
3461
+
3462
+ Wire dump:
3463
+
3464
+ = Request
3465
+
3466
+ ! CONNECTION ESTABLISHED
3467
+ POST /interop/std HTTP/1.1
3468
+ SOAPAction: "http://soapinterop.org/"
3469
+ Content-Type: text/xml; charset=utf-8
3470
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3471
+ Date: Sat Jul 23 22:15:00 JST 2005
3472
+ Content-Length: 534
3473
+ Host: www.whitemesa.net
3474
+
3475
+ <?xml version="1.0" encoding="utf-8" ?>
3476
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3477
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3478
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3479
+ <env:Body>
3480
+ <n1:echoBase64 xmlns:n1="http://soapinterop.org/"
3481
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3482
+ <inputBase64 xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
3483
+ xsi:type="n2:base64">YQBiAABjAAAA</inputBase64>
3484
+ </n1:echoBase64>
3485
+ </env:Body>
3486
+ </env:Envelope>
3487
+
3488
+ = Response
3489
+
3490
+ HTTP/1.1 200 OK
3491
+ Date: Sat, 23 Jul 2005 13:29:01 GMT
3492
+ Server: WhiteMesa SOAP Server/3.2
3493
+ Content-Type: text/xml; charset="utf-8"
3494
+ Content-Length: 342
3495
+ Connection: close
3496
+
3497
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoBase64Response SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>YQBiAABjAAAA</return></m:echoBase64Response></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3498
+
3499
+
3500
+
3501
+ ##########
3502
+ # echoBase64 (-: junk)
3503
+
3504
+ Result: OK
3505
+
3506
+ Wire dump:
3507
+
3508
+ = Request
3509
+
3510
+ ! CONNECTION ESTABLISHED
3511
+ POST /interop/std HTTP/1.1
3512
+ SOAPAction: "http://soapinterop.org/"
3513
+ Content-Type: text/xml; charset=utf-8
3514
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3515
+ Date: Sat Jul 23 22:15:01 JST 2005
3516
+ Content-Length: 523
3517
+ Host: www.whitemesa.net
3518
+
3519
+ <?xml version="1.0" encoding="utf-8" ?>
3520
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3521
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3522
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3523
+ <env:Body>
3524
+ <n1:echoBase64 xmlns:n1="http://soapinterop.org/"
3525
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3526
+ <inputBase64 xmlns:n2="http://schemas.xmlsoap.org/soap/encoding/"
3527
+ xsi:type="n2:base64">-</inputBase64>
3528
+ </n1:echoBase64>
3529
+ </env:Body>
3530
+ </env:Envelope>
3531
+
3532
+ = Response
3533
+
3534
+ HTTP/1.1 500 Internal Server Error
3535
+ Date: Sat, 23 Jul 2005 13:29:02 GMT
3536
+ Server: WhiteMesa SOAP Server/3.2
3537
+ Content-Type: text/xml; charset="utf-8"
3538
+ Content-Length: 394
3539
+ Connection: close
3540
+
3541
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputBase64'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3542
+
3543
+
3544
+
3545
+ ##########
3546
+ # echoHexBinary
3547
+
3548
+ Result: Expected = "Hello (���ܸ�Japanese) ����ˤ���" // Actual = "48656C6C6F2028C6FCCBDCB8EC4A6170616E6573652920A4B3A4F3A4CBA4C1A4CF"
3549
+
3550
+ Wire dump:
3551
+
3552
+ = Request
3553
+
3554
+ ! CONNECTION ESTABLISHED
3555
+ POST /interop/std HTTP/1.1
3556
+ SOAPAction: "http://soapinterop.org/"
3557
+ Content-Type: text/xml; charset=utf-8
3558
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3559
+ Date: Sat Jul 23 22:15:02 JST 2005
3560
+ Content-Length: 541
3561
+ Host: www.whitemesa.net
3562
+
3563
+ <?xml version="1.0" encoding="utf-8" ?>
3564
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3565
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3566
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3567
+ <env:Body>
3568
+ <n1:echoHexBinary xmlns:n1="http://soapinterop.org/"
3569
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3570
+ <inputHexBinary xsi:type="xsd:hexBinary">48656C6C6F2028C6FCCBDCB8EC4A6170616E6573652920A4B3A4F3A4CBA4C1A4CF</inputHexBinary>
3571
+ </n1:echoHexBinary>
3572
+ </env:Body>
3573
+ </env:Envelope>
3574
+
3575
+ = Response
3576
+
3577
+ HTTP/1.1 200 OK
3578
+ Date: Sat, 23 Jul 2005 13:29:03 GMT
3579
+ Server: WhiteMesa SOAP Server/3.2
3580
+ Content-Type: text/xml; charset="utf-8"
3581
+ Content-Length: 402
3582
+ Connection: close
3583
+
3584
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoHexBinaryResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>48656C6C6F2028C6FCCBDCB8EC4A6170616E6573652920A4B3A4F3A4CBA4C1A4CF</return></m:echoHexBinaryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3585
+
3586
+
3587
+
3588
+ ##########
3589
+ # echoHexBinary(empty)
3590
+
3591
+ Result: Expected = "" // Actual = #<SOAP::Mapping::Object:0x..fdbe2230c>
3592
+
3593
+ Wire dump:
3594
+
3595
+ = Request
3596
+
3597
+ ! CONNECTION ESTABLISHED
3598
+ POST /interop/std HTTP/1.1
3599
+ SOAPAction: "http://soapinterop.org/"
3600
+ Content-Type: text/xml; charset=utf-8
3601
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3602
+ Date: Sat Jul 23 22:15:03 JST 2005
3603
+ Content-Length: 475
3604
+ Host: www.whitemesa.net
3605
+
3606
+ <?xml version="1.0" encoding="utf-8" ?>
3607
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3608
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3609
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3610
+ <env:Body>
3611
+ <n1:echoHexBinary xmlns:n1="http://soapinterop.org/"
3612
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3613
+ <inputHexBinary xsi:type="xsd:hexBinary"></inputHexBinary>
3614
+ </n1:echoHexBinary>
3615
+ </env:Body>
3616
+ </env:Envelope>
3617
+
3618
+ = Response
3619
+
3620
+ HTTP/1.1 200 OK
3621
+ Date: Sat, 23 Jul 2005 13:29:04 GMT
3622
+ Server: WhiteMesa SOAP Server/3.2
3623
+ Content-Type: text/xml; charset="utf-8"
3624
+ Content-Length: 329
3625
+ Connection: close
3626
+
3627
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoHexBinaryResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return /></m:echoHexBinaryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3628
+
3629
+
3630
+
3631
+ ##########
3632
+ # echoHexBinary(\0)
3633
+
3634
+ Result: Expected = "\000" // Actual = "00"
3635
+
3636
+ Wire dump:
3637
+
3638
+ = Request
3639
+
3640
+ ! CONNECTION ESTABLISHED
3641
+ POST /interop/std HTTP/1.1
3642
+ SOAPAction: "http://soapinterop.org/"
3643
+ Content-Type: text/xml; charset=utf-8
3644
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3645
+ Date: Sat Jul 23 22:15:04 JST 2005
3646
+ Content-Length: 477
3647
+ Host: www.whitemesa.net
3648
+
3649
+ <?xml version="1.0" encoding="utf-8" ?>
3650
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3651
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3652
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3653
+ <env:Body>
3654
+ <n1:echoHexBinary xmlns:n1="http://soapinterop.org/"
3655
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3656
+ <inputHexBinary xsi:type="xsd:hexBinary">00</inputHexBinary>
3657
+ </n1:echoHexBinary>
3658
+ </env:Body>
3659
+ </env:Envelope>
3660
+
3661
+ = Response
3662
+
3663
+ HTTP/1.1 200 OK
3664
+ Date: Sat, 23 Jul 2005 13:29:05 GMT
3665
+ Server: WhiteMesa SOAP Server/3.2
3666
+ Content-Type: text/xml; charset="utf-8"
3667
+ Content-Length: 338
3668
+ Connection: close
3669
+
3670
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoHexBinaryResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>00</return></m:echoHexBinaryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3671
+
3672
+
3673
+
3674
+ ##########
3675
+ # echoHexBinary(\0a\0)
3676
+
3677
+ Result: Expected = "a\000b\000\000c\000\000\000" // Actual = "610062000063000000"
3678
+
3679
+ Wire dump:
3680
+
3681
+ = Request
3682
+
3683
+ ! CONNECTION ESTABLISHED
3684
+ POST /interop/std HTTP/1.1
3685
+ SOAPAction: "http://soapinterop.org/"
3686
+ Content-Type: text/xml; charset=utf-8
3687
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3688
+ Date: Sat Jul 23 22:15:04 JST 2005
3689
+ Content-Length: 493
3690
+ Host: www.whitemesa.net
3691
+
3692
+ <?xml version="1.0" encoding="utf-8" ?>
3693
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3694
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3695
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3696
+ <env:Body>
3697
+ <n1:echoHexBinary xmlns:n1="http://soapinterop.org/"
3698
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3699
+ <inputHexBinary xsi:type="xsd:hexBinary">610062000063000000</inputHexBinary>
3700
+ </n1:echoHexBinary>
3701
+ </env:Body>
3702
+ </env:Envelope>
3703
+
3704
+ = Response
3705
+
3706
+ HTTP/1.1 200 OK
3707
+ Date: Sat, 23 Jul 2005 13:29:06 GMT
3708
+ Server: WhiteMesa SOAP Server/3.2
3709
+ Content-Type: text/xml; charset="utf-8"
3710
+ Content-Length: 354
3711
+ Connection: close
3712
+
3713
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoHexBinaryResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>610062000063000000</return></m:echoHexBinaryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3714
+
3715
+
3716
+
3717
+ ##########
3718
+ # echoHexBinary(lower case)
3719
+
3720
+ Result: Expected = "lower case" // Actual = "6C6F7765722063617365"
3721
+
3722
+ Wire dump:
3723
+
3724
+ = Request
3725
+
3726
+ ! CONNECTION ESTABLISHED
3727
+ POST /interop/std HTTP/1.1
3728
+ SOAPAction: "http://soapinterop.org/"
3729
+ Content-Type: text/xml; charset=utf-8
3730
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3731
+ Date: Sat Jul 23 22:15:05 JST 2005
3732
+ Content-Length: 495
3733
+ Host: www.whitemesa.net
3734
+
3735
+ <?xml version="1.0" encoding="utf-8" ?>
3736
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3737
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3738
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3739
+ <env:Body>
3740
+ <n1:echoHexBinary xmlns:n1="http://soapinterop.org/"
3741
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3742
+ <inputHexBinary xsi:type="xsd:hexBinary">6c6f7765722063617365</inputHexBinary>
3743
+ </n1:echoHexBinary>
3744
+ </env:Body>
3745
+ </env:Envelope>
3746
+
3747
+ = Response
3748
+
3749
+ HTTP/1.1 200 OK
3750
+ Date: Sat, 23 Jul 2005 13:29:07 GMT
3751
+ Server: WhiteMesa SOAP Server/3.2
3752
+ Content-Type: text/xml; charset="utf-8"
3753
+ Content-Length: 356
3754
+ Connection: close
3755
+
3756
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoHexBinaryResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>6C6F7765722063617365</return></m:echoHexBinaryResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3757
+
3758
+
3759
+
3760
+ ##########
3761
+ # echoHexBinary (0FG7: junk)
3762
+
3763
+ Result: OK
3764
+
3765
+ Wire dump:
3766
+
3767
+ = Request
3768
+
3769
+ ! CONNECTION ESTABLISHED
3770
+ POST /interop/std HTTP/1.1
3771
+ SOAPAction: "http://soapinterop.org/"
3772
+ Content-Type: text/xml; charset=utf-8
3773
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3774
+ Date: Sat Jul 23 22:15:06 JST 2005
3775
+ Content-Length: 479
3776
+ Host: www.whitemesa.net
3777
+
3778
+ <?xml version="1.0" encoding="utf-8" ?>
3779
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3780
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3781
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3782
+ <env:Body>
3783
+ <n1:echoHexBinary xmlns:n1="http://soapinterop.org/"
3784
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3785
+ <inputHexBinary xsi:type="xsd:hexBinary">0FG7</inputHexBinary>
3786
+ </n1:echoHexBinary>
3787
+ </env:Body>
3788
+ </env:Envelope>
3789
+
3790
+ = Response
3791
+
3792
+ HTTP/1.1 500 Internal Server Error
3793
+ Date: Sat, 23 Jul 2005 13:29:08 GMT
3794
+ Server: WhiteMesa SOAP Server/3.2
3795
+ Content-Type: text/xml; charset="utf-8"
3796
+ Content-Length: 397
3797
+ Connection: close
3798
+
3799
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputHexBinary'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3800
+
3801
+
3802
+
3803
+ ##########
3804
+ # echoBoolean (true)
3805
+
3806
+ Result: Expected = true // Actual = "1"
3807
+
3808
+ Wire dump:
3809
+
3810
+ = Request
3811
+
3812
+ ! CONNECTION ESTABLISHED
3813
+ POST /interop/std HTTP/1.1
3814
+ SOAPAction: "http://soapinterop.org/"
3815
+ Content-Type: text/xml; charset=utf-8
3816
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3817
+ Date: Sat Jul 23 22:15:07 JST 2005
3818
+ Content-Length: 469
3819
+ Host: www.whitemesa.net
3820
+
3821
+ <?xml version="1.0" encoding="utf-8" ?>
3822
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3823
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3824
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3825
+ <env:Body>
3826
+ <n1:echoBoolean xmlns:n1="http://soapinterop.org/"
3827
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3828
+ <inputBoolean xsi:type="xsd:boolean">true</inputBoolean>
3829
+ </n1:echoBoolean>
3830
+ </env:Body>
3831
+ </env:Envelope>
3832
+
3833
+ = Response
3834
+
3835
+ HTTP/1.1 200 OK
3836
+ Date: Sat, 23 Jul 2005 13:29:09 GMT
3837
+ Server: WhiteMesa SOAP Server/3.2
3838
+ Content-Type: text/xml; charset="utf-8"
3839
+ Content-Length: 333
3840
+ Connection: close
3841
+
3842
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoBooleanResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>1</return></m:echoBooleanResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3843
+
3844
+
3845
+
3846
+ ##########
3847
+ # echoBoolean (false)
3848
+
3849
+ Result: Expected = false // Actual = "0"
3850
+
3851
+ Wire dump:
3852
+
3853
+ = Request
3854
+
3855
+ ! CONNECTION ESTABLISHED
3856
+ POST /interop/std HTTP/1.1
3857
+ SOAPAction: "http://soapinterop.org/"
3858
+ Content-Type: text/xml; charset=utf-8
3859
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3860
+ Date: Sat Jul 23 22:15:08 JST 2005
3861
+ Content-Length: 470
3862
+ Host: www.whitemesa.net
3863
+
3864
+ <?xml version="1.0" encoding="utf-8" ?>
3865
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3866
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3867
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3868
+ <env:Body>
3869
+ <n1:echoBoolean xmlns:n1="http://soapinterop.org/"
3870
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3871
+ <inputBoolean xsi:type="xsd:boolean">false</inputBoolean>
3872
+ </n1:echoBoolean>
3873
+ </env:Body>
3874
+ </env:Envelope>
3875
+
3876
+ = Response
3877
+
3878
+ HTTP/1.1 200 OK
3879
+ Date: Sat, 23 Jul 2005 13:29:10 GMT
3880
+ Server: WhiteMesa SOAP Server/3.2
3881
+ Content-Type: text/xml; charset="utf-8"
3882
+ Content-Length: 333
3883
+ Connection: close
3884
+
3885
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoBooleanResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>0</return></m:echoBooleanResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3886
+
3887
+
3888
+
3889
+ ##########
3890
+ # echoBoolean (junk)
3891
+
3892
+ Result: OK
3893
+
3894
+ Wire dump:
3895
+
3896
+ = Request
3897
+
3898
+ ! CONNECTION ESTABLISHED
3899
+ POST /interop/std HTTP/1.1
3900
+ SOAPAction: "http://soapinterop.org/"
3901
+ Content-Type: text/xml; charset=utf-8
3902
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3903
+ Date: Sat Jul 23 22:15:09 JST 2005
3904
+ Content-Length: 469
3905
+ Host: www.whitemesa.net
3906
+
3907
+ <?xml version="1.0" encoding="utf-8" ?>
3908
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3909
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3910
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3911
+ <env:Body>
3912
+ <n1:echoBoolean xmlns:n1="http://soapinterop.org/"
3913
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3914
+ <inputBoolean xsi:type="xsd:boolean">junk</inputBoolean>
3915
+ </n1:echoBoolean>
3916
+ </env:Body>
3917
+ </env:Envelope>
3918
+
3919
+ = Response
3920
+
3921
+ HTTP/1.1 500 Internal Server Error
3922
+ Date: Sat, 23 Jul 2005 13:29:11 GMT
3923
+ Server: WhiteMesa SOAP Server/3.2
3924
+ Content-Type: text/xml; charset="utf-8"
3925
+ Content-Length: 395
3926
+ Connection: close
3927
+
3928
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputBoolean'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3929
+
3930
+
3931
+
3932
+ ##########
3933
+ # echoDecimal (123456)
3934
+
3935
+ Result: OK
3936
+
3937
+ Wire dump:
3938
+
3939
+ = Request
3940
+
3941
+ ! CONNECTION ESTABLISHED
3942
+ POST /interop/std HTTP/1.1
3943
+ SOAPAction: "http://soapinterop.org/"
3944
+ Content-Type: text/xml; charset=utf-8
3945
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3946
+ Date: Sat Jul 23 22:15:10 JST 2005
3947
+ Content-Length: 483
3948
+ Host: www.whitemesa.net
3949
+
3950
+ <?xml version="1.0" encoding="utf-8" ?>
3951
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3952
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3953
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3954
+ <env:Body>
3955
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
3956
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
3957
+ <inputDecimal xsi:type="xsd:decimal">123456789012345678</inputDecimal>
3958
+ </n1:echoDecimal>
3959
+ </env:Body>
3960
+ </env:Envelope>
3961
+
3962
+ = Response
3963
+
3964
+ HTTP/1.1 200 OK
3965
+ Date: Sat, 23 Jul 2005 13:29:11 GMT
3966
+ Server: WhiteMesa SOAP Server/3.2
3967
+ Content-Type: text/xml; charset="utf-8"
3968
+ Content-Length: 350
3969
+ Connection: close
3970
+
3971
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDecimalResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>123456789012345678</return></m:echoDecimalResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
3972
+
3973
+
3974
+
3975
+ ##########
3976
+ # echoDecimal (+0.123)
3977
+
3978
+ Result: OK
3979
+
3980
+ Wire dump:
3981
+
3982
+ = Request
3983
+
3984
+ ! CONNECTION ESTABLISHED
3985
+ POST /interop/std HTTP/1.1
3986
+ SOAPAction: "http://soapinterop.org/"
3987
+ Content-Type: text/xml; charset=utf-8
3988
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
3989
+ Date: Sat Jul 23 22:15:11 JST 2005
3990
+ Content-Length: 484
3991
+ Host: www.whitemesa.net
3992
+
3993
+ <?xml version="1.0" encoding="utf-8" ?>
3994
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3995
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
3996
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3997
+ <env:Body>
3998
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
3999
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4000
+ <inputDecimal xsi:type="xsd:decimal">0.12345678901234567</inputDecimal>
4001
+ </n1:echoDecimal>
4002
+ </env:Body>
4003
+ </env:Envelope>
4004
+
4005
+ = Response
4006
+
4007
+ HTTP/1.1 200 OK
4008
+ Date: Sat, 23 Jul 2005 13:29:12 GMT
4009
+ Server: WhiteMesa SOAP Server/3.2
4010
+ Content-Type: text/xml; charset="utf-8"
4011
+ Content-Length: 351
4012
+ Connection: close
4013
+
4014
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDecimalResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>0.12345678901234567</return></m:echoDecimalResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4015
+
4016
+
4017
+
4018
+ ##########
4019
+ # echoDecimal (.00000123)
4020
+
4021
+ Result: OK
4022
+
4023
+ Wire dump:
4024
+
4025
+ = Request
4026
+
4027
+ ! CONNECTION ESTABLISHED
4028
+ POST /interop/std HTTP/1.1
4029
+ SOAPAction: "http://soapinterop.org/"
4030
+ Content-Type: text/xml; charset=utf-8
4031
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
4032
+ Date: Sat Jul 23 22:15:12 JST 2005
4033
+ Content-Length: 484
4034
+ Host: www.whitemesa.net
4035
+
4036
+ <?xml version="1.0" encoding="utf-8" ?>
4037
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4038
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
4039
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4040
+ <env:Body>
4041
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
4042
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4043
+ <inputDecimal xsi:type="xsd:decimal">0.00000123456789012</inputDecimal>
4044
+ </n1:echoDecimal>
4045
+ </env:Body>
4046
+ </env:Envelope>
4047
+
4048
+ = Response
4049
+
4050
+ HTTP/1.1 200 OK
4051
+ Date: Sat, 23 Jul 2005 13:29:13 GMT
4052
+ Server: WhiteMesa SOAP Server/3.2
4053
+ Content-Type: text/xml; charset="utf-8"
4054
+ Content-Length: 351
4055
+ Connection: close
4056
+
4057
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDecimalResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>0.00000123456789012</return></m:echoDecimalResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4058
+
4059
+
4060
+
4061
+ ##########
4062
+ # echoDecimal (-.00000123)
4063
+
4064
+ Result: OK
4065
+
4066
+ Wire dump:
4067
+
4068
+ = Request
4069
+
4070
+ ! CONNECTION ESTABLISHED
4071
+ POST /interop/std HTTP/1.1
4072
+ SOAPAction: "http://soapinterop.org/"
4073
+ Content-Type: text/xml; charset=utf-8
4074
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
4075
+ Date: Sat Jul 23 22:15:13 JST 2005
4076
+ Content-Length: 485
4077
+ Host: www.whitemesa.net
4078
+
4079
+ <?xml version="1.0" encoding="utf-8" ?>
4080
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4081
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
4082
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4083
+ <env:Body>
4084
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
4085
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4086
+ <inputDecimal xsi:type="xsd:decimal">-0.00000123456789012</inputDecimal>
4087
+ </n1:echoDecimal>
4088
+ </env:Body>
4089
+ </env:Envelope>
4090
+
4091
+ = Response
4092
+
4093
+ HTTP/1.1 200 OK
4094
+ Date: Sat, 23 Jul 2005 13:29:14 GMT
4095
+ Server: WhiteMesa SOAP Server/3.2
4096
+ Content-Type: text/xml; charset="utf-8"
4097
+ Content-Length: 352
4098
+ Connection: close
4099
+
4100
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDecimalResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>-0.00000123456789012</return></m:echoDecimalResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4101
+
4102
+
4103
+
4104
+ ##########
4105
+ # echoDecimal (-123.456)
4106
+
4107
+ Result: OK
4108
+
4109
+ Wire dump:
4110
+
4111
+ = Request
4112
+
4113
+ ! CONNECTION ESTABLISHED
4114
+ POST /interop/std HTTP/1.1
4115
+ SOAPAction: "http://soapinterop.org/"
4116
+ Content-Type: text/xml; charset=utf-8
4117
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
4118
+ Date: Sat Jul 23 22:15:14 JST 2005
4119
+ Content-Length: 485
4120
+ Host: www.whitemesa.net
4121
+
4122
+ <?xml version="1.0" encoding="utf-8" ?>
4123
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4124
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
4125
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4126
+ <env:Body>
4127
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
4128
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4129
+ <inputDecimal xsi:type="xsd:decimal">-123456789012345.008</inputDecimal>
4130
+ </n1:echoDecimal>
4131
+ </env:Body>
4132
+ </env:Envelope>
4133
+
4134
+ = Response
4135
+
4136
+ HTTP/1.1 200 OK
4137
+ Date: Sat, 23 Jul 2005 13:29:15 GMT
4138
+ Server: WhiteMesa SOAP Server/3.2
4139
+ Content-Type: text/xml; charset="utf-8"
4140
+ Content-Length: 352
4141
+ Connection: close
4142
+
4143
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDecimalResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>-123456789012345.008</return></m:echoDecimalResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4144
+
4145
+
4146
+
4147
+ ##########
4148
+ # echoDecimal (-123.)
4149
+
4150
+ Result: OK
4151
+
4152
+ Wire dump:
4153
+
4154
+ = Request
4155
+
4156
+ ! CONNECTION ESTABLISHED
4157
+ POST /interop/std HTTP/1.1
4158
+ SOAPAction: "http://soapinterop.org/"
4159
+ Content-Type: text/xml; charset=utf-8
4160
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
4161
+ Date: Sat Jul 23 22:15:14 JST 2005
4162
+ Content-Length: 483
4163
+ Host: www.whitemesa.net
4164
+
4165
+ <?xml version="1.0" encoding="utf-8" ?>
4166
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4167
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
4168
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4169
+ <env:Body>
4170
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
4171
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4172
+ <inputDecimal xsi:type="xsd:decimal">-12345678901234567</inputDecimal>
4173
+ </n1:echoDecimal>
4174
+ </env:Body>
4175
+ </env:Envelope>
4176
+
4177
+ = Response
4178
+
4179
+ HTTP/1.1 200 OK
4180
+ Date: Sat, 23 Jul 2005 13:29:16 GMT
4181
+ Server: WhiteMesa SOAP Server/3.2
4182
+ Content-Type: text/xml; charset="utf-8"
4183
+ Content-Length: 350
4184
+ Connection: close
4185
+
4186
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><m:echoDecimalResponse SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:m="http://soapinterop.org/"><return>-12345678901234567</return></m:echoDecimalResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4187
+
4188
+
4189
+
4190
+ ##########
4191
+ # echoDecimal (0.000a: junk)
4192
+
4193
+ Result: OK
4194
+
4195
+ Wire dump:
4196
+
4197
+ = Request
4198
+
4199
+ ! CONNECTION ESTABLISHED
4200
+ POST /interop/std HTTP/1.1
4201
+ SOAPAction: "http://soapinterop.org/"
4202
+ Content-Type: text/xml; charset=utf-8
4203
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
4204
+ Date: Sat Jul 23 22:15:15 JST 2005
4205
+ Content-Length: 484
4206
+ Host: www.whitemesa.net
4207
+
4208
+ <?xml version="1.0" encoding="utf-8" ?>
4209
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4210
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
4211
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4212
+ <env:Body>
4213
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
4214
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4215
+ <inputDecimal xsi:type="xsd:decimal">0.0000000000000000a</inputDecimal>
4216
+ </n1:echoDecimal>
4217
+ </env:Body>
4218
+ </env:Envelope>
4219
+
4220
+ = Response
4221
+
4222
+ HTTP/1.1 500 Internal Server Error
4223
+ Date: Sat, 23 Jul 2005 13:29:17 GMT
4224
+ Server: WhiteMesa SOAP Server/3.2
4225
+ Content-Type: text/xml; charset="utf-8"
4226
+ Content-Length: 395
4227
+ Connection: close
4228
+
4229
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDecimal'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4230
+
4231
+
4232
+
4233
+ ##########
4234
+ # echoDecimal (00a.0001: junk)
4235
+
4236
+ Result: OK
4237
+
4238
+ Wire dump:
4239
+
4240
+ = Request
4241
+
4242
+ ! CONNECTION ESTABLISHED
4243
+ POST /interop/std HTTP/1.1
4244
+ SOAPAction: "http://soapinterop.org/"
4245
+ Content-Type: text/xml; charset=utf-8
4246
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
4247
+ Date: Sat Jul 23 22:15:16 JST 2005
4248
+ Content-Length: 484
4249
+ Host: www.whitemesa.net
4250
+
4251
+ <?xml version="1.0" encoding="utf-8" ?>
4252
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4253
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
4254
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4255
+ <env:Body>
4256
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
4257
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4258
+ <inputDecimal xsi:type="xsd:decimal">00a.000000000000001</inputDecimal>
4259
+ </n1:echoDecimal>
4260
+ </env:Body>
4261
+ </env:Envelope>
4262
+
4263
+ = Response
4264
+
4265
+ HTTP/1.1 500 Internal Server Error
4266
+ Date: Sat, 23 Jul 2005 13:29:18 GMT
4267
+ Server: WhiteMesa SOAP Server/3.2
4268
+ Content-Type: text/xml; charset="utf-8"
4269
+ Content-Length: 395
4270
+ Connection: close
4271
+
4272
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDecimal'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4273
+
4274
+
4275
+
4276
+ ##########
4277
+ # echoDecimal (+-5: junk)
4278
+
4279
+ Result: OK
4280
+
4281
+ Wire dump:
4282
+
4283
+ = Request
4284
+
4285
+ ! CONNECTION ESTABLISHED
4286
+ POST /interop/std HTTP/1.1
4287
+ SOAPAction: "http://soapinterop.org/"
4288
+ Content-Type: text/xml; charset=utf-8
4289
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
4290
+ Date: Sat Jul 23 22:15:17 JST 2005
4291
+ Content-Length: 468
4292
+ Host: www.whitemesa.net
4293
+
4294
+ <?xml version="1.0" encoding="utf-8" ?>
4295
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4296
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
4297
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4298
+ <env:Body>
4299
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
4300
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4301
+ <inputDecimal xsi:type="xsd:decimal">+-5</inputDecimal>
4302
+ </n1:echoDecimal>
4303
+ </env:Body>
4304
+ </env:Envelope>
4305
+
4306
+ = Response
4307
+
4308
+ HTTP/1.1 500 Internal Server Error
4309
+ Date: Sat, 23 Jul 2005 13:29:19 GMT
4310
+ Server: WhiteMesa SOAP Server/3.2
4311
+ Content-Type: text/xml; charset="utf-8"
4312
+ Content-Length: 395
4313
+ Connection: close
4314
+
4315
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDecimal'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4316
+
4317
+
4318
+
4319
+ ##########
4320
+ # echoDecimal (5_0: junk)
4321
+
4322
+ Result: OK
4323
+
4324
+ Wire dump:
4325
+
4326
+ = Request
4327
+
4328
+ ! CONNECTION ESTABLISHED
4329
+ POST /interop/std HTTP/1.1
4330
+ SOAPAction: "http://soapinterop.org/"
4331
+ Content-Type: text/xml; charset=utf-8
4332
+ User-Agent: SOAP4R/1.5.4 (/96, ruby 1.9.0 (2005-07-16) [i686-linux])
4333
+ Date: Sat Jul 23 22:15:18 JST 2005
4334
+ Content-Length: 468
4335
+ Host: www.whitemesa.net
4336
+
4337
+ <?xml version="1.0" encoding="utf-8" ?>
4338
+ <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4339
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
4340
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
4341
+ <env:Body>
4342
+ <n1:echoDecimal xmlns:n1="http://soapinterop.org/"
4343
+ env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
4344
+ <inputDecimal xsi:type="xsd:decimal">5_0</inputDecimal>
4345
+ </n1:echoDecimal>
4346
+ </env:Body>
4347
+ </env:Envelope>
4348
+
4349
+ = Response
4350
+
4351
+ HTTP/1.1 500 Internal Server Error
4352
+ Date: Sat, 23 Jul 2005 13:29:20 GMT
4353
+ Server: WhiteMesa SOAP Server/3.2
4354
+ Content-Type: text/xml; charset="utf-8"
4355
+ Content-Length: 395
4356
+ Connection: close
4357
+
4358
+ <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">ns:Client</faultcode><faultstring>Encountered improperly serialized built-in type accessor: 'inputDecimal'.</faultstring><detail /></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>! CONNECTION CLOSED
4359
+
4360
+
4361
+