diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-07 07:38:25 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-07 07:38:25 +0000 |
commit | 9ff1e787f915539b1980654e3d3d2013ff5c81d2 (patch) | |
tree | 8d0fc9ca5b4dbfa9885dc56862292d55091bcaac /ruby_1_8_6/test/wsdl/document/echo.rb | |
parent | 441546edcfbb1b346c87b69c5f578d1a0e522e06 (diff) |
wrong commit; sorryv1_8_6_269
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_6_269@17938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby_1_8_6/test/wsdl/document/echo.rb')
-rw-r--r-- | ruby_1_8_6/test/wsdl/document/echo.rb | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/ruby_1_8_6/test/wsdl/document/echo.rb b/ruby_1_8_6/test/wsdl/document/echo.rb deleted file mode 100644 index c6df75aca0..0000000000 --- a/ruby_1_8_6/test/wsdl/document/echo.rb +++ /dev/null @@ -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 |