soap4r 1.5.5.20061022 → 1.5.6
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/wsdl2ruby.rb +8 -8
- data/lib/soap/XMLSchemaDatatypes.rb +1 -1
- data/lib/soap/XMLSchemaDatatypes1999.rb +1 -1
- data/lib/soap/attachment.rb +1 -1
- data/lib/soap/baseData.rb +102 -54
- data/lib/soap/cgistub.rb +1 -1
- data/lib/soap/charset.rb +1 -1
- data/lib/soap/driver.rb +1 -1
- data/lib/soap/element.rb +20 -12
- data/lib/soap/encodingstyle/aspDotNetHandler.rb +2 -2
- data/lib/soap/encodingstyle/handler.rb +1 -1
- data/lib/soap/encodingstyle/literalHandler.rb +29 -73
- data/lib/soap/encodingstyle/soapHandler.rb +8 -7
- data/lib/soap/filter.rb +10 -0
- data/lib/soap/filter/filterchain.rb +51 -0
- data/lib/soap/filter/handler.rb +31 -0
- data/lib/soap/generator.rb +11 -3
- data/lib/soap/header/handler.rb +6 -5
- data/lib/soap/header/handlerset.rb +7 -7
- data/lib/soap/header/simplehandler.rb +1 -1
- data/lib/soap/httpconfigloader.rb +7 -2
- data/lib/soap/mapping.rb +1 -1
- data/lib/soap/mapping/encodedregistry.rb +36 -26
- data/lib/soap/mapping/encodedregistry.rb~ +531 -0
- data/lib/soap/mapping/factory.rb +2 -2
- data/lib/soap/mapping/literalregistry.rb +107 -67
- data/lib/soap/mapping/mapping.rb +92 -112
- data/lib/soap/mapping/registry.rb +25 -8
- data/lib/soap/mapping/rubytypeFactory.rb +1 -1
- data/lib/soap/mapping/schemadefinition.rb +163 -0
- data/lib/soap/mapping/typeMap.rb +7 -1
- data/lib/soap/mapping/wsdlencodedregistry.rb +2 -2
- data/lib/soap/mapping/wsdlliteralregistry.rb +14 -23
- data/lib/soap/mappingRegistry.rb +1 -1
- data/lib/soap/marshal.rb +1 -1
- data/lib/soap/namespace.rb +1 -1
- data/lib/soap/netHttpClient.rb +43 -13
- data/lib/soap/parser.rb +40 -42
- data/lib/soap/processor.rb +1 -1
- data/lib/soap/property.rb +7 -7
- data/lib/soap/proxy.rb +1 -1
- data/lib/soap/qname.rb +1 -1
- data/lib/soap/rpc/cgistub.rb +34 -1
- data/lib/soap/rpc/driver.rb +2 -1
- data/lib/soap/rpc/element.rb +42 -15
- data/lib/soap/rpc/httpserver.rb +13 -1
- data/lib/soap/rpc/proxy.rb +51 -41
- data/lib/soap/rpc/router.rb +88 -33
- data/lib/soap/rpc/rpc.rb +1 -1
- data/lib/soap/rpc/soaplet.rb +51 -3
- data/lib/soap/rpc/standaloneServer.rb +1 -1
- data/lib/soap/rpcRouter.rb +1 -1
- data/lib/soap/rpcUtils.rb +1 -1
- data/lib/soap/server.rb +1 -1
- data/lib/soap/soap.rb +2 -2
- data/lib/soap/standaloneServer.rb +1 -1
- data/lib/soap/streamHandler.rb +13 -4
- data/lib/soap/wsdlDriver.rb +11 -15
- data/lib/tags +5144 -0
- data/lib/wsdl/binding.rb +1 -1
- data/lib/wsdl/data.rb +1 -1
- data/lib/wsdl/definitions.rb +1 -1
- data/lib/wsdl/documentation.rb +1 -1
- data/lib/wsdl/import.rb +1 -1
- data/lib/wsdl/importer.rb +1 -1
- data/lib/wsdl/info.rb +1 -1
- data/lib/wsdl/message.rb +1 -1
- data/lib/wsdl/operation.rb +10 -7
- data/lib/wsdl/operationBinding.rb +19 -5
- data/lib/wsdl/param.rb +11 -3
- data/lib/wsdl/parser.rb +4 -3
- data/lib/wsdl/part.rb +1 -1
- data/lib/wsdl/port.rb +1 -1
- data/lib/wsdl/portType.rb +1 -1
- data/lib/wsdl/service.rb +1 -1
- data/lib/wsdl/soap/address.rb +1 -1
- data/lib/wsdl/soap/binding.rb +1 -1
- data/lib/wsdl/soap/body.rb +3 -1
- data/lib/wsdl/soap/cgiStubCreator.rb +1 -1
- data/lib/wsdl/soap/classDefCreator.rb +78 -14
- data/lib/wsdl/soap/classDefCreatorSupport.rb +28 -11
- data/lib/wsdl/soap/clientSkeltonCreator.rb +3 -2
- data/lib/wsdl/soap/complexType.rb +8 -11
- data/lib/wsdl/soap/data.rb +1 -1
- data/lib/wsdl/soap/definitions.rb +49 -4
- data/lib/wsdl/soap/driverCreator.rb +1 -1
- data/lib/wsdl/soap/element.rb +3 -2
- data/lib/wsdl/soap/encodedMappingRegistryCreator.rb +1 -1
- data/lib/wsdl/soap/fault.rb +1 -1
- data/lib/wsdl/soap/header.rb +1 -1
- data/lib/wsdl/soap/headerfault.rb +1 -1
- data/lib/wsdl/soap/literalMappingRegistryCreator.rb +41 -21
- data/lib/wsdl/soap/mappingRegistryCreator.rb +2 -1
- data/lib/wsdl/soap/mappingRegistryCreatorSupport.rb +45 -19
- data/lib/wsdl/soap/methodDefCreator.rb +28 -17
- data/lib/wsdl/soap/operation.rb +11 -11
- data/lib/wsdl/soap/servantSkeltonCreator.rb +3 -2
- data/lib/wsdl/soap/standaloneServerStubCreator.rb +1 -1
- data/lib/wsdl/soap/wsdl2ruby.rb +8 -2
- data/lib/wsdl/types.rb +1 -1
- data/lib/wsdl/wsdl.rb +1 -1
- data/lib/wsdl/xmlSchema/all.rb +1 -1
- data/lib/wsdl/xmlSchema/annotation.rb +1 -1
- data/lib/wsdl/xmlSchema/any.rb +10 -5
- data/lib/wsdl/xmlSchema/attribute.rb +1 -1
- data/lib/wsdl/xmlSchema/choice.rb +1 -1
- data/lib/wsdl/xmlSchema/complexContent.rb +11 -2
- data/lib/wsdl/xmlSchema/complexExtension.rb +8 -1
- data/lib/wsdl/xmlSchema/complexRestriction.rb +6 -2
- data/lib/wsdl/xmlSchema/complexType.rb +9 -1
- data/lib/wsdl/xmlSchema/content.rb +26 -5
- data/lib/wsdl/xmlSchema/data.rb +4 -1
- data/lib/wsdl/xmlSchema/element.rb +12 -9
- data/lib/wsdl/xmlSchema/enumeration.rb +1 -1
- data/lib/wsdl/xmlSchema/import.rb +1 -1
- data/lib/wsdl/xmlSchema/importer.rb +9 -6
- data/lib/wsdl/xmlSchema/include.rb +1 -1
- data/lib/wsdl/xmlSchema/length.rb +1 -1
- data/lib/wsdl/xmlSchema/list.rb +1 -1
- data/lib/wsdl/xmlSchema/maxlength.rb +1 -1
- data/lib/wsdl/xmlSchema/minlength.rb +1 -1
- data/lib/wsdl/xmlSchema/parser.rb +4 -3
- data/lib/wsdl/xmlSchema/pattern.rb +1 -1
- data/lib/wsdl/xmlSchema/schema.rb +1 -1
- data/lib/wsdl/xmlSchema/sequence.rb +1 -1
- data/lib/wsdl/xmlSchema/simpleContent.rb +1 -1
- data/lib/wsdl/xmlSchema/simpleExtension.rb +1 -1
- data/lib/wsdl/xmlSchema/simpleRestriction.rb +1 -1
- data/lib/wsdl/xmlSchema/simpleType.rb +8 -1
- data/lib/wsdl/xmlSchema/union.rb +35 -0
- data/lib/wsdl/xmlSchema/unique.rb +1 -1
- data/lib/wsdl/xmlSchema/xsd2ruby.rb +6 -1
- data/lib/xsd/charset.rb +1 -1
- data/lib/xsd/classloader.rb +26 -0
- data/lib/xsd/codegen.rb +1 -1
- data/lib/xsd/codegen/classdef.rb +1 -1
- data/lib/xsd/codegen/commentdef.rb +1 -1
- data/lib/xsd/codegen/gensupport.rb +119 -14
- data/lib/xsd/codegen/methoddef.rb +1 -1
- data/lib/xsd/codegen/moduledef.rb +1 -1
- data/lib/xsd/datatypes.rb +52 -13
- data/lib/xsd/datatypes1999.rb +1 -1
- data/lib/xsd/iconvcharset.rb +1 -1
- data/lib/xsd/mapping.rb +1 -1
- data/lib/xsd/namedelements.rb +1 -1
- data/lib/xsd/ns.rb +2 -2
- data/lib/xsd/qname.rb +1 -1
- data/lib/xsd/xmlparser.rb +16 -3
- data/lib/xsd/xmlparser/parser.rb +6 -2
- data/lib/xsd/xmlparser/rexmlparser.rb +5 -1
- data/lib/xsd/xmlparser/xmlparser.rb +1 -1
- data/lib/xsd/xmlparser/xmlscanner.rb +4 -2
- data/test/interopR2/InteropTest.rb +83 -0
- data/test/interopR2/InteropTest.wsdl +315 -0
- data/test/interopR2/InteropTestC.wsdl +208 -0
- data/test/interopR2/InteropTestDriver.rb +328 -0
- data/test/interopR2/SOAP4R_SOAPBuildersInteropTest_R2.wsdl +461 -0
- data/test/interopR2/SOAP4R_SOAPBuildersInteropTest_R2GroupB.wsdl +20 -0
- data/test/interopR2/SOAP4R_SOAPBuildersInteropTest_R2GroupCClient.rb +178 -0
- data/test/interopR2/SOAPBuildersInterop_R2GrC.wsdl +17 -0
- data/test/interopR2/clientBase.rb +0 -3
- data/test/interopR2/groupc.wsdl +17 -0
- data/test/interopR2/result_client.NetRemoting.txt +0 -4593
- data/test/interopR2/test.sh +9 -9
- data/test/runner.rb +1 -3
- data/test/soap/asp.net/test_aspdotnet.rb +20 -9
- data/test/soap/case/test_mapping.rb +57 -0
- data/test/soap/filter/test_filter.rb +146 -0
- data/test/soap/literalArrayMapping/test_definedarray.rb +7 -9
- data/test/soap/marshal/marshaltestlib.rb +1 -1
- data/test/soap/ssl/test_ssl.rb +0 -10
- data/test/soap/struct/test_struct.rb +2 -9
- data/test/soap/test_basetype.rb +114 -0
- data/test/soap/test_empty.rb +26 -2
- data/test/soap/test_envelopenamespace.rb +2 -9
- data/test/soap/test_extraattr.rb +55 -0
- data/test/soap/test_httpconfigloader.rb +17 -0
- data/test/soap/test_property.rb +4 -1
- data/test/soap/test_response_as_xml.rb +31 -9
- data/test/soap/test_soapelement.rb +21 -3
- data/test/soap/test_streamhandler.rb +3 -10
- data/test/soap/test_styleuse.rb +2 -9
- data/test/soap/wsdlDriver/test_calc.rb +3 -20
- data/test/soap/wsdlDriver/test_document.rb +2 -9
- data/test/soap/wsdlDriver/test_simpletype.rb +2 -9
- data/test/testutil.rb +54 -0
- data/test/wsdl/abstract/abstract.wsdl +82 -3
- data/test/wsdl/abstract/test_abstract.rb +48 -19
- data/test/wsdl/any/any.wsdl +63 -0
- data/test/wsdl/any/expectedDriver.rb +22 -1
- data/test/wsdl/any/expectedEcho.rb +19 -0
- data/test/wsdl/any/expectedService.rb +29 -4
- data/test/wsdl/any/test_any.rb +36 -31
- data/test/wsdl/choice/choice.wsdl +37 -0
- data/test/wsdl/choice/test_choice.rb +66 -17
- data/test/wsdl/complexcontent/test_echo.rb +7 -18
- data/test/wsdl/document/array/test_array.rb +8 -18
- data/test/wsdl/document/ping_nosoapaction.wsdl +1 -1
- data/test/wsdl/document/test_nosoapaction.rb +2 -9
- data/test/wsdl/document/test_number.rb +3 -10
- data/test/wsdl/document/test_rpc.rb +96 -21
- data/test/wsdl/fault/fault.wsdl +79 -0
- data/test/wsdl/fault/multifault.wsdl +96 -0
- data/test/wsdl/fault/test_fault.rb +119 -0
- data/test/wsdl/fault/test_multifault.rb +134 -0
- data/test/wsdl/list/test_list.rb +6 -16
- data/test/wsdl/marshal/test_wsdlmarshal.rb +10 -13
- data/test/wsdl/oneway/oneway.wsdl +36 -0
- data/test/wsdl/oneway/test_oneway.rb +108 -0
- data/test/wsdl/overload/test_overload.rb +3 -10
- data/test/wsdl/qualified/test_qualified.rb +9 -17
- data/test/wsdl/qualified/test_unqualified.rb +14 -21
- data/test/wsdl/ref/expectedDriver.rb +51 -0
- data/test/wsdl/ref/expectedProduct.rb +71 -71
- data/test/wsdl/ref/test_ref.rb +13 -35
- data/test/wsdl/rpc/rpc.wsdl +27 -1
- data/test/wsdl/rpc/test-rpc-lit-qualified.wsdl +74 -0
- data/test/wsdl/rpc/test-rpc-lit.wsdl +11 -4
- data/test/wsdl/rpc/test-rpc-lit12.wsdl +455 -0
- data/test/wsdl/rpc/test_rpc.rb +20 -19
- data/test/wsdl/rpc/test_rpc_lit.rb +82 -29
- data/test/wsdl/simplecontent/simplecontent.wsdl +1 -0
- data/test/wsdl/simplecontent/test_simplecontent.rb +5 -19
- data/test/wsdl/simpletype/rpc/expectedDriver.rb +6 -4
- data/test/wsdl/simpletype/rpc/expectedEchoVersion.rb +15 -0
- data/test/wsdl/simpletype/rpc/expectedMappingRegistry.rb +64 -0
- data/test/wsdl/simpletype/rpc/expectedService.rb +6 -4
- data/test/wsdl/simpletype/rpc/rpc.wsdl +18 -0
- data/test/wsdl/simpletype/rpc/test_rpc.rb +6 -16
- data/test/wsdl/simpletype/simpletype.wsdl +19 -0
- data/test/wsdl/simpletype/test_simpletype.rb +2 -9
- data/test/wsdl/soap/wsdl2ruby/expectedDriver.rb +6 -4
- data/test/wsdl/soap/wsdl2ruby/expectedMappingRegistry.rb +40 -0
- data/test/wsdl/soap/wsdl2ruby/expectedService.cgi +6 -4
- data/test/wsdl/soap/wsdl2ruby/expectedService.rb +6 -4
- data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +5 -6
- data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +3 -16
- data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +9 -17
- data/test/wsdl/soaptype/test_soaptype.rb +29 -11
- data/test/xsd/test_xsd.rb +115 -1
- metadata +421 -454
- data/test/interopR2/client.NetRemoting.rb.result +0 -3410
- data/test/interopR2/client.NetRemoting_Base.log +0 -6279
- data/test/interopR2/client.NetRemoting_GroupB.log +0 -1188
- data/test/interopR2/client4S4C2_Base.log +0 -4955
- data/test/interopR2/client4S4C2_GroupB.log +0 -1000
- data/test/interopR2/client4S4C_Base.log +0 -4635
- data/test/interopR2/client4S4C_GroupB.log +0 -900
- data/test/interopR2/clientASP.NET_Base.log +0 -5468
- data/test/interopR2/clientASP.NET_GroupB.log +0 -977
- data/test/interopR2/clientApacheAxis_Base.log +0 -3171
- data/test/interopR2/clientApacheAxis_GroupB.log +0 -498
- data/test/interopR2/clientApacheSOAP_Base.log +0 -3171
- data/test/interopR2/clientBEAWebLogic_Base.log +0 -3171
- data/test/interopR2/clientBEAWebLogic_GroupB.log +0 -498
- data/test/interopR2/clientCapeConnect_Base.log +0 -2126
- data/test/interopR2/clientDelphi_Base.log +0 -0
- data/test/interopR2/clientEasySoap_Base.log +0 -6187
- data/test/interopR2/clientEasySoap_GroupB.log +0 -1076
- data/test/interopR2/clientFrontier_Base.log +0 -5188
- data/test/interopR2/clientHP_Base.log +0 -3171
- data/test/interopR2/clientHP_GroupB.log +0 -498
- data/test/interopR2/clientJSOAP_Base.log +0 -4465
- data/test/interopR2/clientJSOAP_GroupB.log +0 -824
- data/test/interopR2/clientKafkaXSLT_Base.log +0 -10299
- data/test/interopR2/clientKafkaXSLT_GroupB.log +0 -1739
- data/test/interopR2/clientMSSOAPToolkit2.0_Base.log +0 -4805
- data/test/interopR2/clientMSSOAPToolkit2.0_GroupB.log +0 -871
- data/test/interopR2/clientMSSOAPToolkit3.0_Base.log +0 -5076
- data/test/interopR2/clientMSSOAPToolkit3.0_GroupB.log +0 -908
- data/test/interopR2/clientNuSOAP_Base.log +0 -5076
- data/test/interopR2/clientNuSOAP_GroupB.log +0 -958
- data/test/interopR2/clientNuWave_Base.log +0 -2019
- data/test/interopR2/clientOpenLink_Base.log +0 -6171
- data/test/interopR2/clientOpenLink_GroupB.log +0 -1094
- data/test/interopR2/clientOracle_Base.log +0 -5594
- data/test/interopR2/clientPEAR_Base.log +0 -6261
- data/test/interopR2/clientPEAR_GroupB.log +0 -1106
- data/test/interopR2/clientPhalanx_Base.log +0 -41036
- data/test/interopR2/clientPhalanx_GroupB.log +0 -6519
- data/test/interopR2/clientSIMACE_Base.log +0 -6171
- data/test/interopR2/clientSIMACE_GroupB.log +0 -1093
- data/test/interopR2/clientSOAP4R.rb.result +0 -3409
- data/test/interopR2/clientSOAP4R_Base.log +0 -6366
- data/test/interopR2/clientSOAP4R_GroupB.log +0 -1112
- data/test/interopR2/clientSQLData_Base.log +0 -4857
- data/test/interopR2/clientSQLData_GroupB.log +0 -770
- data/test/interopR2/clientSilverStream_Base.log +0 -3171
- data/test/interopR2/clientSpray2001_Base.log +0 -8187
- data/test/interopR2/clientSpray2001_GroupB.log +0 -1408
- data/test/interopR2/clientSun_Base.log +0 -4641
- data/test/interopR2/clientSun_GroupB.log +0 -856
- data/test/interopR2/clientVWOpentalkSoap_Base.log +0 -5402
- data/test/interopR2/clientVWOpentalkSoap_GroupB.log +0 -972
- data/test/interopR2/clientWASPC_Base.log +0 -4187
- data/test/interopR2/clientWASPC_GroupB.log +0 -763
- data/test/interopR2/clientWASP_Base.log +0 -5414
- data/test/interopR2/clientWASP_GroupB.log +0 -970
- data/test/interopR2/clientWebMethods_Base.log +0 -3075
- data/test/interopR2/clientWebMethods_GroupB.log +0 -483
- data/test/interopR2/clientWhiteMesa_Base.log +0 -4359
- data/test/interopR2/clientWhiteMesa_GroupB.log +0 -808
- data/test/interopR2/clientWingfoot_Base.log +0 -4445
- data/test/interopR2/clientWingfoot_GroupB.log +0 -848
- data/test/interopR2/clientXMLBus_Base.log +0 -3075
- data/test/interopR2/clientXMLBus_GroupB.log +0 -483
- data/test/interopR2/clientXSOAP_Base.log +0 -4445
- data/test/interopR2/clienteSOAP_Base.log +0 -8728
- data/test/interopR2/clientgSOAP_Base.log +0 -4689
- data/test/interopR2/clientgSOAP_GroupB.log +0 -1014
- data/test/interopR2/clientkSOAP_Base.log +0 -5625
data/lib/xsd/namedelements.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# XSD4R - WSDL named element collection.
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
|
3
3
|
|
4
4
|
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
5
5
|
# redistribute it and/or modify it under the same terms of Ruby's license;
|
data/lib/xsd/ns.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# XSD4R - XML Schema Namespace library
|
2
|
-
# Copyright (C) 2000-
|
2
|
+
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
|
3
3
|
|
4
4
|
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
5
5
|
# redistribute it and/or modify it under the same terms of Ruby's license;
|
@@ -91,7 +91,7 @@ public
|
|
91
91
|
end
|
92
92
|
|
93
93
|
# $1 and $2 are necessary.
|
94
|
-
ParseRegexp = Regexp.new('
|
94
|
+
ParseRegexp = Regexp.new('\A([^:]+)(?::(.+))?\z')
|
95
95
|
|
96
96
|
def parse(str, local = false)
|
97
97
|
if ParseRegexp =~ str
|
data/lib/xsd/qname.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# XSD4R - XML QName definition.
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
|
3
3
|
|
4
4
|
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
5
5
|
# redistribute it and/or modify it under the same terms of Ruby's license;
|
data/lib/xsd/xmlparser.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# XSD4R - XML Instance parser library.
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
|
3
3
|
|
4
4
|
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
5
5
|
# redistribute it and/or modify it under the same terms of Ruby's license;
|
@@ -22,10 +22,17 @@ module XMLParser
|
|
22
22
|
NSParseRegexp = Regexp.new('^xmlns:?(.*)$')
|
23
23
|
|
24
24
|
def filter_ns(ns, attrs)
|
25
|
-
|
25
|
+
ns_updated = false
|
26
|
+
if attrs.nil? or attrs.empty?
|
27
|
+
return [ns, attrs]
|
28
|
+
end
|
26
29
|
newattrs = {}
|
27
30
|
attrs.each do |key, value|
|
28
31
|
if (NSParseRegexp =~ key)
|
32
|
+
unless ns_updated
|
33
|
+
ns = ns.clone_ns
|
34
|
+
ns_updated = true
|
35
|
+
end
|
29
36
|
# '' means 'default namespace'.
|
30
37
|
tag = $1 || ''
|
31
38
|
ns.assign(value, tag)
|
@@ -33,7 +40,7 @@ module XMLParser
|
|
33
40
|
newattrs[key] = value
|
34
41
|
end
|
35
42
|
end
|
36
|
-
newattrs
|
43
|
+
return [ns, newattrs]
|
37
44
|
end
|
38
45
|
module_function :filter_ns
|
39
46
|
end
|
@@ -51,6 +58,12 @@ loaded = false
|
|
51
58
|
].each do |lib|
|
52
59
|
begin
|
53
60
|
require lib
|
61
|
+
# XXX: for a workaround of rubygems' require inconsistency
|
62
|
+
# XXX: MUST BE REMOVED IN THE FUTURE
|
63
|
+
name = lib.sub(/^.*\//, '')
|
64
|
+
raise LoadError unless XSD::XMLParser.constants.find { |c|
|
65
|
+
c.downcase == name
|
66
|
+
}
|
54
67
|
loaded = true
|
55
68
|
break
|
56
69
|
rescue LoadError
|
data/lib/xsd/xmlparser/parser.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# XSD4R - XML Instance parser library.
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
|
3
3
|
|
4
4
|
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
5
5
|
# redistribute it and/or modify it under the same terms of Ruby's license;
|
@@ -22,6 +22,7 @@ class Parser
|
|
22
22
|
class UnknownAttributeError < FormatDecodeError; end
|
23
23
|
class UnexpectedElementError < FormatDecodeError; end
|
24
24
|
class ElementConstraintError < FormatDecodeError; end
|
25
|
+
class ParserError < ParseError; end
|
25
26
|
|
26
27
|
@@parser_factory = nil
|
27
28
|
|
@@ -30,6 +31,9 @@ class Parser
|
|
30
31
|
end
|
31
32
|
|
32
33
|
def self.create_parser(host, opt = {})
|
34
|
+
unless @@parser_factory
|
35
|
+
raise ParserError.new("illegal XML parser configuration")
|
36
|
+
end
|
33
37
|
@@parser_factory.new(host, opt)
|
34
38
|
end
|
35
39
|
|
@@ -59,7 +63,7 @@ public
|
|
59
63
|
private
|
60
64
|
|
61
65
|
def do_parse(string_or_readable)
|
62
|
-
raise
|
66
|
+
raise ParserError.new(
|
63
67
|
'Method do_parse must be defined in derived class.')
|
64
68
|
end
|
65
69
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# XSD4R - REXMLParser XML parser library.
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
|
3
3
|
|
4
4
|
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
5
5
|
# redistribute it and/or modify it under the same terms of Ruby's license;
|
@@ -42,6 +42,10 @@ class REXMLParser < XSD::XMLParser::Parser
|
|
42
42
|
characters(text)
|
43
43
|
end
|
44
44
|
|
45
|
+
def cdata(content)
|
46
|
+
characters(content)
|
47
|
+
end
|
48
|
+
|
45
49
|
def xmldecl(version, encoding, standalone)
|
46
50
|
# Version should be checked.
|
47
51
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# XSD4R - XMLParser XML parser library.
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
|
3
3
|
|
4
4
|
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
5
5
|
# redistribute it and/or modify it under the same terms of Ruby's license;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# XSD4R - XMLScan XML parser library.
|
2
|
-
# Copyright (C)
|
2
|
+
# Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
|
3
3
|
|
4
4
|
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
|
5
5
|
# redistribute it and/or modify it under the same terms of Ruby's license;
|
@@ -82,7 +82,9 @@ class XMLScanner < XSD::XMLParser::Parser
|
|
82
82
|
characters(str)
|
83
83
|
end
|
84
84
|
|
85
|
-
|
85
|
+
def on_cdata(str)
|
86
|
+
characters(str)
|
87
|
+
end
|
86
88
|
|
87
89
|
def on_etag(name)
|
88
90
|
end_element(name)
|
@@ -0,0 +1,83 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
# {http://soapinterop.org/xsd}ArrayOfstring
|
4
|
+
class ArrayOfstring < ::Array
|
5
|
+
@@schema_type = "string"
|
6
|
+
@@schema_ns = "http://www.w3.org/2001/XMLSchema"
|
7
|
+
end
|
8
|
+
|
9
|
+
# {http://soapinterop.org/xsd}ArrayOfint
|
10
|
+
class ArrayOfint < ::Array
|
11
|
+
@@schema_type = "int"
|
12
|
+
@@schema_ns = "http://www.w3.org/2001/XMLSchema"
|
13
|
+
end
|
14
|
+
|
15
|
+
# {http://soapinterop.org/xsd}ArrayOffloat
|
16
|
+
class ArrayOffloat < ::Array
|
17
|
+
@@schema_type = "float"
|
18
|
+
@@schema_ns = "http://www.w3.org/2001/XMLSchema"
|
19
|
+
end
|
20
|
+
|
21
|
+
# {http://soapinterop.org/xsd}ArrayOfSOAPStruct
|
22
|
+
class ArrayOfSOAPStruct < ::Array
|
23
|
+
@@schema_type = "SOAPStruct"
|
24
|
+
@@schema_ns = "http://soapinterop.org/xsd"
|
25
|
+
end
|
26
|
+
|
27
|
+
# {http://soapinterop.org/xsd}SOAPStruct
|
28
|
+
class SOAPStruct
|
29
|
+
@@schema_type = "SOAPStruct"
|
30
|
+
@@schema_ns = "http://soapinterop.org/xsd"
|
31
|
+
@@schema_element = [["varString", "String"], ["varInt", "Int"], ["varFloat", "Float"]]
|
32
|
+
|
33
|
+
attr_accessor :varString
|
34
|
+
attr_accessor :varInt
|
35
|
+
attr_accessor :varFloat
|
36
|
+
|
37
|
+
def initialize(varString = nil, varInt = nil, varFloat = nil)
|
38
|
+
@varString = varString
|
39
|
+
@varInt = varInt
|
40
|
+
@varFloat = varFloat
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
# {http://soapinterop.org/xsd}ArrayOfstring
|
45
|
+
class ArrayOfstring < ::Array
|
46
|
+
@@schema_type = "string"
|
47
|
+
@@schema_ns = "http://www.w3.org/2001/XMLSchema"
|
48
|
+
end
|
49
|
+
|
50
|
+
# {http://soapinterop.org/xsd}ArrayOfint
|
51
|
+
class ArrayOfint < ::Array
|
52
|
+
@@schema_type = "int"
|
53
|
+
@@schema_ns = "http://www.w3.org/2001/XMLSchema"
|
54
|
+
end
|
55
|
+
|
56
|
+
# {http://soapinterop.org/xsd}ArrayOffloat
|
57
|
+
class ArrayOffloat < ::Array
|
58
|
+
@@schema_type = "float"
|
59
|
+
@@schema_ns = "http://www.w3.org/2001/XMLSchema"
|
60
|
+
end
|
61
|
+
|
62
|
+
# {http://soapinterop.org/xsd}ArrayOfSOAPStruct
|
63
|
+
class ArrayOfSOAPStruct < ::Array
|
64
|
+
@@schema_type = "SOAPStruct"
|
65
|
+
@@schema_ns = "http://soapinterop.org/xsd"
|
66
|
+
end
|
67
|
+
|
68
|
+
# {http://soapinterop.org/xsd}SOAPStruct
|
69
|
+
class SOAPStruct
|
70
|
+
@@schema_type = "SOAPStruct"
|
71
|
+
@@schema_ns = "http://soapinterop.org/xsd"
|
72
|
+
@@schema_element = [["varString", "String"], ["varInt", "Int"], ["varFloat", "Float"]]
|
73
|
+
|
74
|
+
attr_accessor :varString
|
75
|
+
attr_accessor :varInt
|
76
|
+
attr_accessor :varFloat
|
77
|
+
|
78
|
+
def initialize(varString = nil, varInt = nil, varFloat = nil)
|
79
|
+
@varString = varString
|
80
|
+
@varInt = varInt
|
81
|
+
@varFloat = varFloat
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,315 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<definitions name="InteropTest" targetNamespace="http://soapinterop.org/" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://soapinterop.org/" xmlns:s="http://soapinterop.org/xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
|
3
|
+
|
4
|
+
<types>
|
5
|
+
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://soapinterop.org/xsd">
|
6
|
+
<import namespace = "http://schemas.xmlsoap.org/soap/encoding/"/>
|
7
|
+
<complexType name="ArrayOfstring">
|
8
|
+
<complexContent>
|
9
|
+
<restriction base="SOAP-ENC:Array">
|
10
|
+
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="string[]"/>
|
11
|
+
</restriction>
|
12
|
+
</complexContent>
|
13
|
+
</complexType>
|
14
|
+
<complexType name="ArrayOfint">
|
15
|
+
<complexContent>
|
16
|
+
<restriction base="SOAP-ENC:Array">
|
17
|
+
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="int[]"/>
|
18
|
+
</restriction>
|
19
|
+
</complexContent>
|
20
|
+
</complexType>
|
21
|
+
<complexType name="ArrayOffloat">
|
22
|
+
<complexContent>
|
23
|
+
<restriction base="SOAP-ENC:Array">
|
24
|
+
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="float[]"/>
|
25
|
+
</restriction>
|
26
|
+
</complexContent>
|
27
|
+
</complexType>
|
28
|
+
<complexType name="ArrayOfSOAPStruct">
|
29
|
+
<complexContent>
|
30
|
+
<restriction base="SOAP-ENC:Array">
|
31
|
+
<attribute ref="SOAP-ENC:arrayType" wsdl:arrayType="s:SOAPStruct[]"/>
|
32
|
+
</restriction>
|
33
|
+
</complexContent>
|
34
|
+
</complexType>
|
35
|
+
<complexType name="SOAPStruct">
|
36
|
+
<all>
|
37
|
+
<element name="varString" type="string"/>
|
38
|
+
<element name="varInt" type="int"/>
|
39
|
+
<element name="varFloat" type="float"/>
|
40
|
+
</all>
|
41
|
+
</complexType>
|
42
|
+
</schema>
|
43
|
+
</types>
|
44
|
+
|
45
|
+
<message name="echoStringRequest">
|
46
|
+
<part name="inputString" type="xsd:string"/>
|
47
|
+
</message>
|
48
|
+
<message name="echoStringResponse">
|
49
|
+
<part name="return" type="xsd:string"/>
|
50
|
+
</message>
|
51
|
+
<message name="echoStringArrayRequest">
|
52
|
+
<part name="inputStringArray" type="s:ArrayOfstring"/>
|
53
|
+
</message>
|
54
|
+
<message name="echoStringArrayResponse">
|
55
|
+
<part name="return" type="s:ArrayOfstring"/>
|
56
|
+
</message>
|
57
|
+
<message name="echoIntegerRequest">
|
58
|
+
<part name="inputInteger" type="xsd:int"/>
|
59
|
+
</message>
|
60
|
+
<message name="echoIntegerResponse">
|
61
|
+
<part name="return" type="xsd:int"/>
|
62
|
+
</message>
|
63
|
+
<message name="echoIntegerArrayRequest">
|
64
|
+
<part name="inputIntegerArray" type="s:ArrayOfint"/>
|
65
|
+
</message>
|
66
|
+
<message name="echoIntegerArrayResponse">
|
67
|
+
<part name="return" type="s:ArrayOfint"/>
|
68
|
+
</message>
|
69
|
+
<message name="echoFloatRequest">
|
70
|
+
<part name="inputFloat" type="xsd:float"/>
|
71
|
+
</message>
|
72
|
+
<message name="echoFloatResponse">
|
73
|
+
<part name="return" type="xsd:float"/>
|
74
|
+
</message>
|
75
|
+
<message name="echoFloatArrayRequest">
|
76
|
+
<part name="inputFloatArray" type="s:ArrayOffloat"/>
|
77
|
+
</message>
|
78
|
+
<message name="echoFloatArrayResponse">
|
79
|
+
<part name="return" type="s:ArrayOffloat"/>
|
80
|
+
</message>
|
81
|
+
<message name="echoStructRequest">
|
82
|
+
<part name="inputStruct" type="s:SOAPStruct"/>
|
83
|
+
</message>
|
84
|
+
<message name="echoStructResponse">
|
85
|
+
<part name="return" type="s:SOAPStruct"/>
|
86
|
+
</message>
|
87
|
+
<message name="echoStructArrayRequest">
|
88
|
+
<part name="inputStructArray" type="s:ArrayOfSOAPStruct"/>
|
89
|
+
</message>
|
90
|
+
<message name="echoStructArrayResponse">
|
91
|
+
<part name="return" type="s:ArrayOfSOAPStruct"/>
|
92
|
+
</message>
|
93
|
+
<message name="echoVoidRequest"/>
|
94
|
+
<message name="echoVoidResponse"/>
|
95
|
+
<message name="echoBase64Request">
|
96
|
+
<part name="inputBase64" type="xsd:base64Binary"/>
|
97
|
+
</message>
|
98
|
+
<message name="echoBase64Response">
|
99
|
+
<part name="return" type="xsd:base64Binary"/>
|
100
|
+
</message>
|
101
|
+
<message name="echoDateRequest">
|
102
|
+
<part name="inputDate" type="xsd:dateTime"/>
|
103
|
+
</message>
|
104
|
+
<message name="echoDateResponse">
|
105
|
+
<part name="return" type="xsd:dateTime"/>
|
106
|
+
</message>
|
107
|
+
<message name="echoHexBinaryRequest">
|
108
|
+
<part name="inputHexBinary" type="xsd:hexBinary"/>
|
109
|
+
</message>
|
110
|
+
<message name="echoHexBinaryResponse">
|
111
|
+
<part name="return" type="xsd:hexBinary"/>
|
112
|
+
</message>
|
113
|
+
<message name="echoDecimalRequest">
|
114
|
+
<part name="inputDecimal" type="xsd:decimal"/>
|
115
|
+
</message>
|
116
|
+
<message name="echoDecimalResponse">
|
117
|
+
<part name="return" type="xsd:decimal"/>
|
118
|
+
</message>
|
119
|
+
<message name="echoBooleanRequest">
|
120
|
+
<part name="inputBoolean" type="xsd:boolean"/>
|
121
|
+
</message>
|
122
|
+
<message name="echoBooleanResponse">
|
123
|
+
<part name="return" type="xsd:boolean"/>
|
124
|
+
</message>
|
125
|
+
|
126
|
+
<portType name="InteropTestPortType">
|
127
|
+
<operation name="echoString" parameterOrder="inputString">
|
128
|
+
<input message="tns:echoStringRequest"/>
|
129
|
+
<output message="tns:echoStringResponse"/>
|
130
|
+
</operation>
|
131
|
+
<operation name="echoStringArray" parameterOrder="inputStringArray">
|
132
|
+
<input message="tns:echoStringArrayRequest"/>
|
133
|
+
<output message="tns:echoStringArrayResponse"/>
|
134
|
+
</operation>
|
135
|
+
<operation name="echoInteger" parameterOrder="inputInteger">
|
136
|
+
<input message="tns:echoIntegerRequest"/>
|
137
|
+
<output message="tns:echoIntegerResponse"/>
|
138
|
+
</operation>
|
139
|
+
<operation name="echoIntegerArray" parameterOrder="inputIntegerArray">
|
140
|
+
<input message="tns:echoIntegerArrayRequest"/>
|
141
|
+
<output message="tns:echoIntegerArrayResponse"/>
|
142
|
+
</operation>
|
143
|
+
<operation name="echoFloat" parameterOrder="inputFloat">
|
144
|
+
<input message="tns:echoFloatRequest"/>
|
145
|
+
<output message="tns:echoFloatResponse"/>
|
146
|
+
</operation>
|
147
|
+
<operation name="echoFloatArray" parameterOrder="inputFloatArray">
|
148
|
+
<input message="tns:echoFloatArrayRequest"/>
|
149
|
+
<output message="tns:echoFloatArrayResponse"/>
|
150
|
+
</operation>
|
151
|
+
<operation name="echoStruct" parameterOrder="inputStruct">
|
152
|
+
<input message="tns:echoStructRequest"/>
|
153
|
+
<output message="tns:echoStructResponse"/>
|
154
|
+
</operation>
|
155
|
+
<operation name="echoStructArray" parameterOrder="inputStructArray">
|
156
|
+
<input message="tns:echoStructArrayRequest"/>
|
157
|
+
<output message="tns:echoStructArrayResponse"/>
|
158
|
+
</operation>
|
159
|
+
<operation name="echoVoid">
|
160
|
+
<input message="tns:echoVoidRequest"/>
|
161
|
+
<output message="tns:echoVoidResponse"/>
|
162
|
+
</operation>
|
163
|
+
<operation name="echoBase64" parameterOrder="inputBase64">
|
164
|
+
<input message="tns:echoBase64Request"/>
|
165
|
+
<output message="tns:echoBase64Response"/>
|
166
|
+
</operation>
|
167
|
+
<operation name="echoDate" parameterOrder="inputDate">
|
168
|
+
<input message="tns:echoDateRequest"/>
|
169
|
+
<output message="tns:echoDateResponse"/>
|
170
|
+
</operation>
|
171
|
+
<operation name="echoHexBinary" parameterOrder="inputHexBinary">
|
172
|
+
<input message="tns:echoHexBinaryRequest"/>
|
173
|
+
<output message="tns:echoHexBinaryResponse"/>
|
174
|
+
</operation>
|
175
|
+
<operation name="echoDecimal" parameterOrder="inputDecimal">
|
176
|
+
<input message="tns:echoDecimalRequest"/>
|
177
|
+
<output message="tns:echoDecimalResponse"/>
|
178
|
+
</operation>
|
179
|
+
<operation name="echoBoolean" parameterOrder="inputBoolean">
|
180
|
+
<input message="tns:echoBooleanRequest"/>
|
181
|
+
<output message="tns:echoBooleanResponse"/>
|
182
|
+
</operation>
|
183
|
+
</portType>
|
184
|
+
|
185
|
+
<binding name="InteropTestSoapBinding" type="tns:InteropTestPortType">
|
186
|
+
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
|
187
|
+
<operation name="echoString">
|
188
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
189
|
+
<input>
|
190
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
191
|
+
</input>
|
192
|
+
<output>
|
193
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
194
|
+
</output>
|
195
|
+
</operation>
|
196
|
+
<operation name="echoStringArray">
|
197
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
198
|
+
<input>
|
199
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
200
|
+
</input>
|
201
|
+
<output>
|
202
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
203
|
+
</output>
|
204
|
+
</operation>
|
205
|
+
<operation name="echoInteger">
|
206
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
207
|
+
<input>
|
208
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
209
|
+
</input>
|
210
|
+
<output>
|
211
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
212
|
+
</output>
|
213
|
+
</operation>
|
214
|
+
<operation name="echoIntegerArray">
|
215
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
216
|
+
<input>
|
217
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
218
|
+
</input>
|
219
|
+
<output>
|
220
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
221
|
+
</output>
|
222
|
+
</operation>
|
223
|
+
<operation name="echoFloat">
|
224
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
225
|
+
<input>
|
226
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
227
|
+
</input>
|
228
|
+
<output>
|
229
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
230
|
+
</output>
|
231
|
+
</operation>
|
232
|
+
<operation name="echoFloatArray">
|
233
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
234
|
+
<input>
|
235
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
236
|
+
</input>
|
237
|
+
<output>
|
238
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
239
|
+
</output>
|
240
|
+
</operation>
|
241
|
+
<operation name="echoStruct">
|
242
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
243
|
+
<input>
|
244
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
245
|
+
</input>
|
246
|
+
<output>
|
247
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
248
|
+
</output>
|
249
|
+
</operation>
|
250
|
+
<operation name="echoStructArray">
|
251
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
252
|
+
<input>
|
253
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
254
|
+
</input>
|
255
|
+
<output>
|
256
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
257
|
+
</output>
|
258
|
+
</operation>
|
259
|
+
<operation name="echoVoid">
|
260
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
261
|
+
<input>
|
262
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
263
|
+
</input>
|
264
|
+
<output>
|
265
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
266
|
+
</output>
|
267
|
+
</operation>
|
268
|
+
<operation name="echoBase64">
|
269
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
270
|
+
<input>
|
271
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
272
|
+
</input>
|
273
|
+
<output>
|
274
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
275
|
+
</output>
|
276
|
+
</operation>
|
277
|
+
<operation name="echoDate">
|
278
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
279
|
+
<input>
|
280
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
281
|
+
</input>
|
282
|
+
<output>
|
283
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
284
|
+
</output>
|
285
|
+
</operation>
|
286
|
+
<operation name="echoHexBinary">
|
287
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
288
|
+
<input>
|
289
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
290
|
+
</input>
|
291
|
+
<output>
|
292
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
293
|
+
</output>
|
294
|
+
</operation>
|
295
|
+
<operation name="echoDecimal">
|
296
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
297
|
+
<input>
|
298
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
299
|
+
</input>
|
300
|
+
<output>
|
301
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
302
|
+
</output>
|
303
|
+
</operation>
|
304
|
+
<operation name="echoBoolean">
|
305
|
+
<soap:operation soapAction="http://soapinterop.org/"/>
|
306
|
+
<input>
|
307
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
308
|
+
</input>
|
309
|
+
<output>
|
310
|
+
<soap:body use="encoded" namespace="http://soapinterop.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
|
311
|
+
</output>
|
312
|
+
</operation>
|
313
|
+
</binding>
|
314
|
+
|
315
|
+
</definitions>
|