soap4r-sgonyea 1.5.9 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/wsdl2ruby.rb +0 -2
- data/bin/xsd2ruby.rb +1 -2
- data/lib/soap/attachment.rb +0 -1
- data/lib/soap/attrproxy.rb +0 -1
- data/lib/soap/baseData.rb +1 -2
- data/lib/soap/element.rb +1 -2
- data/lib/soap/encodingstyle/aspDotNetHandler.rb +0 -1
- data/lib/soap/encodingstyle/handler.rb +0 -1
- data/lib/soap/encodingstyle/literalHandler.rb +0 -1
- data/lib/soap/encodingstyle/soapHandler.rb +0 -1
- data/lib/soap/filter.rb +0 -1
- data/lib/soap/filter/filterchain.rb +0 -1
- data/lib/soap/filter/handler.rb +0 -1
- data/lib/soap/filter/streamhandler.rb +0 -1
- data/lib/soap/generator.rb +2 -2
- data/lib/soap/header/handler.rb +0 -1
- data/lib/soap/header/handlerset.rb +0 -1
- data/lib/soap/header/mappinghandler.rb +0 -1
- data/lib/soap/header/simplehandler.rb +0 -1
- data/lib/soap/httpconfigloader.rb +0 -1
- data/lib/soap/mapping.rb +0 -1
- data/lib/soap/mapping/encodedregistry.rb +0 -2
- data/lib/soap/mapping/factory.rb +1 -2
- data/lib/soap/mapping/literalregistry.rb +0 -1
- data/lib/soap/mapping/mapping.rb +2 -3
- data/lib/soap/mapping/registry.rb +0 -1
- data/lib/soap/mapping/rubytypeFactory.rb +1 -2
- data/lib/soap/mapping/schemadefinition.rb +0 -1
- data/lib/soap/mapping/typeMap.rb +0 -1
- data/lib/soap/mapping/wsdlencodedregistry.rb +0 -1
- data/lib/soap/mapping/wsdlliteralregistry.rb +0 -1
- data/lib/soap/marshal.rb +0 -1
- data/lib/soap/mimemessage.rb +0 -2
- data/lib/soap/nestedexception.rb +1 -2
- data/lib/soap/netHttpClient.rb +0 -1
- data/lib/soap/ns.rb +0 -5
- data/lib/soap/parser.rb +0 -1
- data/lib/soap/processor.rb +0 -1
- data/lib/soap/property.rb +3 -24
- data/lib/soap/proxy.rb +0 -1
- data/lib/soap/rpc/cgistub.rb +0 -1
- data/lib/soap/rpc/driver.rb +0 -1
- data/lib/soap/rpc/element.rb +1 -2
- data/lib/soap/rpc/httpserver.rb +0 -1
- data/lib/soap/rpc/methodDef.rb +0 -1
- data/lib/soap/rpc/proxy.rb +0 -1
- data/lib/soap/rpc/router.rb +0 -1
- data/lib/soap/rpc/rpc.rb +0 -1
- data/lib/soap/rpc/soaplet.rb +0 -1
- data/lib/soap/rpc/standaloneServer.rb +0 -1
- data/lib/soap/soap.rb +1 -4
- data/lib/soap/streamHandler.rb +1 -2
- data/lib/soap/wsdlDriver.rb +0 -1
- data/lib/wsdl/binding.rb +0 -1
- data/lib/wsdl/data.rb +0 -1
- data/lib/wsdl/definitions.rb +0 -1
- data/lib/wsdl/documentation.rb +0 -1
- data/lib/wsdl/import.rb +0 -1
- data/lib/wsdl/importer.rb +0 -1
- data/lib/wsdl/info.rb +0 -1
- data/lib/wsdl/message.rb +0 -1
- data/lib/wsdl/operation.rb +0 -1
- data/lib/wsdl/operationBinding.rb +0 -1
- data/lib/wsdl/param.rb +0 -1
- data/lib/wsdl/parser.rb +0 -1
- data/lib/wsdl/part.rb +0 -1
- data/lib/wsdl/port.rb +0 -1
- data/lib/wsdl/portType.rb +0 -1
- data/lib/wsdl/service.rb +0 -1
- data/lib/wsdl/soap/address.rb +0 -1
- data/lib/wsdl/soap/binding.rb +0 -1
- data/lib/wsdl/soap/body.rb +0 -1
- data/lib/wsdl/soap/cgiStubCreator.rb +0 -1
- data/lib/wsdl/soap/classDefCreator.rb +0 -1
- data/lib/wsdl/soap/classDefCreatorSupport.rb +1 -2
- data/lib/wsdl/soap/classNameCreator.rb +0 -1
- data/lib/wsdl/soap/clientSkeltonCreator.rb +2 -5
- data/lib/wsdl/soap/complexType.rb +0 -1
- data/lib/wsdl/soap/data.rb +0 -1
- data/lib/wsdl/soap/definitions.rb +0 -1
- data/lib/wsdl/soap/driverCreator.rb +2 -5
- data/lib/wsdl/soap/element.rb +0 -1
- data/lib/wsdl/soap/encodedMappingRegistryCreator.rb +0 -1
- data/lib/wsdl/soap/fault.rb +0 -1
- data/lib/wsdl/soap/header.rb +0 -1
- data/lib/wsdl/soap/headerfault.rb +0 -1
- data/lib/wsdl/soap/literalMappingRegistryCreator.rb +0 -1
- data/lib/wsdl/soap/mappingRegistryCreator.rb +0 -1
- data/lib/wsdl/soap/mappingRegistryCreatorSupport.rb +0 -1
- data/lib/wsdl/soap/methodDefCreator.rb +0 -1
- data/lib/wsdl/soap/operation.rb +0 -1
- data/lib/wsdl/soap/servantSkeltonCreator.rb +2 -5
- data/lib/wsdl/soap/servletStubCreator.rb +0 -1
- data/lib/wsdl/soap/standaloneServerStubCreator.rb +0 -1
- data/lib/wsdl/soap/wsdl2ruby.rb +0 -9
- data/lib/wsdl/types.rb +0 -1
- data/lib/wsdl/wsdl.rb +0 -1
- data/lib/wsdl/xmlSchema/all.rb +0 -1
- data/lib/wsdl/xmlSchema/annotation.rb +0 -1
- data/lib/wsdl/xmlSchema/any.rb +0 -1
- data/lib/wsdl/xmlSchema/anyAttribute.rb +0 -1
- data/lib/wsdl/xmlSchema/attribute.rb +0 -1
- data/lib/wsdl/xmlSchema/attributeGroup.rb +0 -1
- data/lib/wsdl/xmlSchema/choice.rb +0 -1
- data/lib/wsdl/xmlSchema/complexContent.rb +0 -1
- data/lib/wsdl/xmlSchema/complexExtension.rb +0 -1
- data/lib/wsdl/xmlSchema/complexRestriction.rb +0 -1
- data/lib/wsdl/xmlSchema/complexType.rb +0 -1
- data/lib/wsdl/xmlSchema/content.rb +0 -1
- data/lib/wsdl/xmlSchema/data.rb +0 -1
- data/lib/wsdl/xmlSchema/element.rb +0 -1
- data/lib/wsdl/xmlSchema/enumeration.rb +0 -1
- data/lib/wsdl/xmlSchema/fractiondigits.rb +0 -1
- data/lib/wsdl/xmlSchema/group.rb +0 -1
- data/lib/wsdl/xmlSchema/import.rb +0 -1
- data/lib/wsdl/xmlSchema/importHandler.rb +0 -1
- data/lib/wsdl/xmlSchema/importer.rb +0 -1
- data/lib/wsdl/xmlSchema/include.rb +0 -1
- data/lib/wsdl/xmlSchema/length.rb +0 -1
- data/lib/wsdl/xmlSchema/list.rb +0 -1
- data/lib/wsdl/xmlSchema/maxexclusive.rb +0 -1
- data/lib/wsdl/xmlSchema/maxinclusive.rb +0 -1
- data/lib/wsdl/xmlSchema/maxlength.rb +0 -1
- data/lib/wsdl/xmlSchema/minexclusive.rb +0 -1
- data/lib/wsdl/xmlSchema/mininclusive.rb +0 -1
- data/lib/wsdl/xmlSchema/minlength.rb +0 -1
- data/lib/wsdl/xmlSchema/parser.rb +0 -1
- data/lib/wsdl/xmlSchema/pattern.rb +0 -1
- data/lib/wsdl/xmlSchema/ref.rb +0 -1
- data/lib/wsdl/xmlSchema/schema.rb +0 -1
- data/lib/wsdl/xmlSchema/sequence.rb +0 -1
- data/lib/wsdl/xmlSchema/simpleContent.rb +0 -1
- data/lib/wsdl/xmlSchema/simpleExtension.rb +0 -1
- data/lib/wsdl/xmlSchema/simpleRestriction.rb +0 -1
- data/lib/wsdl/xmlSchema/simpleType.rb +0 -1
- data/lib/wsdl/xmlSchema/totaldigits.rb +0 -1
- data/lib/wsdl/xmlSchema/union.rb +0 -1
- data/lib/wsdl/xmlSchema/unique.rb +0 -1
- data/lib/wsdl/xmlSchema/whitespace.rb +0 -1
- data/lib/wsdl/xmlSchema/xsd2ruby.rb +0 -2
- data/lib/xsd/charset.rb +5 -6
- data/lib/xsd/codegen.rb +0 -1
- data/lib/xsd/codegen/classdef.rb +0 -1
- data/lib/xsd/codegen/commentdef.rb +0 -1
- data/lib/xsd/codegen/gensupport.rb +1 -5
- data/lib/xsd/codegen/methoddef.rb +0 -1
- data/lib/xsd/codegen/moduledef.rb +0 -1
- data/lib/xsd/datatypes.rb +16 -16
- data/lib/xsd/datatypes1999.rb +0 -1
- data/lib/xsd/iconvcharset.rb +0 -1
- data/lib/xsd/mapping.rb +0 -1
- data/lib/xsd/namedelements.rb +0 -1
- data/lib/xsd/ns.rb +1 -2
- data/lib/xsd/qname.rb +2 -3
- data/lib/xsd/xmlparser.rb +8 -9
- data/lib/xsd/xmlparser/libxmlparser.rb +0 -1
- data/lib/xsd/xmlparser/parser.rb +0 -1
- data/lib/xsd/xmlparser/rexmlparser.rb +0 -1
- data/lib/xsd/xmlparser/xmlparser.rb +0 -1
- data/lib/xsd/xmlparser/xmlscanner.rb +0 -1
- data/test/16runner.rb +0 -1
- data/test/interopR2/base.rb +0 -1
- data/test/interopR2/client.NetRemoting.rb +0 -1
- data/test/interopR2/client.rb +0 -1
- data/test/interopR2/client4S4C.rb +0 -1
- data/test/interopR2/client4S4C2.rb +0 -1
- data/test/interopR2/clientASP.NET.rb +0 -1
- data/test/interopR2/clientApacheAxis.rb +0 -1
- data/test/interopR2/clientApacheSOAP.rb +0 -1
- data/test/interopR2/clientBEAWebLogic.rb +0 -1
- data/test/interopR2/clientBase.rb +0 -1
- data/test/interopR2/clientCapeConnect.rb +0 -1
- data/test/interopR2/clientDelphi.rb +0 -1
- data/test/interopR2/clientEasySoap.rb +0 -1
- data/test/interopR2/clientFrontier.rb +0 -1
- data/test/interopR2/clientGLUE.rb +0 -1
- data/test/interopR2/clientHP.rb +0 -1
- data/test/interopR2/clientJAX-RPC.rb +0 -1
- data/test/interopR2/clientJSOAP.rb +0 -1
- data/test/interopR2/clientKafkaXSLT.rb +0 -1
- data/test/interopR2/clientMSSOAPToolkit2.0.rb +0 -1
- data/test/interopR2/clientMSSOAPToolkit3.0.rb +0 -1
- data/test/interopR2/clientNuSOAP.rb +0 -1
- data/test/interopR2/clientNuWave.rb +0 -1
- data/test/interopR2/clientOpenLink.rb +0 -1
- data/test/interopR2/clientOracle.rb +0 -1
- data/test/interopR2/clientPEAR.rb +0 -1
- data/test/interopR2/clientPhalanx.rb +0 -1
- data/test/interopR2/clientSIMACE.rb +0 -1
- data/test/interopR2/clientSOAP4R.rb +0 -1
- data/test/interopR2/clientSOAP__Lite.rb +0 -1
- data/test/interopR2/clientSQLData.rb +0 -1
- data/test/interopR2/clientSilverStream.rb +0 -1
- data/test/interopR2/clientSpray2001.rb +0 -1
- data/test/interopR2/clientSun.rb +0 -1
- data/test/interopR2/clientVWOpentalkSoap.rb +0 -1
- data/test/interopR2/clientWASP.rb +0 -1
- data/test/interopR2/clientWASPC.rb +0 -1
- data/test/interopR2/clientWebMethods.rb +0 -1
- data/test/interopR2/clientWhiteMesa.rb +0 -1
- data/test/interopR2/clientWingfoot.rb +0 -1
- data/test/interopR2/clientXMLBus.rb +0 -1
- data/test/interopR2/clientXMLRPC-EPI.rb +0 -1
- data/test/interopR2/clientXSOAP.rb +0 -1
- data/test/interopR2/clientZSI.rb +0 -1
- data/test/interopR2/clienteSOAP.rb +0 -1
- data/test/interopR2/clientgSOAP.rb +0 -1
- data/test/interopR2/clientkSOAP.rb +0 -1
- data/test/interopR2/iSimonReg.rb +0 -1
- data/test/interopR2/interopResultBase.rb +0 -1
- data/test/interopR2/interopService.rb +0 -1
- data/test/interopR2/rwikiInteropService.rb +0 -1
- data/test/interopR2/server.cgi +0 -1
- data/test/interopR2/server.rb +0 -1
- data/test/interopR2/simonReg.rb +0 -1
- data/test/interopR4/client.rb +0 -1
- data/test/runner.rb +0 -1
- data/test/sm11/classDef.rb +0 -1
- data/test/sm11/client.rb +0 -1
- data/test/sm11/driver.rb +0 -1
- data/test/sm11/servant.rb +0 -1
- data/test/sm11/server.rb +0 -1
- data/test/soap/asp.net/test_aspdotnet.rb +3 -4
- data/test/soap/auth/test_basic.rb +2 -3
- data/test/soap/auth/test_digest.rb +2 -3
- data/test/soap/calc/calc.rb +0 -1
- data/test/soap/calc/calc2.rb +0 -1
- data/test/soap/calc/server.cgi +0 -3
- data/test/soap/calc/server.rb +0 -1
- data/test/soap/calc/server2.rb +0 -1
- data/test/soap/calc/test_calc.rb +2 -4
- data/test/soap/calc/test_calc2.rb +2 -4
- data/test/soap/calc/test_calc_cgi.rb +1 -2
- data/test/soap/case/test_mapping.rb +2 -3
- data/test/soap/fault/test_customfault.rb +1 -2
- data/test/soap/fault/test_fault.rb +1 -2
- data/test/soap/fault/test_soaparray.rb +1 -2
- data/test/soap/filter/test_filter.rb +1 -2
- data/test/soap/header/server.cgi +0 -2
- data/test/soap/header/test_authheader.rb +1 -2
- data/test/soap/header/test_authheader_cgi.rb +1 -2
- data/test/soap/header/test_simplehandler.rb +1 -2
- data/test/soap/helloworld/hw_s.rb +0 -1
- data/test/soap/helloworld/test_helloworld.rb +2 -4
- data/test/soap/literalArrayMapping/amazonEc.rb +0 -1
- data/test/soap/literalArrayMapping/amazonEcDriver.rb +0 -1
- data/test/soap/literalArrayMapping/test_definedarray.rb +2 -3
- data/test/soap/marshal/marshaltestlib.rb +5 -9
- data/test/soap/marshal/test_digraph.rb +1 -2
- data/test/soap/marshal/test_marshal.rb +2 -4
- data/test/soap/marshal/test_struct.rb +1 -2
- data/test/soap/ssl/sslsvr.rb +0 -2
- data/test/soap/ssl/test_ssl.rb +1 -2
- data/test/soap/struct/test_struct.rb +2 -3
- data/test/soap/styleuse/client.rb +0 -1
- data/test/soap/styleuse/server.rb +0 -1
- data/test/soap/swa/test_file.rb +1 -2
- data/test/soap/test_basetype.rb +1 -2
- data/test/soap/test_cookie.rb +2 -3
- data/test/soap/test_custom_ns.rb +4 -5
- data/test/soap/test_custommap.rb +1 -2
- data/test/soap/test_empty.rb +6 -7
- data/test/soap/test_envelopenamespace.rb +2 -3
- data/test/soap/test_extraattr.rb +2 -3
- data/test/soap/test_generator.rb +6 -11
- data/test/soap/test_httpconfigloader.rb +1 -2
- data/test/soap/test_mapping.rb +1 -2
- data/test/soap/test_nestedexception.rb +14 -29
- data/test/soap/test_nil.rb +2 -16
- data/test/soap/test_no_indent.rb +3 -4
- data/test/soap/test_property.rb +1 -3
- data/test/soap/test_response_as_xml.rb +4 -5
- data/test/soap/test_soapelement.rb +1 -2
- data/test/soap/test_streamhandler.rb +2 -3
- data/test/soap/test_styleuse.rb +2 -3
- data/test/soap/wsdlDriver/echo_version.rb +0 -1
- data/test/soap/wsdlDriver/test_calc.rb +2 -3
- data/test/soap/wsdlDriver/test_document.rb +2 -3
- data/test/soap/wsdlDriver/test_simpletype.rb +2 -4
- data/test/testutil.rb +4 -5
- data/test/wsdl/abstract/test_abstract.rb +2 -3
- data/test/wsdl/anonymous/expectedClassDef.rb +0 -1
- data/test/wsdl/anonymous/expectedDriver.rb +0 -1
- data/test/wsdl/anonymous/expectedMappingRegistry.rb +0 -1
- data/test/wsdl/anonymous/test_anonymous.rb +2 -3
- data/test/wsdl/any/expectedDriver.rb +0 -1
- data/test/wsdl/any/expectedEcho.rb +0 -1
- data/test/wsdl/any/expectedMappingRegistry.rb +0 -1
- data/test/wsdl/any/expectedService.rb +0 -1
- data/test/wsdl/any/test_any.rb +2 -3
- data/test/wsdl/axisArray/test_axisarray.rb +2 -3
- data/test/wsdl/choice/test_choice.rb +2 -3
- data/test/wsdl/complexcontent/test_echo.rb +2 -3
- data/test/wsdl/datetime/DatetimeService.rb +0 -1
- data/test/wsdl/datetime/datetimeServant.rb +0 -1
- data/test/wsdl/datetime/test_datetime.rb +2 -4
- data/test/wsdl/document/array/test_array.rb +2 -3
- data/test/wsdl/document/test_nosoapaction.rb +2 -3
- data/test/wsdl/document/test_number.rb +2 -3
- data/test/wsdl/document/test_rpc.rb +2 -3
- data/test/wsdl/fault/multifault.wsdl +8 -8
- data/test/wsdl/fault/test_fault.rb +3 -4
- data/test/wsdl/fault/test_multifault.rb +13 -14
- data/test/wsdl/group/expectedClassdef.rb +0 -1
- data/test/wsdl/group/expectedDriver.rb +0 -1
- data/test/wsdl/group/expectedMappingRegistry.rb +0 -1
- data/test/wsdl/group/test_rpc.rb +2 -3
- data/test/wsdl/list/test_list.rb +2 -3
- data/test/wsdl/map/test_map.rb +1 -2
- data/test/wsdl/marshal/person_org.rb +0 -1
- data/test/wsdl/marshal/test_wsdlmarshal.rb +4 -4
- data/test/wsdl/oneway/test_oneway.rb +2 -3
- data/test/wsdl/overload/expectedClient.rb +0 -1
- data/test/wsdl/overload/expectedDriver.rb +0 -1
- data/test/wsdl/overload/expectedServant.rb +0 -1
- data/test/wsdl/overload/test_overload.rb +2 -3
- data/test/wsdl/qualified/test_qualified.rb +4 -5
- data/test/wsdl/qualified/test_unqualified.rb +4 -5
- data/test/wsdl/raa/RAAService.rb +0 -1
- data/test/wsdl/raa/expectedClassDef.rb +0 -1
- data/test/wsdl/raa/expectedDriver.rb +0 -1
- data/test/wsdl/raa/expectedMappingRegistry.rb +0 -1
- data/test/wsdl/raa/test_raa.rb +4 -5
- data/test/wsdl/ref/expectedDriver.rb +0 -1
- data/test/wsdl/ref/expectedProduct.rb +0 -1
- data/test/wsdl/ref/test_ref.rb +2 -3
- data/test/wsdl/rpc/test_rpc.rb +2 -3
- data/test/wsdl/rpc/test_rpc_lit.rb +18 -19
- data/test/wsdl/simplecontent/test_simplecontent.rb +2 -3
- data/test/wsdl/simpletype/rpc/expectedClient.rb +0 -1
- data/test/wsdl/simpletype/rpc/expectedDriver.rb +0 -1
- data/test/wsdl/simpletype/rpc/expectedEchoVersion.rb +0 -1
- data/test/wsdl/simpletype/rpc/expectedMappingRegistry.rb +0 -1
- data/test/wsdl/simpletype/rpc/expectedServant.rb +0 -1
- data/test/wsdl/simpletype/rpc/expectedService.rb +0 -1
- data/test/wsdl/simpletype/rpc/test_rpc.rb +2 -3
- data/test/wsdl/simpletype/test_simpletype.rb +2 -3
- data/test/wsdl/soap/test_soapbodyparts.rb +1 -2
- data/test/wsdl/soap/wsdl2ruby/expectedClassdef.rb +0 -1
- data/test/wsdl/soap/wsdl2ruby/expectedClient.rb +0 -1
- data/test/wsdl/soap/wsdl2ruby/expectedDriver.rb +0 -1
- data/test/wsdl/soap/wsdl2ruby/expectedMappingRegistry.rb +0 -1
- data/test/wsdl/soap/wsdl2ruby/expectedServant.rb +0 -1
- data/test/wsdl/soap/wsdl2ruby/expectedService.cgi +0 -1
- data/test/wsdl/soap/wsdl2ruby/expectedService.rb +0 -1
- data/test/wsdl/soap/wsdl2ruby/section/expectedClassdef.rb +0 -1
- data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +2 -3
- data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +2 -3
- data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +2 -3
- data/test/wsdl/soaptype/test_soaptype.rb +5 -6
- data/test/wsdl/test_emptycomplextype.rb +1 -2
- data/test/wsdl/test_fault.rb +1 -2
- data/test/wsdl/test_multiplefault.rb +1 -2
- data/test/xsd/codegen/test_classdef.rb +1 -2
- data/test/xsd/test_noencoding.rb +1 -2
- data/test/xsd/test_ns.rb +1 -2
- data/test/xsd/test_xmlschemaparser.rb +1 -2
- data/test/xsd/test_xsd.rb +1 -2
- data/test/xsd/xsd2ruby/expected_mysample.rb +0 -1
- data/test/xsd/xsd2ruby/expected_mysample_mapper.rb +0 -1
- data/test/xsd/xsd2ruby/expected_mysample_mapping_registry.rb +0 -1
- data/test/xsd/xsd2ruby/test_xsd2ruby.rb +3 -4
- metadata +13 -15
- data/lib/soap/version.rb +0 -9
- data/test/helper.rb +0 -7
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module Abstract
|
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/soap/wsdl2ruby'
|
5
3
|
require 'soap/rpc/standaloneServer'
|
6
4
|
require 'soap/wsdlDriver'
|
5
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
7
6
|
|
8
7
|
|
9
8
|
if defined?(HTTPClient)
|
data/test/wsdl/any/test_any.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module Any
|
@@ -1,11 +1,10 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'soap/processor'
|
5
3
|
require 'soap/mapping'
|
6
4
|
require 'soap/rpc/element'
|
7
5
|
require 'wsdl/importer'
|
8
6
|
require 'wsdl/soap/wsdl2ruby'
|
7
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
9
8
|
|
10
9
|
|
11
10
|
module WSDL
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module Choice
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module ComplexContent
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module Document
|
@@ -1,11 +1,10 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
8
6
|
require 'soap/rpc/driver'
|
7
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
9
8
|
|
10
9
|
|
11
10
|
module WSDL; module Document
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module Document
|
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module Document
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<definitions name="
|
2
|
+
<definitions name="Add"
|
3
3
|
targetNamespace="http://fault.test/Faulttest"
|
4
4
|
xmlns:tns="http://fault.test/Faulttest"
|
5
5
|
xmlns="http://schemas.xmlsoap.org/wsdl/"
|
@@ -24,7 +24,7 @@
|
|
24
24
|
</complexType>
|
25
25
|
</element>
|
26
26
|
|
27
|
-
<element name="
|
27
|
+
<element name="AddFault">
|
28
28
|
<complexType>
|
29
29
|
<sequence>
|
30
30
|
<element name="Reason" type="string"/>
|
@@ -51,8 +51,8 @@
|
|
51
51
|
<message name="AddResponseMessage">
|
52
52
|
<part name="response" element="tns:AddResponse"/>
|
53
53
|
</message>
|
54
|
-
<message name="
|
55
|
-
<part name="fault" element="tns:
|
54
|
+
<message name="AddFaultMessage">
|
55
|
+
<part name="fault" element="tns:AddFault"/>
|
56
56
|
</message>
|
57
57
|
<message name="NegativeValueFaultMessage">
|
58
58
|
<part name="fault" element="tns:NegativeValueFault"/>
|
@@ -63,7 +63,7 @@
|
|
63
63
|
<operation name="Add">
|
64
64
|
<input name="Add" message="tns:AddMessage"/>
|
65
65
|
<output name="AddResponse" message="tns:AddResponseMessage"/>
|
66
|
-
<fault name="
|
66
|
+
<fault name="AddFault" message="tns:AddFaultMessage"/>
|
67
67
|
<fault name="NegativeValueFault" message="tns:NegativeValueFaultMessage"/>
|
68
68
|
</operation>
|
69
69
|
</portType>
|
@@ -78,8 +78,8 @@
|
|
78
78
|
<output>
|
79
79
|
<soap:body use="literal"/>
|
80
80
|
</output>
|
81
|
-
<fault name="
|
82
|
-
<soap:fault name="
|
81
|
+
<fault name="AddFault">
|
82
|
+
<soap:fault name="AddFault"/>
|
83
83
|
</fault>
|
84
84
|
<fault name="NegativeValueFault">
|
85
85
|
<soap:fault name="NegativeValueFault"/>
|
@@ -87,7 +87,7 @@
|
|
87
87
|
</operation>
|
88
88
|
</binding>
|
89
89
|
|
90
|
-
<service name="
|
90
|
+
<service name="AddService">
|
91
91
|
<port name="AddPort" binding="tns:AddSOAPBinding">
|
92
92
|
<soap:address location="http://localhost:8080/"/>
|
93
93
|
</port>
|
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/soap/wsdl2ruby'
|
5
3
|
require 'soap/wsdlDriver'
|
4
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
6
5
|
|
7
6
|
|
8
7
|
module WSDL; module Fault
|
@@ -19,7 +18,7 @@ class TestFault < Test::Unit::TestCase
|
|
19
18
|
end
|
20
19
|
|
21
20
|
def teardown
|
22
|
-
teardown_server if
|
21
|
+
teardown_server if @server
|
23
22
|
unless $DEBUG
|
24
23
|
File.unlink(pathname('Add.rb'))
|
25
24
|
File.unlink(pathname('AddMappingRegistry.rb'))
|
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/soap/wsdl2ruby'
|
5
3
|
require 'soap/wsdlDriver'
|
4
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
6
5
|
|
7
6
|
|
8
7
|
module WSDL; module Fault
|
@@ -19,12 +18,12 @@ class TestMultiFault < Test::Unit::TestCase
|
|
19
18
|
end
|
20
19
|
|
21
20
|
def teardown
|
22
|
-
teardown_server if
|
21
|
+
teardown_server if @server
|
23
22
|
unless $DEBUG
|
24
|
-
File.unlink(pathname('
|
25
|
-
File.unlink(pathname('
|
26
|
-
File.unlink(pathname('
|
27
|
-
File.unlink(pathname('
|
23
|
+
File.unlink(pathname('Add.rb'))
|
24
|
+
File.unlink(pathname('AddMappingRegistry.rb'))
|
25
|
+
File.unlink(pathname('AddServant.rb'))
|
26
|
+
File.unlink(pathname('AddService.rb'))
|
28
27
|
end
|
29
28
|
@client.reset_stream if @client
|
30
29
|
end
|
@@ -34,7 +33,7 @@ class TestMultiFault < Test::Unit::TestCase
|
|
34
33
|
define_method(:add) do |request|
|
35
34
|
@sum ||= 0
|
36
35
|
if (request.value > 100)
|
37
|
-
fault =
|
36
|
+
fault = AddFault.new("Value #{request.value} is too large", "Critical")
|
38
37
|
raise fault
|
39
38
|
end
|
40
39
|
|
@@ -66,7 +65,7 @@ class TestMultiFault < Test::Unit::TestCase
|
|
66
65
|
TestUtil.silent do
|
67
66
|
gen.run
|
68
67
|
end
|
69
|
-
TestUtil.require(DIR, '
|
68
|
+
TestUtil.require(DIR, 'Add.rb', 'AddMappingRegistry.rb', 'AddServant.rb', 'AddService.rb')
|
70
69
|
end
|
71
70
|
|
72
71
|
def teardown_server
|
@@ -90,7 +89,7 @@ class TestMultiFault < Test::Unit::TestCase
|
|
90
89
|
[:out, "response", ["::SOAP::SOAPElement", "http://fault.test/Faulttest", "AddResponse"]] ],
|
91
90
|
{ :request_style => :document, :request_use => :literal,
|
92
91
|
:response_style => :document, :response_use => :literal,
|
93
|
-
:faults => {"
|
92
|
+
:faults => {"AddFault"=>{:namespace=>nil, :name=>"AddFault", :use=>"literal", :encodingstyle=>"document", :ns=>"http://fault.test/Faulttest"}} }
|
94
93
|
)
|
95
94
|
@client.wiredump_dev = STDOUT if $DEBUG
|
96
95
|
do_test(@client)
|
@@ -115,9 +114,9 @@ class TestMultiFault < Test::Unit::TestCase
|
|
115
114
|
assert(false)
|
116
115
|
rescue Exception => e
|
117
116
|
assert_equal(::SOAP::FaultError, e.class)
|
118
|
-
assert_equal("WSDL::Fault::
|
119
|
-
assert_equal("Value 101 is too large", e.detail.
|
120
|
-
assert_equal("Critical", e.detail.
|
117
|
+
assert_equal("WSDL::Fault::AddFault", e.faultstring.data)
|
118
|
+
assert_equal("Value 101 is too large", e.detail.addFault.reason)
|
119
|
+
assert_equal("Critical", e.detail.addFault.severity)
|
121
120
|
end
|
122
121
|
begin
|
123
122
|
client.add(Add.new(-50))
|
data/test/wsdl/group/test_rpc.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module Group
|
data/test/wsdl/list/test_list.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/rpc/standaloneServer'
|
7
5
|
require 'soap/wsdlDriver'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
module WSDL; module List
|
data/test/wsdl/map/test_map.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'wsdl/parser'
|
5
3
|
require 'soap/mapping/wsdlencodedregistry'
|
6
4
|
require 'soap/marshal'
|
7
5
|
require 'wsdl/soap/wsdl2ruby'
|
6
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
8
7
|
|
9
8
|
|
10
9
|
class WSDLMarshaller
|
@@ -31,7 +30,8 @@ class WSDLMarshaller
|
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
34
|
-
|
33
|
+
|
34
|
+
require File.join(File.dirname(__FILE__), 'person_org')
|
35
35
|
|
36
36
|
class Person
|
37
37
|
def ==(rhs)
|
@@ -1,9 +1,8 @@
|
|
1
|
-
|
2
|
-
require 'helper'
|
3
|
-
require 'testutil'
|
1
|
+
require 'test/unit'
|
4
2
|
require 'soap/rpc/standaloneServer'
|
5
3
|
require 'wsdl/soap/wsdl2ruby'
|
6
4
|
require 'soap/wsdlDriver'
|
5
|
+
require File.join(File.dirname(File.expand_path(__FILE__)), '..', '..', 'testutil.rb')
|
7
6
|
|
8
7
|
|
9
8
|
module WSDL
|