Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

root/trunk/test/wsdl/raa/expectedClassDef.rb

Revision 1934, 2.4 kB (checked in by nahi, 1 year ago)
  • anonymous class support was incomplete for Array type complexType. for literal registry, scan inside of Array like complexType. closes #355.
Line 
1 require 'xsd/qname'
2
3 module WSDL; module RAA
4
5
6 # {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}Category
7 #   major - SOAP::SOAPString
8 #   minor - SOAP::SOAPString
9 class Category
10   attr_accessor :major
11   attr_accessor :minor
12
13   def initialize(major = nil, minor = nil)
14     @major = major
15     @minor = minor
16   end
17 end
18
19 # {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}Product
20 #   id - SOAP::SOAPInt
21 #   name - SOAP::SOAPString
22 #   short_description - SOAP::SOAPString
23 #   version - SOAP::SOAPString
24 #   status - SOAP::SOAPString
25 #   homepage - SOAP::SOAPAnyURI
26 #   download - SOAP::SOAPAnyURI
27 #   license - SOAP::SOAPString
28 #   description - SOAP::SOAPString
29 class Product
30   attr_accessor :id
31   attr_accessor :name
32   attr_accessor :short_description
33   attr_accessor :version
34   attr_accessor :status
35   attr_accessor :homepage
36   attr_accessor :download
37   attr_accessor :license
38   attr_accessor :description
39
40   def initialize(id = nil, name = nil, short_description = nil, version = nil, status = nil, homepage = nil, download = nil, license = nil, description = nil)
41     @id = id
42     @name = name
43     @short_description = short_description
44     @version = version
45     @status = status
46     @homepage = homepage
47     @download = download
48     @license = license
49     @description = description
50   end
51 end
52
53 # {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}Owner
54 #   id - SOAP::SOAPInt
55 #   email - SOAP::SOAPAnyURI
56 #   name - SOAP::SOAPString
57 class Owner
58   attr_accessor :id
59   attr_accessor :email
60   attr_accessor :name
61
62   def initialize(id = nil, email = nil, name = nil)
63     @id = id
64     @email = email
65     @name = name
66   end
67 end
68
69 # {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}Info
70 #   category - WSDL::RAA::Category
71 #   product - WSDL::RAA::Product
72 #   owner - WSDL::RAA::Owner
73 #   created - SOAP::SOAPDateTime
74 #   updated - SOAP::SOAPDateTime
75 class Info
76   attr_accessor :category
77   attr_accessor :product
78   attr_accessor :owner
79   attr_accessor :created
80   attr_accessor :updated
81
82   def initialize(category = nil, product = nil, owner = nil, created = nil, updated = nil)
83     @category = category
84     @product = product
85     @owner = owner
86     @created = created
87     @updated = updated
88   end
89 end
90
91 # {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}InfoArray
92 class InfoArray < ::Array
93 end
94
95 # {http://www.ruby-lang.org/xmlns/soap/interface/RAA/0.0.2/}StringArray
96 class StringArray < ::Array
97 end
98
99
100 end; end
Note: See TracBrowser for help on using the browser.