rubyjedi-soap4r 1.5.8.20100616125722 → 1.5.8.20100619003610
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/wsdl2ruby.rb +1 -0
- data/bin/xsd2ruby.rb +1 -0
- data/lib/soap/attachment.rb +1 -0
- data/lib/soap/attrproxy.rb +1 -0
- data/lib/soap/baseData.rb +1 -0
- data/lib/soap/element.rb +2 -1
- data/lib/soap/encodingstyle/aspDotNetHandler.rb +1 -0
- data/lib/soap/encodingstyle/handler.rb +1 -0
- data/lib/soap/encodingstyle/literalHandler.rb +1 -0
- data/lib/soap/encodingstyle/soapHandler.rb +1 -0
- data/lib/soap/filter.rb +1 -0
- data/lib/soap/filter/filterchain.rb +1 -0
- data/lib/soap/filter/handler.rb +1 -0
- data/lib/soap/filter/streamhandler.rb +1 -0
- data/lib/soap/generator.rb +1 -0
- data/lib/soap/header/handler.rb +1 -0
- data/lib/soap/header/handlerset.rb +1 -0
- data/lib/soap/header/mappinghandler.rb +1 -0
- data/lib/soap/header/simplehandler.rb +1 -0
- data/lib/soap/httpconfigloader.rb +1 -0
- data/lib/soap/mapping.rb +1 -0
- data/lib/soap/mapping/encodedregistry.rb +1 -0
- data/lib/soap/mapping/factory.rb +1 -0
- data/lib/soap/mapping/literalregistry.rb +1 -0
- data/lib/soap/mapping/mapping.rb +2 -1
- data/lib/soap/mapping/registry.rb +1 -0
- data/lib/soap/mapping/rubytypeFactory.rb +1 -0
- data/lib/soap/mapping/schemadefinition.rb +1 -0
- data/lib/soap/mapping/typeMap.rb +1 -0
- data/lib/soap/mapping/wsdlencodedregistry.rb +1 -0
- data/lib/soap/mapping/wsdlliteralregistry.rb +1 -0
- data/lib/soap/marshal.rb +1 -0
- data/lib/soap/mimemessage.rb +1 -0
- data/lib/soap/nestedexception.rb +1 -0
- data/lib/soap/netHttpClient.rb +1 -0
- data/lib/soap/ns.rb +1 -0
- data/lib/soap/parser.rb +1 -0
- data/lib/soap/processor.rb +1 -0
- data/lib/soap/property.rb +1 -0
- data/lib/soap/proxy.rb +1 -0
- data/lib/soap/rpc/cgistub.rb +1 -0
- data/lib/soap/rpc/driver.rb +1 -0
- data/lib/soap/rpc/element.rb +1 -0
- data/lib/soap/rpc/httpserver.rb +1 -0
- data/lib/soap/rpc/methodDef.rb +1 -0
- data/lib/soap/rpc/proxy.rb +1 -0
- data/lib/soap/rpc/router.rb +1 -0
- data/lib/soap/rpc/rpc.rb +1 -0
- data/lib/soap/rpc/soaplet.rb +1 -0
- data/lib/soap/rpc/standaloneServer.rb +1 -0
- data/lib/soap/soap.rb +1 -0
- data/lib/soap/streamHandler.rb +1 -0
- data/lib/soap/version.rb +2 -1
- data/lib/soap/wsdlDriver.rb +1 -0
- data/lib/wsdl/binding.rb +1 -0
- data/lib/wsdl/data.rb +1 -0
- data/lib/wsdl/definitions.rb +1 -0
- data/lib/wsdl/documentation.rb +1 -0
- data/lib/wsdl/import.rb +1 -0
- data/lib/wsdl/importer.rb +1 -0
- data/lib/wsdl/info.rb +1 -0
- data/lib/wsdl/message.rb +1 -0
- data/lib/wsdl/operation.rb +1 -0
- data/lib/wsdl/operationBinding.rb +1 -0
- data/lib/wsdl/param.rb +1 -0
- data/lib/wsdl/parser.rb +1 -0
- data/lib/wsdl/part.rb +1 -0
- data/lib/wsdl/port.rb +1 -0
- data/lib/wsdl/portType.rb +1 -0
- data/lib/wsdl/service.rb +1 -0
- data/lib/wsdl/soap/address.rb +1 -0
- data/lib/wsdl/soap/binding.rb +1 -0
- data/lib/wsdl/soap/body.rb +1 -0
- data/lib/wsdl/soap/cgiStubCreator.rb +1 -0
- data/lib/wsdl/soap/classDefCreator.rb +1 -0
- data/lib/wsdl/soap/classDefCreatorSupport.rb +1 -0
- data/lib/wsdl/soap/classNameCreator.rb +1 -0
- data/lib/wsdl/soap/clientSkeltonCreator.rb +1 -0
- data/lib/wsdl/soap/complexType.rb +1 -0
- data/lib/wsdl/soap/data.rb +1 -0
- data/lib/wsdl/soap/definitions.rb +1 -0
- data/lib/wsdl/soap/driverCreator.rb +1 -0
- data/lib/wsdl/soap/element.rb +1 -0
- data/lib/wsdl/soap/encodedMappingRegistryCreator.rb +1 -0
- data/lib/wsdl/soap/fault.rb +1 -0
- data/lib/wsdl/soap/header.rb +1 -0
- data/lib/wsdl/soap/headerfault.rb +1 -0
- data/lib/wsdl/soap/literalMappingRegistryCreator.rb +1 -0
- data/lib/wsdl/soap/mappingRegistryCreator.rb +1 -0
- data/lib/wsdl/soap/mappingRegistryCreatorSupport.rb +1 -0
- data/lib/wsdl/soap/methodDefCreator.rb +1 -0
- data/lib/wsdl/soap/operation.rb +1 -0
- data/lib/wsdl/soap/servantSkeltonCreator.rb +1 -0
- data/lib/wsdl/soap/servletStubCreator.rb +1 -0
- data/lib/wsdl/soap/standaloneServerStubCreator.rb +1 -0
- data/lib/wsdl/soap/wsdl2ruby.rb +9 -0
- data/lib/wsdl/types.rb +1 -0
- data/lib/wsdl/wsdl.rb +1 -0
- data/lib/wsdl/xmlSchema/all.rb +1 -0
- data/lib/wsdl/xmlSchema/annotation.rb +1 -0
- data/lib/wsdl/xmlSchema/any.rb +1 -0
- data/lib/wsdl/xmlSchema/anyAttribute.rb +1 -0
- data/lib/wsdl/xmlSchema/attribute.rb +1 -0
- data/lib/wsdl/xmlSchema/attributeGroup.rb +1 -0
- data/lib/wsdl/xmlSchema/choice.rb +1 -0
- data/lib/wsdl/xmlSchema/complexContent.rb +1 -0
- data/lib/wsdl/xmlSchema/complexExtension.rb +1 -0
- data/lib/wsdl/xmlSchema/complexRestriction.rb +1 -0
- data/lib/wsdl/xmlSchema/complexType.rb +1 -0
- data/lib/wsdl/xmlSchema/content.rb +1 -0
- data/lib/wsdl/xmlSchema/data.rb +1 -0
- data/lib/wsdl/xmlSchema/element.rb +1 -0
- data/lib/wsdl/xmlSchema/enumeration.rb +1 -0
- data/lib/wsdl/xmlSchema/fractiondigits.rb +1 -0
- data/lib/wsdl/xmlSchema/group.rb +1 -0
- data/lib/wsdl/xmlSchema/import.rb +1 -0
- data/lib/wsdl/xmlSchema/importHandler.rb +1 -0
- data/lib/wsdl/xmlSchema/importer.rb +1 -0
- data/lib/wsdl/xmlSchema/include.rb +1 -0
- data/lib/wsdl/xmlSchema/length.rb +1 -0
- data/lib/wsdl/xmlSchema/list.rb +1 -0
- data/lib/wsdl/xmlSchema/maxexclusive.rb +1 -0
- data/lib/wsdl/xmlSchema/maxinclusive.rb +1 -0
- data/lib/wsdl/xmlSchema/maxlength.rb +1 -0
- data/lib/wsdl/xmlSchema/minexclusive.rb +1 -0
- data/lib/wsdl/xmlSchema/mininclusive.rb +1 -0
- data/lib/wsdl/xmlSchema/minlength.rb +1 -0
- data/lib/wsdl/xmlSchema/parser.rb +1 -0
- data/lib/wsdl/xmlSchema/pattern.rb +1 -0
- data/lib/wsdl/xmlSchema/ref.rb +1 -0
- data/lib/wsdl/xmlSchema/schema.rb +1 -0
- data/lib/wsdl/xmlSchema/sequence.rb +1 -0
- data/lib/wsdl/xmlSchema/simpleContent.rb +1 -0
- data/lib/wsdl/xmlSchema/simpleExtension.rb +1 -0
- data/lib/wsdl/xmlSchema/simpleRestriction.rb +1 -0
- data/lib/wsdl/xmlSchema/simpleType.rb +1 -0
- data/lib/wsdl/xmlSchema/totaldigits.rb +1 -0
- data/lib/wsdl/xmlSchema/union.rb +1 -0
- data/lib/wsdl/xmlSchema/unique.rb +1 -0
- data/lib/wsdl/xmlSchema/whitespace.rb +1 -0
- data/lib/wsdl/xmlSchema/xsd2ruby.rb +2 -0
- data/lib/xsd/charset.rb +1 -0
- data/lib/xsd/codegen.rb +1 -0
- data/lib/xsd/codegen/classdef.rb +1 -0
- data/lib/xsd/codegen/commentdef.rb +1 -0
- data/lib/xsd/codegen/gensupport.rb +1 -0
- data/lib/xsd/codegen/methoddef.rb +1 -0
- data/lib/xsd/codegen/moduledef.rb +1 -0
- data/lib/xsd/datatypes.rb +11 -10
- data/lib/xsd/datatypes1999.rb +1 -0
- data/lib/xsd/iconvcharset.rb +1 -0
- data/lib/xsd/mapping.rb +1 -0
- data/lib/xsd/namedelements.rb +1 -0
- data/lib/xsd/ns.rb +1 -0
- data/lib/xsd/qname.rb +1 -0
- data/lib/xsd/xmlparser.rb +1 -0
- data/lib/xsd/xmlparser/libxmlparser.rb +1 -0
- data/lib/xsd/xmlparser/parser.rb +1 -0
- data/lib/xsd/xmlparser/rexmlparser.rb +1 -0
- data/lib/xsd/xmlparser/xmlparser.rb +1 -0
- data/lib/xsd/xmlparser/xmlscanner.rb +1 -0
- data/test/16runner.rb +1 -0
- data/test/helper.rb +2 -1
- data/test/interopR2/base.rb +1 -0
- data/test/interopR2/client.NetRemoting.rb +1 -0
- data/test/interopR2/client.rb +1 -0
- data/test/interopR2/client4S4C.rb +1 -0
- data/test/interopR2/client4S4C2.rb +1 -0
- data/test/interopR2/clientASP.NET.rb +1 -0
- data/test/interopR2/clientApacheAxis.rb +1 -0
- data/test/interopR2/clientApacheSOAP.rb +1 -0
- data/test/interopR2/clientBEAWebLogic.rb +1 -0
- data/test/interopR2/clientBase.rb +1 -0
- data/test/interopR2/clientCapeConnect.rb +1 -0
- data/test/interopR2/clientDelphi.rb +1 -0
- data/test/interopR2/clientEasySoap.rb +1 -0
- data/test/interopR2/clientFrontier.rb +1 -0
- data/test/interopR2/clientGLUE.rb +1 -0
- data/test/interopR2/clientHP.rb +1 -0
- data/test/interopR2/clientJAX-RPC.rb +1 -0
- data/test/interopR2/clientJSOAP.rb +1 -0
- data/test/interopR2/clientKafkaXSLT.rb +1 -0
- data/test/interopR2/clientMSSOAPToolkit2.0.rb +1 -0
- data/test/interopR2/clientMSSOAPToolkit3.0.rb +1 -0
- data/test/interopR2/clientNuSOAP.rb +1 -0
- data/test/interopR2/clientNuWave.rb +1 -0
- data/test/interopR2/clientOpenLink.rb +1 -0
- data/test/interopR2/clientOracle.rb +1 -0
- data/test/interopR2/clientPEAR.rb +1 -0
- data/test/interopR2/clientPhalanx.rb +1 -0
- data/test/interopR2/clientSIMACE.rb +1 -0
- data/test/interopR2/clientSOAP4R.rb +1 -0
- data/test/interopR2/clientSOAP__Lite.rb +1 -0
- data/test/interopR2/clientSQLData.rb +1 -0
- data/test/interopR2/clientSilverStream.rb +1 -0
- data/test/interopR2/clientSpray2001.rb +1 -0
- data/test/interopR2/clientSun.rb +1 -0
- data/test/interopR2/clientVWOpentalkSoap.rb +1 -0
- data/test/interopR2/clientWASP.rb +1 -0
- data/test/interopR2/clientWASPC.rb +1 -0
- data/test/interopR2/clientWebMethods.rb +1 -0
- data/test/interopR2/clientWhiteMesa.rb +1 -0
- data/test/interopR2/clientWingfoot.rb +1 -0
- data/test/interopR2/clientXMLBus.rb +1 -0
- data/test/interopR2/clientXMLRPC-EPI.rb +1 -0
- data/test/interopR2/clientXSOAP.rb +1 -0
- data/test/interopR2/clientZSI.rb +1 -0
- data/test/interopR2/clienteSOAP.rb +1 -0
- data/test/interopR2/clientgSOAP.rb +1 -0
- data/test/interopR2/clientkSOAP.rb +1 -0
- data/test/interopR2/iSimonReg.rb +1 -0
- data/test/interopR2/interopResultBase.rb +1 -0
- data/test/interopR2/interopService.rb +1 -0
- data/test/interopR2/rwikiInteropService.rb +1 -0
- data/test/interopR2/server.cgi +1 -0
- data/test/interopR2/server.rb +1 -0
- data/test/interopR2/simonReg.rb +1 -0
- data/test/interopR4/client.rb +1 -0
- data/test/runner.rb +1 -0
- data/test/sm11/classDef.rb +1 -0
- data/test/sm11/client.rb +1 -0
- data/test/sm11/driver.rb +1 -0
- data/test/sm11/servant.rb +1 -0
- data/test/sm11/server.rb +1 -0
- data/test/soap/asp.net/test_aspdotnet.rb +1 -0
- data/test/soap/auth/test_basic.rb +1 -0
- data/test/soap/auth/test_digest.rb +1 -0
- data/test/soap/calc/calc.rb +1 -0
- data/test/soap/calc/calc2.rb +1 -0
- data/test/soap/calc/server.cgi +1 -0
- data/test/soap/calc/server.rb +1 -0
- data/test/soap/calc/server2.rb +1 -0
- data/test/soap/calc/test_calc.rb +1 -0
- data/test/soap/calc/test_calc2.rb +1 -0
- data/test/soap/calc/test_calc_cgi.rb +1 -0
- data/test/soap/case/test_mapping.rb +1 -0
- data/test/soap/fault/test_customfault.rb +1 -0
- data/test/soap/fault/test_fault.rb +1 -0
- data/test/soap/fault/test_soaparray.rb +1 -0
- data/test/soap/filter/test_filter.rb +1 -0
- data/test/soap/header/server.cgi +1 -0
- data/test/soap/header/test_authheader.rb +1 -0
- data/test/soap/header/test_authheader_cgi.rb +1 -0
- data/test/soap/header/test_simplehandler.rb +1 -0
- data/test/soap/helloworld/hw_s.rb +1 -0
- data/test/soap/helloworld/test_helloworld.rb +1 -0
- data/test/soap/literalArrayMapping/amazonEc.rb +1 -0
- data/test/soap/literalArrayMapping/amazonEcDriver.rb +1 -0
- data/test/soap/literalArrayMapping/test_definedarray.rb +1 -0
- data/test/soap/marshal/marshaltestlib.rb +4 -3
- data/test/soap/marshal/test_digraph.rb +1 -0
- data/test/soap/marshal/test_marshal.rb +1 -0
- data/test/soap/marshal/test_struct.rb +1 -0
- data/test/soap/ssl/sslsvr.rb +1 -0
- data/test/soap/ssl/test_ssl.rb +1 -0
- data/test/soap/struct/test_struct.rb +1 -0
- data/test/soap/styleuse/client.rb +1 -0
- data/test/soap/styleuse/server.rb +1 -0
- data/test/soap/swa/test_file.rb +1 -0
- data/test/soap/test_basetype.rb +1 -0
- data/test/soap/test_cookie.rb +1 -0
- data/test/soap/test_custom_ns.rb +1 -0
- data/test/soap/test_custommap.rb +1 -0
- data/test/soap/test_empty.rb +1 -0
- data/test/soap/test_envelopenamespace.rb +1 -0
- data/test/soap/test_extraattr.rb +1 -0
- data/test/soap/test_generator.rb +1 -0
- data/test/soap/test_httpconfigloader.rb +1 -0
- data/test/soap/test_mapping.rb +1 -0
- data/test/soap/test_nestedexception.rb +19 -18
- data/test/soap/test_nil.rb +1 -0
- data/test/soap/test_no_indent.rb +1 -0
- data/test/soap/test_property.rb +1 -0
- data/test/soap/test_response_as_xml.rb +1 -0
- data/test/soap/test_soapelement.rb +1 -0
- data/test/soap/test_streamhandler.rb +1 -0
- data/test/soap/test_styleuse.rb +1 -0
- data/test/soap/wsdlDriver/echo_version.rb +1 -0
- data/test/soap/wsdlDriver/test_calc.rb +1 -0
- data/test/soap/wsdlDriver/test_document.rb +1 -0
- data/test/soap/wsdlDriver/test_simpletype.rb +1 -0
- data/test/testutil.rb +1 -0
- data/test/wsdl/abstract/test_abstract.rb +1 -0
- data/test/wsdl/anonymous/expectedClassDef.rb +1 -0
- data/test/wsdl/anonymous/expectedDriver.rb +1 -0
- data/test/wsdl/anonymous/expectedMappingRegistry.rb +1 -0
- data/test/wsdl/anonymous/test_anonymous.rb +1 -0
- data/test/wsdl/any/expectedDriver.rb +1 -0
- data/test/wsdl/any/expectedEcho.rb +1 -0
- data/test/wsdl/any/expectedMappingRegistry.rb +1 -0
- data/test/wsdl/any/expectedService.rb +1 -0
- data/test/wsdl/any/test_any.rb +1 -0
- data/test/wsdl/axisArray/test_axisarray.rb +1 -0
- data/test/wsdl/choice/test_choice.rb +1 -0
- data/test/wsdl/complexcontent/test_echo.rb +1 -0
- data/test/wsdl/datetime/DatetimeService.rb +1 -0
- data/test/wsdl/datetime/datetimeServant.rb +1 -0
- data/test/wsdl/datetime/test_datetime.rb +1 -0
- data/test/wsdl/document/array/test_array.rb +1 -0
- data/test/wsdl/document/test_nosoapaction.rb +1 -0
- data/test/wsdl/document/test_number.rb +1 -0
- data/test/wsdl/document/test_rpc.rb +1 -0
- data/test/wsdl/fault/test_fault.rb +1 -0
- data/test/wsdl/fault/test_multifault.rb +1 -0
- data/test/wsdl/group/expectedClassdef.rb +1 -0
- data/test/wsdl/group/expectedDriver.rb +1 -0
- data/test/wsdl/group/expectedMappingRegistry.rb +1 -0
- data/test/wsdl/group/test_rpc.rb +1 -0
- data/test/wsdl/list/test_list.rb +1 -0
- data/test/wsdl/map/test_map.rb +1 -0
- data/test/wsdl/marshal/person_org.rb +1 -0
- data/test/wsdl/marshal/test_wsdlmarshal.rb +1 -0
- data/test/wsdl/oneway/test_oneway.rb +1 -0
- data/test/wsdl/overload/expectedClient.rb +1 -0
- data/test/wsdl/overload/expectedDriver.rb +1 -0
- data/test/wsdl/overload/expectedServant.rb +1 -0
- data/test/wsdl/overload/test_overload.rb +1 -0
- data/test/wsdl/qualified/test_qualified.rb +1 -0
- data/test/wsdl/qualified/test_unqualified.rb +1 -0
- data/test/wsdl/raa/RAAService.rb +1 -0
- data/test/wsdl/raa/expectedClassDef.rb +1 -0
- data/test/wsdl/raa/expectedDriver.rb +1 -0
- data/test/wsdl/raa/expectedMappingRegistry.rb +1 -0
- data/test/wsdl/raa/test_raa.rb +1 -0
- data/test/wsdl/ref/expectedDriver.rb +1 -0
- data/test/wsdl/ref/expectedProduct.rb +1 -0
- data/test/wsdl/ref/test_ref.rb +1 -0
- data/test/wsdl/rpc/RPC-Literal-TestDefinitions.rb +91 -0
- data/test/wsdl/rpc/RPC-Literal-TestDefinitionsDriver.rb +148 -0
- data/test/wsdl/rpc/RPC-Literal-TestDefinitionsMappingRegistry.rb +169 -0
- data/test/wsdl/rpc/test_rpc.rb +1 -0
- data/test/wsdl/rpc/test_rpc_lit.rb +1 -0
- data/test/wsdl/simplecontent/test_simplecontent.rb +1 -0
- data/test/wsdl/simpletype/rpc/expectedClient.rb +1 -0
- data/test/wsdl/simpletype/rpc/expectedDriver.rb +1 -0
- data/test/wsdl/simpletype/rpc/expectedEchoVersion.rb +1 -0
- data/test/wsdl/simpletype/rpc/expectedMappingRegistry.rb +1 -0
- data/test/wsdl/simpletype/rpc/expectedServant.rb +1 -0
- data/test/wsdl/simpletype/rpc/expectedService.rb +1 -0
- data/test/wsdl/simpletype/rpc/test_rpc.rb +1 -0
- data/test/wsdl/simpletype/test_simpletype.rb +1 -0
- data/test/wsdl/soap/test_soapbodyparts.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/expectedClassdef.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/expectedClient.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/expectedDriver.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/expectedMappingRegistry.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/expectedServant.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/expectedService.cgi +1 -0
- data/test/wsdl/soap/wsdl2ruby/expectedService.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/section/expectedClassdef.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +1 -0
- data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +1 -0
- data/test/wsdl/soaptype/test_soaptype.rb +1 -0
- data/test/wsdl/test_emptycomplextype.rb +1 -0
- data/test/wsdl/test_fault.rb +1 -0
- data/test/wsdl/test_multiplefault.rb +1 -0
- data/test/xsd/codegen/test_classdef.rb +1 -0
- data/test/xsd/test_noencoding.rb +1 -0
- data/test/xsd/test_ns.rb +1 -0
- data/test/xsd/test_xmlschemaparser.rb +1 -0
- data/test/xsd/test_xsd.rb +1 -0
- data/test/xsd/xsd2ruby/expected_mysample.rb +1 -0
- data/test/xsd/xsd2ruby/expected_mysample_mapper.rb +1 -0
- data/test/xsd/xsd2ruby/expected_mysample_mapping_registry.rb +1 -0
- data/test/xsd/xsd2ruby/test_xsd2ruby.rb +1 -0
- metadata +6 -7
data/test/wsdl/raa/RAAService.rb
CHANGED
data/test/wsdl/raa/test_raa.rb
CHANGED
data/test/wsdl/ref/test_ref.rb
CHANGED
@@ -0,0 +1,91 @@
|
|
1
|
+
# encoding: ASCII-8BIT
|
2
|
+
require 'xsd/qname'
|
3
|
+
|
4
|
+
module WSDL; module RPC
|
5
|
+
|
6
|
+
|
7
|
+
# {http://soapbuilders.org/rpc-lit-test/types}ArrayOfstring
|
8
|
+
class ArrayOfstring < ::Array
|
9
|
+
end
|
10
|
+
|
11
|
+
# {http://soapbuilders.org/rpc-lit-test/types}ArrayOfstringInline
|
12
|
+
class ArrayOfstringInline < ::Array
|
13
|
+
end
|
14
|
+
|
15
|
+
# {http://soapbuilders.org/rpc-lit-test/types}ArrayOfint
|
16
|
+
class ArrayOfint < ::Array
|
17
|
+
end
|
18
|
+
|
19
|
+
# {http://soapbuilders.org/rpc-lit-test/types}SOAPStruct
|
20
|
+
# varString - SOAP::SOAPString
|
21
|
+
# varInt - SOAP::SOAPInt
|
22
|
+
# varFloat - SOAP::SOAPFloat
|
23
|
+
class SOAPStruct
|
24
|
+
attr_accessor :varString
|
25
|
+
attr_accessor :varInt
|
26
|
+
attr_accessor :varFloat
|
27
|
+
|
28
|
+
def initialize(varString = nil, varInt = nil, varFloat = nil)
|
29
|
+
@varString = varString
|
30
|
+
@varInt = varInt
|
31
|
+
@varFloat = varFloat
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# {http://soapbuilders.org/rpc-lit-test/types}CombinationArray
|
36
|
+
# a - SOAP::SOAPString
|
37
|
+
# b - SOAP::SOAPInt
|
38
|
+
class CombinationArray
|
39
|
+
attr_accessor :a
|
40
|
+
attr_accessor :b
|
41
|
+
|
42
|
+
def initialize(a = [], b = [])
|
43
|
+
@a = a
|
44
|
+
@b = b
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# {http://soapbuilders.org/rpc-lit-test/types}ArrayOfSOAPStruct
|
49
|
+
class ArrayOfSOAPStruct < ::Array
|
50
|
+
end
|
51
|
+
|
52
|
+
# {http://soapbuilders.org/rpc-lit-test/types}SOAPStructStruct
|
53
|
+
# varString - SOAP::SOAPString
|
54
|
+
# varInt - SOAP::SOAPInt
|
55
|
+
# varFloat - SOAP::SOAPFloat
|
56
|
+
# structItem - WSDL::RPC::SOAPStruct
|
57
|
+
class SOAPStructStruct
|
58
|
+
attr_accessor :varString
|
59
|
+
attr_accessor :varInt
|
60
|
+
attr_accessor :varFloat
|
61
|
+
attr_accessor :structItem
|
62
|
+
|
63
|
+
def initialize(varString = nil, varInt = nil, varFloat = nil, structItem = nil)
|
64
|
+
@varString = varString
|
65
|
+
@varInt = varInt
|
66
|
+
@varFloat = varFloat
|
67
|
+
@structItem = structItem
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
# {http://soapbuilders.org/rpc-lit-test/types}SOAPArrayStruct
|
72
|
+
# varString - SOAP::SOAPString
|
73
|
+
# varInt - SOAP::SOAPInt
|
74
|
+
# varFloat - SOAP::SOAPFloat
|
75
|
+
# varArray - WSDL::RPC::ArrayOfstring
|
76
|
+
class SOAPArrayStruct
|
77
|
+
attr_accessor :varString
|
78
|
+
attr_accessor :varInt
|
79
|
+
attr_accessor :varFloat
|
80
|
+
attr_accessor :varArray
|
81
|
+
|
82
|
+
def initialize(varString = nil, varInt = nil, varFloat = nil, varArray = nil)
|
83
|
+
@varString = varString
|
84
|
+
@varInt = varInt
|
85
|
+
@varFloat = varFloat
|
86
|
+
@varArray = varArray
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
|
91
|
+
end; end
|
@@ -0,0 +1,148 @@
|
|
1
|
+
# encoding: ASCII-8BIT
|
2
|
+
require 'RPC-Literal-TestDefinitions.rb'
|
3
|
+
require 'RPC-Literal-TestDefinitionsMappingRegistry.rb'
|
4
|
+
require 'soap/rpc/driver'
|
5
|
+
|
6
|
+
module WSDL::RPC
|
7
|
+
|
8
|
+
class SoapTestPortTypeRpcLit < ::SOAP::RPC::Driver
|
9
|
+
DefaultEndpointUrl = "http://www.whitemesa.net/test-rpc-lit"
|
10
|
+
NsRpcLitTest = "http://soapbuilders.org/rpc-lit-test"
|
11
|
+
|
12
|
+
Methods = [
|
13
|
+
[ XSD::QName.new(NsRpcLitTest, "echoStruct"),
|
14
|
+
"http://soapinterop.org/",
|
15
|
+
"echoStruct",
|
16
|
+
[ [:in, "inputStruct", ["WSDL::RPC::SOAPStruct", "http://soapbuilders.org/rpc-lit-test/types", "SOAPStruct"]],
|
17
|
+
[:retval, "return", ["WSDL::RPC::SOAPStruct", "http://soapbuilders.org/rpc-lit-test/types", "SOAPStruct"]] ],
|
18
|
+
{ :request_style => :rpc, :request_use => :literal,
|
19
|
+
:response_style => :rpc, :response_use => :literal,
|
20
|
+
:faults => {} }
|
21
|
+
],
|
22
|
+
[ XSD::QName.new(NsRpcLitTest, "echoStructArray"),
|
23
|
+
"http://soapinterop.org/",
|
24
|
+
"echoStructArray",
|
25
|
+
[ [:in, "inputStructArray", ["WSDL::RPC::ArrayOfSOAPStruct", "http://soapbuilders.org/rpc-lit-test/types", "ArrayOfSOAPStruct"]],
|
26
|
+
[:retval, "return", ["WSDL::RPC::ArrayOfSOAPStruct", "http://soapbuilders.org/rpc-lit-test/types", "ArrayOfSOAPStruct"]] ],
|
27
|
+
{ :request_style => :rpc, :request_use => :literal,
|
28
|
+
:response_style => :rpc, :response_use => :literal,
|
29
|
+
:faults => {} }
|
30
|
+
],
|
31
|
+
[ XSD::QName.new(NsRpcLitTest, "echoStructAsSimpleTypes"),
|
32
|
+
"http://soapinterop.org/",
|
33
|
+
"echoStructAsSimpleTypes",
|
34
|
+
[ [:in, "inputStruct", ["WSDL::RPC::SOAPStruct", "http://soapbuilders.org/rpc-lit-test/types", "SOAPStruct"]],
|
35
|
+
[:retval, "outputString", ["::SOAP::SOAPString"]],
|
36
|
+
[:out, "outputInteger", ["::SOAP::SOAPInt"]],
|
37
|
+
[:out, "outputFloat", ["::SOAP::SOAPFloat"]] ],
|
38
|
+
{ :request_style => :rpc, :request_use => :literal,
|
39
|
+
:response_style => :rpc, :response_use => :literal,
|
40
|
+
:faults => {} }
|
41
|
+
],
|
42
|
+
[ XSD::QName.new(NsRpcLitTest, "echoSimpleTypesAsStruct"),
|
43
|
+
"http://soapinterop.org/",
|
44
|
+
"echoSimpleTypesAsStruct",
|
45
|
+
[ [:in, "inputString", ["::SOAP::SOAPString"]],
|
46
|
+
[:in, "inputInteger", ["::SOAP::SOAPInt"]],
|
47
|
+
[:in, "inputFloat", ["::SOAP::SOAPFloat"]],
|
48
|
+
[:retval, "return", ["WSDL::RPC::SOAPStruct", "http://soapbuilders.org/rpc-lit-test/types", "SOAPStruct"]] ],
|
49
|
+
{ :request_style => :rpc, :request_use => :literal,
|
50
|
+
:response_style => :rpc, :response_use => :literal,
|
51
|
+
:faults => {} }
|
52
|
+
],
|
53
|
+
[ XSD::QName.new(NsRpcLitTest, "echoNestedStruct"),
|
54
|
+
"http://soapinterop.org/",
|
55
|
+
"echoNestedStruct",
|
56
|
+
[ [:in, "inputStruct", ["WSDL::RPC::SOAPStructStruct", "http://soapbuilders.org/rpc-lit-test/types", "SOAPStructStruct"]],
|
57
|
+
[:retval, "return", ["WSDL::RPC::SOAPStructStruct", "http://soapbuilders.org/rpc-lit-test/types", "SOAPStructStruct"]] ],
|
58
|
+
{ :request_style => :rpc, :request_use => :literal,
|
59
|
+
:response_style => :rpc, :response_use => :literal,
|
60
|
+
:faults => {} }
|
61
|
+
],
|
62
|
+
[ XSD::QName.new(NsRpcLitTest, "echoNestedArray"),
|
63
|
+
"http://soapinterop.org/",
|
64
|
+
"echoNestedArray",
|
65
|
+
[ [:in, "inputStruct", ["WSDL::RPC::SOAPArrayStruct", "http://soapbuilders.org/rpc-lit-test/types", "SOAPArrayStruct"]],
|
66
|
+
[:retval, "return", ["WSDL::RPC::SOAPArrayStruct", "http://soapbuilders.org/rpc-lit-test/types", "SOAPArrayStruct"]] ],
|
67
|
+
{ :request_style => :rpc, :request_use => :literal,
|
68
|
+
:response_style => :rpc, :response_use => :literal,
|
69
|
+
:faults => {} }
|
70
|
+
],
|
71
|
+
[ XSD::QName.new(NsRpcLitTest, "echoStringArray"),
|
72
|
+
"http://soapinterop.org/",
|
73
|
+
"echoStringArray",
|
74
|
+
[ [:in, "inputStringArray", ["WSDL::RPC::ArrayOfstring", "http://soapbuilders.org/rpc-lit-test/types", "ArrayOfstring"]],
|
75
|
+
[:retval, "return", ["WSDL::RPC::ArrayOfstring", "http://soapbuilders.org/rpc-lit-test/types", "ArrayOfstring"]] ],
|
76
|
+
{ :request_style => :rpc, :request_use => :literal,
|
77
|
+
:response_style => :rpc, :response_use => :literal,
|
78
|
+
:faults => {} }
|
79
|
+
],
|
80
|
+
[ XSD::QName.new(NsRpcLitTest, "echoStringArrayInline"),
|
81
|
+
"http://soapinterop.org/",
|
82
|
+
"echoStringArrayInline",
|
83
|
+
[ [:in, "inputStringArray", ["WSDL::RPC::ArrayOfstringInline", "http://soapbuilders.org/rpc-lit-test/types", "ArrayOfstringInline"]],
|
84
|
+
[:retval, "return", ["WSDL::RPC::ArrayOfstringInline", "http://soapbuilders.org/rpc-lit-test/types", "ArrayOfstringInline"]] ],
|
85
|
+
{ :request_style => :rpc, :request_use => :literal,
|
86
|
+
:response_style => :rpc, :response_use => :literal,
|
87
|
+
:faults => {} }
|
88
|
+
],
|
89
|
+
[ XSD::QName.new(NsRpcLitTest, "echoIntegerArray"),
|
90
|
+
"http://soapinterop.org/",
|
91
|
+
"echoIntegerArray",
|
92
|
+
[ [:in, "inputIntegerArray", ["WSDL::RPC::ArrayOfint", "http://soapbuilders.org/rpc-lit-test/types", "ArrayOfint"]],
|
93
|
+
[:retval, "return", ["WSDL::RPC::ArrayOfint", "http://soapbuilders.org/rpc-lit-test/types", "ArrayOfint"]] ],
|
94
|
+
{ :request_style => :rpc, :request_use => :literal,
|
95
|
+
:response_style => :rpc, :response_use => :literal,
|
96
|
+
:faults => {} }
|
97
|
+
],
|
98
|
+
[ XSD::QName.new(NsRpcLitTest, "echoBoolean"),
|
99
|
+
"http://soapinterop.org/",
|
100
|
+
"echoBoolean",
|
101
|
+
[ [:in, "inputBoolean", ["::SOAP::SOAPBoolean"]],
|
102
|
+
[:retval, "return", ["::SOAP::SOAPBoolean"]] ],
|
103
|
+
{ :request_style => :rpc, :request_use => :literal,
|
104
|
+
:response_style => :rpc, :response_use => :literal,
|
105
|
+
:faults => {} }
|
106
|
+
],
|
107
|
+
[ XSD::QName.new(NsRpcLitTest, "echoString"),
|
108
|
+
"http://soapinterop.org/",
|
109
|
+
"echoString",
|
110
|
+
[ [:in, "inputString", ["::SOAP::SOAPString"]],
|
111
|
+
[:retval, "return", ["::SOAP::SOAPString"]] ],
|
112
|
+
{ :request_style => :rpc, :request_use => :literal,
|
113
|
+
:response_style => :rpc, :response_use => :literal,
|
114
|
+
:faults => {} }
|
115
|
+
]
|
116
|
+
]
|
117
|
+
|
118
|
+
def initialize(endpoint_url = nil)
|
119
|
+
endpoint_url ||= DefaultEndpointUrl
|
120
|
+
super(endpoint_url, nil)
|
121
|
+
self.mapping_registry = RPCLiteralTestDefinitionsMappingRegistry::EncodedRegistry
|
122
|
+
self.literal_mapping_registry = RPCLiteralTestDefinitionsMappingRegistry::LiteralRegistry
|
123
|
+
init_methods
|
124
|
+
end
|
125
|
+
|
126
|
+
private
|
127
|
+
|
128
|
+
def init_methods
|
129
|
+
Methods.each do |definitions|
|
130
|
+
opt = definitions.last
|
131
|
+
if opt[:request_style] == :document
|
132
|
+
add_document_operation(*definitions)
|
133
|
+
else
|
134
|
+
add_rpc_operation(*definitions)
|
135
|
+
qname = definitions[0]
|
136
|
+
name = definitions[2]
|
137
|
+
if qname.name != name and qname.name.capitalize == name.capitalize
|
138
|
+
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
139
|
+
__send__(name, *arg)
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
146
|
+
|
147
|
+
|
148
|
+
end
|
@@ -0,0 +1,169 @@
|
|
1
|
+
# encoding: ASCII-8BIT
|
2
|
+
require 'RPC-Literal-TestDefinitions.rb'
|
3
|
+
require 'soap/mapping'
|
4
|
+
|
5
|
+
module WSDL; module RPC
|
6
|
+
|
7
|
+
module RPCLiteralTestDefinitionsMappingRegistry
|
8
|
+
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
9
|
+
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
10
|
+
NsTypes = "http://soapbuilders.org/rpc-lit-test/types"
|
11
|
+
|
12
|
+
EncodedRegistry.register(
|
13
|
+
:class => WSDL::RPC::ArrayOfstring,
|
14
|
+
:schema_type => XSD::QName.new(NsTypes, "ArrayOfstring"),
|
15
|
+
:schema_element => [
|
16
|
+
["stringItem", "SOAP::SOAPString[]", [0, nil]]
|
17
|
+
]
|
18
|
+
)
|
19
|
+
|
20
|
+
EncodedRegistry.register(
|
21
|
+
:class => WSDL::RPC::ArrayOfstringInline,
|
22
|
+
:schema_type => XSD::QName.new(NsTypes, "ArrayOfstringInline"),
|
23
|
+
:schema_element => [
|
24
|
+
["stringItem", ["SOAP::SOAPString[]", XSD::QName.new(nil, "stringItem")], [0, nil]]
|
25
|
+
]
|
26
|
+
)
|
27
|
+
|
28
|
+
EncodedRegistry.register(
|
29
|
+
:class => WSDL::RPC::ArrayOfint,
|
30
|
+
:schema_type => XSD::QName.new(NsTypes, "ArrayOfint"),
|
31
|
+
:schema_element => [
|
32
|
+
["integer", ["SOAP::SOAPInt[]", XSD::QName.new(nil, "integer")], [0, nil]]
|
33
|
+
]
|
34
|
+
)
|
35
|
+
|
36
|
+
EncodedRegistry.register(
|
37
|
+
:class => WSDL::RPC::SOAPStruct,
|
38
|
+
:schema_type => XSD::QName.new(NsTypes, "SOAPStruct"),
|
39
|
+
:schema_element => [
|
40
|
+
["varString", ["SOAP::SOAPString", XSD::QName.new(nil, "varString")]],
|
41
|
+
["varInt", ["SOAP::SOAPInt", XSD::QName.new(nil, "varInt")], [0, 1]],
|
42
|
+
["varFloat", ["SOAP::SOAPFloat", XSD::QName.new(nil, "varFloat")]]
|
43
|
+
]
|
44
|
+
)
|
45
|
+
|
46
|
+
EncodedRegistry.register(
|
47
|
+
:class => WSDL::RPC::CombinationArray,
|
48
|
+
:schema_type => XSD::QName.new(NsTypes, "CombinationArray"),
|
49
|
+
:schema_element => [
|
50
|
+
["a", ["SOAP::SOAPString[]", XSD::QName.new(nil, "a")], [0, nil]],
|
51
|
+
["b", ["SOAP::SOAPInt[]", XSD::QName.new(nil, "b")], [0, nil]]
|
52
|
+
]
|
53
|
+
)
|
54
|
+
|
55
|
+
EncodedRegistry.register(
|
56
|
+
:class => WSDL::RPC::ArrayOfSOAPStruct,
|
57
|
+
:schema_type => XSD::QName.new(NsTypes, "ArrayOfSOAPStruct"),
|
58
|
+
:schema_element => [
|
59
|
+
["structItem", "WSDL::RPC::SOAPStruct[]", [0, nil]]
|
60
|
+
]
|
61
|
+
)
|
62
|
+
|
63
|
+
EncodedRegistry.register(
|
64
|
+
:class => WSDL::RPC::SOAPStructStruct,
|
65
|
+
:schema_type => XSD::QName.new(NsTypes, "SOAPStructStruct"),
|
66
|
+
:schema_element => [
|
67
|
+
["varString", ["SOAP::SOAPString", XSD::QName.new(nil, "varString")]],
|
68
|
+
["varInt", ["SOAP::SOAPInt", XSD::QName.new(nil, "varInt")], [0, 1]],
|
69
|
+
["varFloat", ["SOAP::SOAPFloat", XSD::QName.new(nil, "varFloat")]],
|
70
|
+
["structItem", "WSDL::RPC::SOAPStruct"]
|
71
|
+
]
|
72
|
+
)
|
73
|
+
|
74
|
+
EncodedRegistry.register(
|
75
|
+
:class => WSDL::RPC::SOAPArrayStruct,
|
76
|
+
:schema_type => XSD::QName.new(NsTypes, "SOAPArrayStruct"),
|
77
|
+
:schema_element => [
|
78
|
+
["varString", ["SOAP::SOAPString", XSD::QName.new(nil, "varString")]],
|
79
|
+
["varInt", ["SOAP::SOAPInt", XSD::QName.new(nil, "varInt")]],
|
80
|
+
["varFloat", ["SOAP::SOAPFloat", XSD::QName.new(nil, "varFloat")]],
|
81
|
+
["varArray", ["WSDL::RPC::ArrayOfstring", XSD::QName.new(nil, "varArray")]]
|
82
|
+
]
|
83
|
+
)
|
84
|
+
|
85
|
+
LiteralRegistry.register(
|
86
|
+
:class => WSDL::RPC::ArrayOfstring,
|
87
|
+
:schema_type => XSD::QName.new(NsTypes, "ArrayOfstring"),
|
88
|
+
:schema_element => [
|
89
|
+
["stringItem", "SOAP::SOAPString[]", [0, nil]]
|
90
|
+
]
|
91
|
+
)
|
92
|
+
|
93
|
+
LiteralRegistry.register(
|
94
|
+
:class => WSDL::RPC::ArrayOfstringInline,
|
95
|
+
:schema_type => XSD::QName.new(NsTypes, "ArrayOfstringInline"),
|
96
|
+
:schema_element => [
|
97
|
+
["stringItem", ["SOAP::SOAPString[]", XSD::QName.new(nil, "stringItem")], [0, nil]]
|
98
|
+
]
|
99
|
+
)
|
100
|
+
|
101
|
+
LiteralRegistry.register(
|
102
|
+
:class => WSDL::RPC::ArrayOfint,
|
103
|
+
:schema_type => XSD::QName.new(NsTypes, "ArrayOfint"),
|
104
|
+
:schema_element => [
|
105
|
+
["integer", ["SOAP::SOAPInt[]", XSD::QName.new(nil, "integer")], [0, nil]]
|
106
|
+
]
|
107
|
+
)
|
108
|
+
|
109
|
+
LiteralRegistry.register(
|
110
|
+
:class => WSDL::RPC::SOAPStruct,
|
111
|
+
:schema_type => XSD::QName.new(NsTypes, "SOAPStruct"),
|
112
|
+
:schema_element => [
|
113
|
+
["varString", ["SOAP::SOAPString", XSD::QName.new(nil, "varString")]],
|
114
|
+
["varInt", ["SOAP::SOAPInt", XSD::QName.new(nil, "varInt")], [0, 1]],
|
115
|
+
["varFloat", ["SOAP::SOAPFloat", XSD::QName.new(nil, "varFloat")]]
|
116
|
+
]
|
117
|
+
)
|
118
|
+
|
119
|
+
LiteralRegistry.register(
|
120
|
+
:class => WSDL::RPC::CombinationArray,
|
121
|
+
:schema_type => XSD::QName.new(NsTypes, "CombinationArray"),
|
122
|
+
:schema_element => [
|
123
|
+
["a", ["SOAP::SOAPString[]", XSD::QName.new(nil, "a")], [0, nil]],
|
124
|
+
["b", ["SOAP::SOAPInt[]", XSD::QName.new(nil, "b")], [0, nil]]
|
125
|
+
]
|
126
|
+
)
|
127
|
+
|
128
|
+
LiteralRegistry.register(
|
129
|
+
:class => WSDL::RPC::ArrayOfSOAPStruct,
|
130
|
+
:schema_type => XSD::QName.new(NsTypes, "ArrayOfSOAPStruct"),
|
131
|
+
:schema_element => [
|
132
|
+
["structItem", "WSDL::RPC::SOAPStruct[]", [0, nil]]
|
133
|
+
]
|
134
|
+
)
|
135
|
+
|
136
|
+
LiteralRegistry.register(
|
137
|
+
:class => WSDL::RPC::SOAPStructStruct,
|
138
|
+
:schema_type => XSD::QName.new(NsTypes, "SOAPStructStruct"),
|
139
|
+
:schema_element => [
|
140
|
+
["varString", ["SOAP::SOAPString", XSD::QName.new(nil, "varString")]],
|
141
|
+
["varInt", ["SOAP::SOAPInt", XSD::QName.new(nil, "varInt")], [0, 1]],
|
142
|
+
["varFloat", ["SOAP::SOAPFloat", XSD::QName.new(nil, "varFloat")]],
|
143
|
+
["structItem", "WSDL::RPC::SOAPStruct"]
|
144
|
+
]
|
145
|
+
)
|
146
|
+
|
147
|
+
LiteralRegistry.register(
|
148
|
+
:class => WSDL::RPC::SOAPArrayStruct,
|
149
|
+
:schema_type => XSD::QName.new(NsTypes, "SOAPArrayStruct"),
|
150
|
+
:schema_element => [
|
151
|
+
["varString", ["SOAP::SOAPString", XSD::QName.new(nil, "varString")]],
|
152
|
+
["varInt", ["SOAP::SOAPInt", XSD::QName.new(nil, "varInt")]],
|
153
|
+
["varFloat", ["SOAP::SOAPFloat", XSD::QName.new(nil, "varFloat")]],
|
154
|
+
["varArray", ["WSDL::RPC::ArrayOfstring", XSD::QName.new(nil, "varArray")]]
|
155
|
+
]
|
156
|
+
)
|
157
|
+
|
158
|
+
LiteralRegistry.register(
|
159
|
+
:class => WSDL::RPC::SOAPStruct,
|
160
|
+
:schema_name => XSD::QName.new(NsTypes, "structItem"),
|
161
|
+
:schema_element => [
|
162
|
+
["varString", ["SOAP::SOAPString", XSD::QName.new(nil, "varString")]],
|
163
|
+
["varInt", ["SOAP::SOAPInt", XSD::QName.new(nil, "varInt")], [0, 1]],
|
164
|
+
["varFloat", ["SOAP::SOAPFloat", XSD::QName.new(nil, "varFloat")]]
|
165
|
+
]
|
166
|
+
)
|
167
|
+
end
|
168
|
+
|
169
|
+
end; end
|