soap4r 1.5.5.20061022

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