mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/wsdl/document/echo.rb: removed.
* test/wsdl/document/test_rpc.rb: remove echo.rb after test. [ruby-dev:29337] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dc46d4a455
commit
8c65115c20
3 changed files with 8 additions and 93 deletions
|
@ -1,3 +1,10 @@
|
|||
Fri Aug 25 20:35:57 2006 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/wsdl/document/echo.rb: removed.
|
||||
|
||||
* test/wsdl/document/test_rpc.rb: remove echo.rb after test.
|
||||
[ruby-dev:29337]
|
||||
|
||||
Fri Aug 25 16:05:50 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* object.c (sym_call): check if the receiver is given.
|
||||
|
|
|
@ -1,92 +0,0 @@
|
|||
require 'xsd/qname'
|
||||
|
||||
# {urn:docrpc}echoele
|
||||
class Echoele
|
||||
@@schema_type = "echoele"
|
||||
@@schema_ns = "urn:docrpc"
|
||||
@@schema_attribute = {XSD::QName.new(nil, "attr_string") => "SOAP::SOAPString", XSD::QName.new(nil, "attr-int") => "SOAP::SOAPInt"}
|
||||
@@schema_element = [["struct1", ["Echo_struct", XSD::QName.new(nil, "struct1")]], ["struct_2", ["Echo_struct", XSD::QName.new(nil, "struct-2")]]]
|
||||
|
||||
attr_accessor :struct1
|
||||
attr_accessor :struct_2
|
||||
|
||||
def xmlattr_attr_string
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "attr_string")]
|
||||
end
|
||||
|
||||
def xmlattr_attr_string=(value)
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "attr_string")] = value
|
||||
end
|
||||
|
||||
def xmlattr_attr_int
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "attr-int")]
|
||||
end
|
||||
|
||||
def xmlattr_attr_int=(value)
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "attr-int")] = value
|
||||
end
|
||||
|
||||
def initialize(struct1 = nil, struct_2 = nil)
|
||||
@struct1 = struct1
|
||||
@struct_2 = struct_2
|
||||
@__xmlattr = {}
|
||||
end
|
||||
end
|
||||
|
||||
# {urn:docrpc}echo_response
|
||||
class Echo_response
|
||||
@@schema_type = "echo_response"
|
||||
@@schema_ns = "urn:docrpc"
|
||||
@@schema_attribute = {XSD::QName.new(nil, "attr_string") => "SOAP::SOAPString", XSD::QName.new(nil, "attr-int") => "SOAP::SOAPInt"}
|
||||
@@schema_element = [["struct1", ["Echo_struct", XSD::QName.new(nil, "struct1")]], ["struct_2", ["Echo_struct", XSD::QName.new(nil, "struct-2")]]]
|
||||
|
||||
attr_accessor :struct1
|
||||
attr_accessor :struct_2
|
||||
|
||||
def xmlattr_attr_string
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "attr_string")]
|
||||
end
|
||||
|
||||
def xmlattr_attr_string=(value)
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "attr_string")] = value
|
||||
end
|
||||
|
||||
def xmlattr_attr_int
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "attr-int")]
|
||||
end
|
||||
|
||||
def xmlattr_attr_int=(value)
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "attr-int")] = value
|
||||
end
|
||||
|
||||
def initialize(struct1 = nil, struct_2 = nil)
|
||||
@struct1 = struct1
|
||||
@struct_2 = struct_2
|
||||
@__xmlattr = {}
|
||||
end
|
||||
end
|
||||
|
||||
# {urn:docrpc}echo_struct
|
||||
class Echo_struct
|
||||
@@schema_type = "echo_struct"
|
||||
@@schema_ns = "urn:docrpc"
|
||||
@@schema_attribute = {XSD::QName.new(nil, "m_attr") => "SOAP::SOAPString"}
|
||||
@@schema_element = [["m_string", ["SOAP::SOAPString", XSD::QName.new(nil, "m_string")]], ["m_datetime", ["SOAP::SOAPDateTime", XSD::QName.new(nil, "m_datetime")]]]
|
||||
|
||||
attr_accessor :m_string
|
||||
attr_accessor :m_datetime
|
||||
|
||||
def xmlattr_m_attr
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "m_attr")]
|
||||
end
|
||||
|
||||
def xmlattr_m_attr=(value)
|
||||
(@__xmlattr ||= {})[XSD::QName.new(nil, "m_attr")] = value
|
||||
end
|
||||
|
||||
def initialize(m_string = nil, m_datetime = nil)
|
||||
@m_string = m_string
|
||||
@m_datetime = m_datetime
|
||||
@__xmlattr = {}
|
||||
end
|
||||
end
|
|
@ -51,7 +51,7 @@ class TestRPC < Test::Unit::TestCase
|
|||
|
||||
def teardown
|
||||
teardown_server
|
||||
#File.unlink(pathname('echo.rb'))
|
||||
File.unlink(pathname('echo.rb'))
|
||||
@client.reset_stream if @client
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue