rubyjedi-soap4r 1.5.8.01 → 1.5.8.20100616125722
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 -1
- data/lib/soap/baseData.rb +1 -1
- data/lib/soap/element.rb +0 -2
- data/lib/soap/generator.rb +1 -2
- data/lib/soap/mapping/encodedregistry.rb +1 -0
- data/lib/soap/mapping/factory.rb +2 -2
- data/lib/soap/mapping/mapping.rb +3 -4
- data/lib/soap/mapping/registry.rb +0 -15
- data/lib/soap/mapping/rubytypeFactory.rb +0 -1
- data/lib/soap/mapping/wsdlencodedregistry.rb +1 -1
- data/lib/soap/mimemessage.rb +1 -0
- data/lib/soap/nestedexception.rb +1 -1
- data/lib/soap/netHttpClient.rb +4 -4
- data/lib/soap/ns.rb +4 -0
- data/lib/soap/property.rb +21 -15
- data/lib/soap/rpc/element.rb +1 -1
- data/lib/soap/rpc/standaloneServer.rb +1 -1
- data/lib/soap/soap.rb +4 -2
- data/lib/soap/streamHandler.rb +1 -1
- data/lib/soap/version.rb +8 -0
- data/lib/soap/wsdlDriver.rb +2 -2
- data/lib/wsdl/parser.rb +4 -4
- data/lib/wsdl/soap/classDefCreatorSupport.rb +1 -1
- data/lib/wsdl/soap/clientSkeltonCreator.rb +4 -2
- data/lib/wsdl/soap/driverCreator.rb +4 -2
- data/lib/wsdl/soap/methodDefCreator.rb +1 -1
- data/lib/wsdl/soap/servantSkeltonCreator.rb +4 -2
- data/lib/wsdl/soap/wsdl2ruby.rb +1 -1
- data/lib/wsdl/xmlSchema/parser.rb +4 -4
- data/lib/wsdl/xmlSchema/xsd2ruby.rb +1 -1
- data/lib/xsd/charset.rb +4 -3
- data/lib/xsd/codegen/gensupport.rb +8 -5
- data/lib/xsd/datatypes.rb +6 -6
- data/lib/xsd/ns.rb +1 -1
- data/lib/xsd/qname.rb +2 -2
- data/lib/xsd/xmlparser.rb +11 -17
- data/lib/xsd/xmlparser/libxmlparser.rb +6 -10
- data/test/helper.rb +6 -0
- data/test/soap/asp.net/test_aspdotnet.rb +3 -3
- data/test/soap/auth/test_basic.rb +2 -2
- data/test/soap/auth/test_digest.rb +2 -2
- data/test/soap/calc/server.cgi +2 -0
- data/test/soap/calc/test_calc.rb +3 -2
- data/test/soap/calc/test_calc2.rb +3 -2
- data/test/soap/calc/test_calc_cgi.rb +1 -1
- data/test/soap/case/test_mapping.rb +2 -2
- data/test/soap/fault/test_customfault.rb +1 -1
- data/test/soap/fault/test_fault.rb +1 -1
- data/test/soap/fault/test_soaparray.rb +1 -1
- data/test/soap/filter/test_filter.rb +1 -1
- data/test/soap/header/server.cgi +1 -0
- data/test/soap/header/test_authheader.rb +1 -1
- data/test/soap/header/test_authheader_cgi.rb +1 -1
- data/test/soap/header/test_simplehandler.rb +1 -1
- data/test/soap/helloworld/test_helloworld.rb +3 -2
- data/test/soap/literalArrayMapping/test_definedarray.rb +2 -2
- data/test/soap/marshal/marshaltestlib.rb +5 -2
- data/test/soap/marshal/test_digraph.rb +1 -1
- data/test/soap/marshal/test_marshal.rb +3 -2
- data/test/soap/marshal/test_struct.rb +1 -1
- data/test/soap/ssl/sslsvr.rb +1 -0
- data/test/soap/ssl/test_ssl.rb +1 -1
- data/test/soap/struct/test_struct.rb +2 -2
- data/test/soap/swa/test_file.rb +1 -1
- data/test/soap/test_basetype.rb +1 -1
- data/test/soap/test_cookie.rb +2 -2
- data/test/soap/test_custom_ns.rb +4 -4
- data/test/soap/test_custommap.rb +1 -1
- data/test/soap/test_empty.rb +6 -6
- data/test/soap/test_envelopenamespace.rb +2 -2
- data/test/soap/test_extraattr.rb +2 -2
- data/test/soap/test_generator.rb +5 -3
- data/test/soap/test_httpconfigloader.rb +1 -1
- data/test/soap/test_mapping.rb +1 -1
- data/test/soap/test_nestedexception.rb +28 -14
- data/test/soap/test_nil.rb +23 -28
- data/test/soap/test_no_indent.rb +3 -3
- data/test/soap/test_property.rb +2 -2
- data/test/soap/test_response_as_xml.rb +4 -4
- data/test/soap/test_soapelement.rb +1 -1
- data/test/soap/test_streamhandler.rb +2 -2
- data/test/soap/test_styleuse.rb +2 -2
- data/test/soap/wsdlDriver/test_calc.rb +2 -2
- data/test/soap/wsdlDriver/test_document.rb +2 -2
- data/test/soap/wsdlDriver/test_simpletype.rb +3 -2
- data/test/testutil.rb +4 -4
- data/test/wsdl/abstract/test_abstract.rb +2 -2
- data/test/wsdl/anonymous/test_anonymous.rb +2 -2
- data/test/wsdl/any/test_any.rb +2 -2
- data/test/wsdl/axisArray/test_axisarray.rb +2 -2
- data/test/wsdl/choice/test_choice.rb +2 -2
- data/test/wsdl/complexcontent/test_echo.rb +2 -2
- data/test/wsdl/datetime/test_datetime.rb +3 -2
- data/test/wsdl/document/array/test_array.rb +2 -2
- data/test/wsdl/document/test_nosoapaction.rb +2 -2
- data/test/wsdl/document/test_number.rb +2 -2
- data/test/wsdl/document/test_rpc.rb +2 -2
- data/test/wsdl/fault/multifault.wsdl +8 -8
- data/test/wsdl/fault/test_fault.rb +3 -3
- data/test/wsdl/fault/test_multifault.rb +13 -13
- data/test/wsdl/group/test_rpc.rb +2 -2
- data/test/wsdl/list/test_list.rb +2 -2
- data/test/wsdl/map/test_map.rb +1 -1
- data/test/wsdl/marshal/test_wsdlmarshal.rb +3 -4
- data/test/wsdl/oneway/test_oneway.rb +2 -2
- data/test/wsdl/overload/test_overload.rb +2 -2
- data/test/wsdl/qualified/test_qualified.rb +4 -4
- data/test/wsdl/qualified/test_unqualified.rb +4 -4
- data/test/wsdl/raa/test_raa.rb +4 -4
- data/test/wsdl/ref/test_ref.rb +2 -2
- data/test/wsdl/rpc/test_rpc.rb +2 -2
- data/test/wsdl/rpc/test_rpc_lit.rb +18 -18
- data/test/wsdl/simplecontent/test_simplecontent.rb +2 -2
- data/test/wsdl/simpletype/rpc/test_rpc.rb +2 -2
- data/test/wsdl/simpletype/test_simpletype.rb +2 -2
- data/test/wsdl/soap/test_soapbodyparts.rb +1 -1
- data/test/wsdl/soap/wsdl2ruby/section/test_section.rb +2 -2
- data/test/wsdl/soap/wsdl2ruby/soapenc/test_soapenc.rb +2 -2
- data/test/wsdl/soap/wsdl2ruby/test_wsdl2ruby.rb +2 -2
- data/test/wsdl/soaptype/test_soaptype.rb +5 -5
- data/test/wsdl/test_emptycomplextype.rb +1 -1
- data/test/wsdl/test_fault.rb +1 -1
- data/test/wsdl/test_multiplefault.rb +1 -1
- data/test/xsd/codegen/test_classdef.rb +1 -1
- data/test/xsd/test_noencoding.rb +1 -1
- data/test/xsd/test_ns.rb +1 -1
- data/test/xsd/test_xmlschemaparser.rb +1 -1
- data/test/xsd/test_xsd.rb +1 -1
- data/test/xsd/xsd2ruby/test_xsd2ruby.rb +3 -3
- metadata +24 -33
- data/lib/soap/rpc/element.rb.orig +0 -378
- data/lib/soap/ruby18ext.rb +0 -13
- data/lib/xsd/xmlparser.rb.orig +0 -110
- data/test/results +0 -4810
- data/test/soap/header/session.pstoredb +0 -0
- data/test/wsdl/marshal/Person.rb +0 -1
- data/test/wsdl/simpletype/rpc/echo_version.rb +0 -1
- data/test/wsdl/simpletype/rpc/echo_versionDriver.rb +0 -10
- data/test/wsdl/simpletype/rpc/echo_versionMappingRegistry.rb +0 -4
- data/test/wsdl/simpletype/rpc/echo_versionServant.rb +0 -3
- data/test/wsdl/simpletype/rpc/echo_version_service.rb +0 -3
- data/test/wsdl/simpletype/rpc/echo_version_serviceClient.rb +0 -34
- data/test/wsdl/soap/wsdl2ruby/echo_version.rb +0 -1
- data/test/wsdl/soap/wsdl2ruby/echo_versionDriver.rb +0 -10
- data/test/wsdl/soap/wsdl2ruby/echo_versionMappingRegistry.rb +0 -4
- data/test/wsdl/soap/wsdl2ruby/echo_versionServant.rb +0 -3
- data/test/wsdl/soap/wsdl2ruby/echo_version_service.cgi +0 -3
- data/test/wsdl/soap/wsdl2ruby/echo_version_service.rb +0 -7
- data/test/wsdl/soap/wsdl2ruby/echo_version_serviceClient.rb +0 -34
Binary file
|
data/test/wsdl/marshal/Person.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'xsd/qname'
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'xsd/qname'
|
@@ -1,10 +0,0 @@
|
|
1
|
-
require 'echo_version.rb'
|
2
|
-
require 'echo_versionMappingRegistry.rb'
|
3
|
-
require 'soap/rpc/driver'
|
4
|
-
|
5
|
-
classEcho_version_port_type<::SOAP::RPC::Driver DefaultEndpointUrl="http://localhost:10080"NsSimpletypeRpc="urn:example.com:simpletype-rpc"
|
6
|
-
Methods=[[XSD::QName.new(NsSimpletypeRpc,"echo_version"),"urn:example.com:simpletype-rpc","echo_version",[[:in,"version",[nil,"urn:example.com:simpletype-rpc-type","version"]],[:retval,"version_struct",["Version_struct","urn:example.com:simpletype-rpc-type","version_struct"]]],{:request_style=>:rpc,:request_use=>:encoded,:response_style=>:rpc,:response_use=>:encoded,:faults=>{}}],[XSD::QName.new(NsSimpletypeRpc,"echo_version_r"),"urn:example.com:simpletype-rpc","echo_version_r",[[:in,"version_struct",["Version_struct","urn:example.com:simpletype-rpc-type","version_struct"]],[:retval,"version",[nil,"urn:example.com:simpletype-rpc-type","version"]]],{:request_style=>:rpc,:request_use=>:encoded,:response_style=>:rpc,:response_use=>:encoded,:faults=>{}}]]
|
7
|
-
definitialize(endpoint_url=nil)endpoint_url||=DefaultEndpointUrlsuper(endpoint_url,nil)self.mapping_registry=Echo_versionMappingRegistry::EncodedRegistryself.literal_mapping_registry=Echo_versionMappingRegistry::LiteralRegistryinit_methodsend
|
8
|
-
private
|
9
|
-
|
10
|
-
definit_methodsMethods.eachdo|definitions|opt=definitions.lastifopt[:request_style]==:documentadd_document_operation(*definitions)elseadd_rpc_operation(*definitions)qname=definitions[0]name=definitions[2]ifqname.name!=nameandqname.name.capitalize==name.capitalize::SOAP::Mapping.define_singleton_method(self,qname.name)do|*arg|__send__(name,*arg)endendendendendend
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'echo_versionDriver.rb'
|
3
|
-
|
4
|
-
endpoint_url = ARGV.shift
|
5
|
-
obj = Echo_version_port_type.new(endpoint_url)
|
6
|
-
|
7
|
-
# run ruby with -d to see SOAP wiredumps.
|
8
|
-
obj.wiredump_dev = STDERR if $DEBUG
|
9
|
-
|
10
|
-
# SYNOPSIS
|
11
|
-
# echo_version(version)
|
12
|
-
#
|
13
|
-
# ARGS
|
14
|
-
# version Version - {urn:example.com:simpletype-rpc-type}version
|
15
|
-
#
|
16
|
-
# RETURNS
|
17
|
-
# version_struct Version_struct - {urn:example.com:simpletype-rpc-type}version_struct
|
18
|
-
#
|
19
|
-
version = nil
|
20
|
-
puts obj.echo_version(version)
|
21
|
-
|
22
|
-
# SYNOPSIS
|
23
|
-
# echo_version_r(version_struct)
|
24
|
-
#
|
25
|
-
# ARGS
|
26
|
-
# version_struct Version_struct - {urn:example.com:simpletype-rpc-type}version_struct
|
27
|
-
#
|
28
|
-
# RETURNS
|
29
|
-
# version Version - {urn:example.com:simpletype-rpc-type}version
|
30
|
-
#
|
31
|
-
version_struct = nil
|
32
|
-
puts obj.echo_version_r(version_struct)
|
33
|
-
|
34
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'xsd/qname'
|
@@ -1,10 +0,0 @@
|
|
1
|
-
require 'echo_version.rb'
|
2
|
-
require 'echo_versionMappingRegistry.rb'
|
3
|
-
require 'soap/rpc/driver'
|
4
|
-
|
5
|
-
classEcho_version_port_type<::SOAP::RPC::Driver DefaultEndpointUrl="http://localhost:10080"NsSimpletypeRpc="urn:example.com:simpletype-rpc"
|
6
|
-
Methods=[[XSD::QName.new(NsSimpletypeRpc,"echo_version"),"urn:example.com:simpletype-rpc","echo_version",[[:in,"version",[nil,"urn:example.com:simpletype-rpc-type","version"]],[:retval,"version_struct",["Version_struct","urn:example.com:simpletype-rpc-type","version_struct"]]],{:request_style=>:rpc,:request_use=>:encoded,:response_style=>:rpc,:response_use=>:encoded,:faults=>{}}],[XSD::QName.new(NsSimpletypeRpc,"echo_version_r"),"urn:example.com:simpletype-rpc","echo_version_r",[[:in,"version_struct",["Version_struct","urn:example.com:simpletype-rpc-type","version_struct"]],[:retval,"version",[nil,"urn:example.com:simpletype-rpc-type","version"]]],{:request_style=>:rpc,:request_use=>:encoded,:response_style=>:rpc,:response_use=>:encoded,:faults=>{}}]]
|
7
|
-
definitialize(endpoint_url=nil)endpoint_url||=DefaultEndpointUrlsuper(endpoint_url,nil)self.mapping_registry=Echo_versionMappingRegistry::EncodedRegistryself.literal_mapping_registry=Echo_versionMappingRegistry::LiteralRegistryinit_methodsend
|
8
|
-
private
|
9
|
-
|
10
|
-
definit_methodsMethods.eachdo|definitions|opt=definitions.lastifopt[:request_style]==:documentadd_document_operation(*definitions)elseadd_rpc_operation(*definitions)qname=definitions[0]name=definitions[2]ifqname.name!=nameandqname.name.capitalize==name.capitalize::SOAP::Mapping.define_singleton_method(self,qname.name)do|*arg|__send__(name,*arg)endendendendendend
|
@@ -1,7 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'echo_versionServant.rb'
|
3
|
-
require 'echo_versionMappingRegistry.rb'
|
4
|
-
require'soap/rpc/standaloneServer'
|
5
|
-
classEcho_version_port_type NsSimpletypeRpc="urn:example.com:simpletype-rpc"
|
6
|
-
Methods=[[XSD::QName.new(NsSimpletypeRpc,"echo_version"),"urn:example.com:simpletype-rpc","echo_version",[[:in,"version",[nil,"urn:example.com:simpletype-rpc-type","version"]],[:retval,"version_struct",["Version_struct","urn:example.com:simpletype-rpc-type","version_struct"]]],{:request_style=>:rpc,:request_use=>:encoded,:response_style=>:rpc,:response_use=>:encoded,:faults=>{}}],[XSD::QName.new(NsSimpletypeRpc,"echo_version_r"),"urn:example.com:simpletype-rpc","echo_version_r",[[:in,"version_struct",["Version_struct","urn:example.com:simpletype-rpc-type","version_struct"]],[:retval,"version",[nil,"urn:example.com:simpletype-rpc-type","version"]]],{:request_style=>:rpc,:request_use=>:encoded,:response_style=>:rpc,:response_use=>:encoded,:faults=>{}}]]end
|
7
|
-
classEcho_version_port_typeApp<::SOAP::RPC::StandaloneServer definitialize(*arg)super(*arg)servant=Echo_version_port_type.newEcho_version_port_type::Methods.eachdo|definitions|opt=definitions.lastifopt[:request_style]==:document@router.add_document_operation(servant,*definitions)else@router.add_rpc_operation(servant,*definitions)endendself.mapping_registry=Echo_versionMappingRegistry::EncodedRegistryself.literal_mapping_registry=Echo_versionMappingRegistry::LiteralRegistryendendif$0==__FILE__#Changelistenport.server=Echo_version_port_typeApp.new('app',nil,'0.0.0.0',10080)trap(:INT)doserver.shutdownendserver.startend
|
@@ -1,34 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require 'echo_versionDriver.rb'
|
3
|
-
|
4
|
-
endpoint_url = ARGV.shift
|
5
|
-
obj = Echo_version_port_type.new(endpoint_url)
|
6
|
-
|
7
|
-
# run ruby with -d to see SOAP wiredumps.
|
8
|
-
obj.wiredump_dev = STDERR if $DEBUG
|
9
|
-
|
10
|
-
# SYNOPSIS
|
11
|
-
# echo_version(version)
|
12
|
-
#
|
13
|
-
# ARGS
|
14
|
-
# version Version - {urn:example.com:simpletype-rpc-type}version
|
15
|
-
#
|
16
|
-
# RETURNS
|
17
|
-
# version_struct Version_struct - {urn:example.com:simpletype-rpc-type}version_struct
|
18
|
-
#
|
19
|
-
version = nil
|
20
|
-
puts obj.echo_version(version)
|
21
|
-
|
22
|
-
# SYNOPSIS
|
23
|
-
# echo_version_r(version_struct)
|
24
|
-
#
|
25
|
-
# ARGS
|
26
|
-
# version_struct Version_struct - {urn:example.com:simpletype-rpc-type}version_struct
|
27
|
-
#
|
28
|
-
# RETURNS
|
29
|
-
# version Version - {urn:example.com:simpletype-rpc-type}version
|
30
|
-
#
|
31
|
-
version_struct = nil
|
32
|
-
puts obj.echo_version_r(version_struct)
|
33
|
-
|
34
|
-
|