adcenter-client 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.autotest +23 -0
  2. data/History.txt +6 -0
  3. data/Manifest.txt +55 -0
  4. data/README.txt +78 -0
  5. data/Rakefile.rb +31 -0
  6. data/TODO +12 -0
  7. data/bin/gen_wsdl_drivers.rb +26 -0
  8. data/bin/wsdl.yml +16 -0
  9. data/lib/AdministrationService.rb +79 -0
  10. data/lib/AdministrationServiceClient.rb +40 -0
  11. data/lib/AdministrationServiceDriver.rb +55 -0
  12. data/lib/AdministrationServiceMappingRegistry.rb +148 -0
  13. data/lib/CampaignManagementService.rb +3458 -0
  14. data/lib/CampaignManagementServiceClient.rb +1370 -0
  15. data/lib/CampaignManagementServiceDriver.rb +719 -0
  16. data/lib/CampaignManagementServiceMappingRegistry.rb +5107 -0
  17. data/lib/CustomerBillingService.rb +390 -0
  18. data/lib/CustomerBillingServiceClient.rb +126 -0
  19. data/lib/CustomerBillingServiceDriver.rb +95 -0
  20. data/lib/CustomerBillingServiceMappingRegistry.rb +676 -0
  21. data/lib/CustomerManagementService.rb +1284 -0
  22. data/lib/CustomerManagementServiceClient.rb +282 -0
  23. data/lib/CustomerManagementServiceDriver.rb +175 -0
  24. data/lib/CustomerManagementServiceMappingRegistry.rb +1471 -0
  25. data/lib/NotificationManagementClient.rb +89 -0
  26. data/lib/ReportingService.rb +2121 -0
  27. data/lib/ReportingServiceClient.rb +42 -0
  28. data/lib/ReportingServiceDriver.rb +55 -0
  29. data/lib/ReportingServiceMappingRegistry.rb +3164 -0
  30. data/lib/SecureDataManagementService.rb +203 -0
  31. data/lib/SecureDataManagementServiceClient.rb +26 -0
  32. data/lib/SecureDataManagementServiceDriver.rb +47 -0
  33. data/lib/SecureDataManagementServiceMappingRegistry.rb +376 -0
  34. data/lib/adcenter_client.rb +103 -0
  35. data/lib/adcenter_service.rb +70 -0
  36. data/lib/administration_service.rb +7 -0
  37. data/lib/campaign_management_service.rb +7 -0
  38. data/lib/custom_assertions.rb +5 -0
  39. data/lib/custom_exceptions.rb +1 -0
  40. data/lib/customer_billing_service.rb +7 -0
  41. data/lib/customer_management_service.rb +9 -0
  42. data/lib/default.rb +636 -0
  43. data/lib/defaultDriver.rb +63 -0
  44. data/lib/defaultMappingRegistry.rb +525 -0
  45. data/lib/notification_management.rb +7 -0
  46. data/lib/reporting_service.rb +7 -0
  47. data/lib/secure_data_management_service.rb +7 -0
  48. data/tasks/doctask.rake +9 -0
  49. data/tasks/testtask.rake +13 -0
  50. data/test/adcenter_client_test.rb +13 -0
  51. data/test/administration_service_test.rb +19 -0
  52. data/test/customer_management_service_test.rb +20 -0
  53. data/test/report_service_test.rb +34 -0
  54. data/test/test_credentials.yml-sample +7 -0
  55. data/test/test_helper.rb +8 -0
  56. metadata +188 -0
@@ -0,0 +1,95 @@
1
+ require 'CustomerBillingService.rb'
2
+ require 'CustomerBillingServiceMappingRegistry.rb'
3
+ require 'soap/rpc/driver'
4
+
5
+ class ICustomerBillingService < ::SOAP::RPC::Driver
6
+ DefaultEndpointUrl = "https://sharedservices.adcenterapi.microsoft.com/Api/Billing/v7/CustomerBillingService.svc"
7
+
8
+ Methods = [
9
+ [ "GetInvoicesInfo",
10
+ "getInvoicesInfo",
11
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesInfoRequest"]],
12
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesInfoResponse"]] ],
13
+ { :request_style => :document, :request_use => :literal,
14
+ :response_style => :document, :response_use => :literal,
15
+ :faults => {"ApiBatchFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiBatchFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "ApiFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}} }
16
+ ],
17
+ [ "GetInvoices",
18
+ "getInvoices",
19
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesRequest"]],
20
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesResponse"]] ],
21
+ { :request_style => :document, :request_use => :literal,
22
+ :response_style => :document, :response_use => :literal,
23
+ :faults => {"ApiBatchFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiBatchFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "ApiFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}} }
24
+ ],
25
+ [ "GetDisplayInvoices",
26
+ "getDisplayInvoices",
27
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetDisplayInvoicesRequest"]],
28
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetDisplayInvoicesResponse"]] ],
29
+ { :request_style => :document, :request_use => :literal,
30
+ :response_style => :document, :response_use => :literal,
31
+ :faults => {"ApiBatchFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiBatchFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "ApiFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}} }
32
+ ],
33
+ [ "AddInsertionOrder",
34
+ "addInsertionOrder",
35
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "AddInsertionOrderRequest"]],
36
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "AddInsertionOrderResponse"]] ],
37
+ { :request_style => :document, :request_use => :literal,
38
+ :response_style => :document, :response_use => :literal,
39
+ :faults => {"ApiFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}} }
40
+ ],
41
+ [ "UpdateInsertionOrder",
42
+ "updateInsertionOrder",
43
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "UpdateInsertionOrderRequest"]],
44
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "UpdateInsertionOrderResponse"]] ],
45
+ { :request_style => :document, :request_use => :literal,
46
+ :response_style => :document, :response_use => :literal,
47
+ :faults => {"ApiFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}} }
48
+ ],
49
+ [ "GetInsertionOrdersByAccount",
50
+ "getInsertionOrdersByAccount",
51
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInsertionOrdersByAccountRequest"]],
52
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInsertionOrdersByAccountResponse"]] ],
53
+ { :request_style => :document, :request_use => :literal,
54
+ :response_style => :document, :response_use => :literal,
55
+ :faults => {"ApiFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}} }
56
+ ],
57
+ [ "GetKOHIOInvoices",
58
+ "getKOHIOInvoices",
59
+ [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetKOHIOInvoicesRequest"]],
60
+ ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetKOHIOInvoicesResponse"]] ],
61
+ { :request_style => :document, :request_use => :literal,
62
+ :response_style => :document, :response_use => :literal,
63
+ :faults => {"ApiBatchFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiBatchFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "ApiFaultFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"ApiFaultFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}, "AdApiFaultDetailFault"=>{:namespace=>nil, :encodingstyle=>"document", :name=>"AdApiFaultDetailFault", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling"}} }
64
+ ]
65
+ ]
66
+
67
+ def initialize(endpoint_url = nil)
68
+ endpoint_url ||= DefaultEndpointUrl
69
+ super(endpoint_url, nil)
70
+ self.mapping_registry = CustomerBillingServiceMappingRegistry::EncodedRegistry
71
+ self.literal_mapping_registry = CustomerBillingServiceMappingRegistry::LiteralRegistry
72
+ init_methods
73
+ end
74
+
75
+ private
76
+
77
+ def init_methods
78
+ Methods.each do |definitions|
79
+ opt = definitions.last
80
+ if opt[:request_style] == :document
81
+ add_document_operation(*definitions)
82
+ else
83
+ add_rpc_operation(*definitions)
84
+ qname = definitions[0]
85
+ name = definitions[2]
86
+ if qname.name != name and qname.name.capitalize == name.capitalize
87
+ ::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
88
+ __send__(name, *arg)
89
+ end
90
+ end
91
+ end
92
+ end
93
+ end
94
+ end
95
+
@@ -0,0 +1,676 @@
1
+ require 'CustomerBillingService.rb'
2
+ require 'soap/mapping'
3
+
4
+ module CustomerBillingServiceMappingRegistry
5
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
6
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
7
+ NsAdapiMicrosoftCom = "https://adapi.microsoft.com"
8
+ NsArrays = "http://schemas.microsoft.com/2003/10/Serialization/Arrays"
9
+ NsC_Exception = "https://adcenter.microsoft.com/api/customermanagement/Exception"
10
+ NsCustomerbilling = "https://adcenter.microsoft.com/api/customerbilling"
11
+ NsEntities = "https://adcenter.microsoft.com/api/customermanagement/Entities"
12
+
13
+ EncodedRegistry.register(
14
+ :class => ArrayOflong,
15
+ :schema_type => XSD::QName.new(NsArrays, "ArrayOflong"),
16
+ :schema_element => [
17
+ ["long", "SOAP::SOAPLong[]", [0, nil]]
18
+ ]
19
+ )
20
+
21
+ EncodedRegistry.register(
22
+ :class => ArrayOfstring,
23
+ :schema_type => XSD::QName.new(NsArrays, "ArrayOfstring"),
24
+ :schema_element => [
25
+ ["string", "SOAP::SOAPString[]", [0, nil]]
26
+ ]
27
+ )
28
+
29
+ EncodedRegistry.register(
30
+ :class => ArrayOfInvoiceInfo,
31
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfInvoiceInfo"),
32
+ :schema_element => [
33
+ ["invoiceInfo", ["InvoiceInfo[]", XSD::QName.new(NsEntities, "InvoiceInfo")], [0, nil]]
34
+ ]
35
+ )
36
+
37
+ EncodedRegistry.register(
38
+ :class => InvoiceInfo,
39
+ :schema_type => XSD::QName.new(NsEntities, "InvoiceInfo"),
40
+ :schema_element => [
41
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
42
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]],
43
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
44
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "Amount")], [0, 1]],
45
+ ["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
46
+ ["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "InvoiceDate")], [0, 1]],
47
+ ["invoiceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InvoiceId")], [0, 1]]
48
+ ]
49
+ )
50
+
51
+ EncodedRegistry.register(
52
+ :class => ArrayOfInvoice,
53
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfInvoice"),
54
+ :schema_element => [
55
+ ["invoice", ["Invoice[]", XSD::QName.new(NsEntities, "Invoice")], [0, nil]]
56
+ ]
57
+ )
58
+
59
+ EncodedRegistry.register(
60
+ :class => Invoice,
61
+ :schema_type => XSD::QName.new(NsEntities, "Invoice"),
62
+ :schema_element => [
63
+ ["data", ["SOAP::SOAPBase64", XSD::QName.new(NsEntities, "Data")], [0, 1]],
64
+ ["id", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "Id")], [0, 1]],
65
+ ["type", ["DataType", XSD::QName.new(NsEntities, "Type")], [0, 1]]
66
+ ]
67
+ )
68
+
69
+ EncodedRegistry.register(
70
+ :class => InsertionOrder,
71
+ :schema_type => XSD::QName.new(NsEntities, "InsertionOrder"),
72
+ :schema_element => [
73
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
74
+ ["balanceAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BalanceAmount")], [0, 1]],
75
+ ["bookingCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BookingCountryCode")], [0, 1]],
76
+ ["comment", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "Comment")], [0, 1]],
77
+ ["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "EndDate")], [0, 1]],
78
+ ["insertionOrderId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InsertionOrderId")], [0, 1]],
79
+ ["lastModifiedByUserId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "LastModifiedByUserId")], [0, 1]],
80
+ ["lastModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "LastModifiedTime")], [0, 1]],
81
+ ["notificationThreshold", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "NotificationThreshold")], [0, 1]],
82
+ ["referenceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "ReferenceId")], [0, 1]],
83
+ ["spendCapAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "SpendCapAmount")], [0, 1]],
84
+ ["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "StartDate")], [0, 1]]
85
+ ]
86
+ )
87
+
88
+ EncodedRegistry.register(
89
+ :class => ArrayOfInsertionOrder,
90
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfInsertionOrder"),
91
+ :schema_element => [
92
+ ["insertionOrder", ["InsertionOrder[]", XSD::QName.new(NsEntities, "InsertionOrder")], [0, nil]]
93
+ ]
94
+ )
95
+
96
+ EncodedRegistry.register(
97
+ :class => ApiFault,
98
+ :schema_type => XSD::QName.new(NsC_Exception, "ApiFault"),
99
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
100
+ :schema_element => [
101
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
102
+ ["operationErrors", ["ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
103
+ ]
104
+ )
105
+
106
+ EncodedRegistry.register(
107
+ :class => ArrayOfOperationError,
108
+ :schema_type => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
109
+ :schema_element => [
110
+ ["operationError", ["OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
111
+ ]
112
+ )
113
+
114
+ EncodedRegistry.register(
115
+ :class => OperationError,
116
+ :schema_type => XSD::QName.new(NsC_Exception, "OperationError"),
117
+ :schema_element => [
118
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
119
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
120
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
121
+ ]
122
+ )
123
+
124
+ EncodedRegistry.register(
125
+ :class => ApiBatchFault,
126
+ :schema_type => XSD::QName.new(NsC_Exception, "ApiBatchFault"),
127
+ :schema_basetype => XSD::QName.new(NsC_Exception, "ApiFault"),
128
+ :schema_element => [
129
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
130
+ ["operationErrors", ["ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]],
131
+ ["batchErrors", ["ArrayOfBatchError", XSD::QName.new(NsC_Exception, "BatchErrors")], [0, 1]]
132
+ ]
133
+ )
134
+
135
+ EncodedRegistry.register(
136
+ :class => ArrayOfBatchError,
137
+ :schema_type => XSD::QName.new(NsC_Exception, "ArrayOfBatchError"),
138
+ :schema_element => [
139
+ ["batchError", ["BatchError[]", XSD::QName.new(NsC_Exception, "BatchError")], [0, nil]]
140
+ ]
141
+ )
142
+
143
+ EncodedRegistry.register(
144
+ :class => BatchError,
145
+ :schema_type => XSD::QName.new(NsC_Exception, "BatchError"),
146
+ :schema_element => [
147
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
148
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
149
+ ["index", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Index")], [0, 1]],
150
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
151
+ ]
152
+ )
153
+
154
+ EncodedRegistry.register(
155
+ :class => ApplicationFault,
156
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
157
+ :schema_element => [
158
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
159
+ ]
160
+ )
161
+
162
+ EncodedRegistry.register(
163
+ :class => AdApiFaultDetail,
164
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
165
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
166
+ :schema_element => [
167
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
168
+ ["errors", ["ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
169
+ ]
170
+ )
171
+
172
+ EncodedRegistry.register(
173
+ :class => ArrayOfAdApiError,
174
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
175
+ :schema_element => [
176
+ ["adApiError", ["AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
177
+ ]
178
+ )
179
+
180
+ EncodedRegistry.register(
181
+ :class => AdApiError,
182
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
183
+ :schema_element => [
184
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
185
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
186
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
187
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
188
+ ]
189
+ )
190
+
191
+ EncodedRegistry.register(
192
+ :class => DataType,
193
+ :schema_type => XSD::QName.new(NsEntities, "DataType")
194
+ )
195
+
196
+ LiteralRegistry.register(
197
+ :class => ArrayOflong,
198
+ :schema_type => XSD::QName.new(NsArrays, "ArrayOflong"),
199
+ :schema_element => [
200
+ ["long", "SOAP::SOAPLong[]", [0, nil]]
201
+ ]
202
+ )
203
+
204
+ LiteralRegistry.register(
205
+ :class => ArrayOfstring,
206
+ :schema_type => XSD::QName.new(NsArrays, "ArrayOfstring"),
207
+ :schema_element => [
208
+ ["string", "SOAP::SOAPString[]", [0, nil]]
209
+ ]
210
+ )
211
+
212
+ LiteralRegistry.register(
213
+ :class => ArrayOfInvoiceInfo,
214
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfInvoiceInfo"),
215
+ :schema_element => [
216
+ ["invoiceInfo", ["InvoiceInfo[]", XSD::QName.new(NsEntities, "InvoiceInfo")], [0, nil]]
217
+ ]
218
+ )
219
+
220
+ LiteralRegistry.register(
221
+ :class => InvoiceInfo,
222
+ :schema_type => XSD::QName.new(NsEntities, "InvoiceInfo"),
223
+ :schema_element => [
224
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
225
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]],
226
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
227
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "Amount")], [0, 1]],
228
+ ["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
229
+ ["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "InvoiceDate")], [0, 1]],
230
+ ["invoiceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InvoiceId")], [0, 1]]
231
+ ]
232
+ )
233
+
234
+ LiteralRegistry.register(
235
+ :class => ArrayOfInvoice,
236
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfInvoice"),
237
+ :schema_element => [
238
+ ["invoice", ["Invoice[]", XSD::QName.new(NsEntities, "Invoice")], [0, nil]]
239
+ ]
240
+ )
241
+
242
+ LiteralRegistry.register(
243
+ :class => Invoice,
244
+ :schema_type => XSD::QName.new(NsEntities, "Invoice"),
245
+ :schema_element => [
246
+ ["data", ["SOAP::SOAPBase64", XSD::QName.new(NsEntities, "Data")], [0, 1]],
247
+ ["id", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "Id")], [0, 1]],
248
+ ["type", ["DataType", XSD::QName.new(NsEntities, "Type")], [0, 1]]
249
+ ]
250
+ )
251
+
252
+ LiteralRegistry.register(
253
+ :class => InsertionOrder,
254
+ :schema_type => XSD::QName.new(NsEntities, "InsertionOrder"),
255
+ :schema_element => [
256
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
257
+ ["balanceAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BalanceAmount")], [0, 1]],
258
+ ["bookingCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BookingCountryCode")], [0, 1]],
259
+ ["comment", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "Comment")], [0, 1]],
260
+ ["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "EndDate")], [0, 1]],
261
+ ["insertionOrderId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InsertionOrderId")], [0, 1]],
262
+ ["lastModifiedByUserId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "LastModifiedByUserId")], [0, 1]],
263
+ ["lastModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "LastModifiedTime")], [0, 1]],
264
+ ["notificationThreshold", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "NotificationThreshold")], [0, 1]],
265
+ ["referenceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "ReferenceId")], [0, 1]],
266
+ ["spendCapAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "SpendCapAmount")], [0, 1]],
267
+ ["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "StartDate")], [0, 1]]
268
+ ]
269
+ )
270
+
271
+ LiteralRegistry.register(
272
+ :class => ArrayOfInsertionOrder,
273
+ :schema_type => XSD::QName.new(NsEntities, "ArrayOfInsertionOrder"),
274
+ :schema_element => [
275
+ ["insertionOrder", ["InsertionOrder[]", XSD::QName.new(NsEntities, "InsertionOrder")], [0, nil]]
276
+ ]
277
+ )
278
+
279
+ LiteralRegistry.register(
280
+ :class => ApiFault,
281
+ :schema_type => XSD::QName.new(NsC_Exception, "ApiFault"),
282
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
283
+ :schema_element => [
284
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
285
+ ["operationErrors", ["ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
286
+ ]
287
+ )
288
+
289
+ LiteralRegistry.register(
290
+ :class => ArrayOfOperationError,
291
+ :schema_type => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
292
+ :schema_element => [
293
+ ["operationError", ["OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
294
+ ]
295
+ )
296
+
297
+ LiteralRegistry.register(
298
+ :class => OperationError,
299
+ :schema_type => XSD::QName.new(NsC_Exception, "OperationError"),
300
+ :schema_element => [
301
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
302
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
303
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
304
+ ]
305
+ )
306
+
307
+ LiteralRegistry.register(
308
+ :class => ApiBatchFault,
309
+ :schema_type => XSD::QName.new(NsC_Exception, "ApiBatchFault"),
310
+ :schema_basetype => XSD::QName.new(NsC_Exception, "ApiFault"),
311
+ :schema_element => [
312
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
313
+ ["operationErrors", ["ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]],
314
+ ["batchErrors", ["ArrayOfBatchError", XSD::QName.new(NsC_Exception, "BatchErrors")], [0, 1]]
315
+ ]
316
+ )
317
+
318
+ LiteralRegistry.register(
319
+ :class => ArrayOfBatchError,
320
+ :schema_type => XSD::QName.new(NsC_Exception, "ArrayOfBatchError"),
321
+ :schema_element => [
322
+ ["batchError", ["BatchError[]", XSD::QName.new(NsC_Exception, "BatchError")], [0, nil]]
323
+ ]
324
+ )
325
+
326
+ LiteralRegistry.register(
327
+ :class => BatchError,
328
+ :schema_type => XSD::QName.new(NsC_Exception, "BatchError"),
329
+ :schema_element => [
330
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
331
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
332
+ ["index", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Index")], [0, 1]],
333
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
334
+ ]
335
+ )
336
+
337
+ LiteralRegistry.register(
338
+ :class => ApplicationFault,
339
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
340
+ :schema_element => [
341
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
342
+ ]
343
+ )
344
+
345
+ LiteralRegistry.register(
346
+ :class => AdApiFaultDetail,
347
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
348
+ :schema_basetype => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
349
+ :schema_element => [
350
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
351
+ ["errors", ["ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
352
+ ]
353
+ )
354
+
355
+ LiteralRegistry.register(
356
+ :class => ArrayOfAdApiError,
357
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
358
+ :schema_element => [
359
+ ["adApiError", ["AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
360
+ ]
361
+ )
362
+
363
+ LiteralRegistry.register(
364
+ :class => AdApiError,
365
+ :schema_type => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
366
+ :schema_element => [
367
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
368
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
369
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
370
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
371
+ ]
372
+ )
373
+
374
+ LiteralRegistry.register(
375
+ :class => DataType,
376
+ :schema_type => XSD::QName.new(NsEntities, "DataType")
377
+ )
378
+
379
+ LiteralRegistry.register(
380
+ :class => GetInvoicesInfoRequest,
381
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetInvoicesInfoRequest"),
382
+ :schema_element => [
383
+ ["accountIds", ["ArrayOflong", XSD::QName.new(NsCustomerbilling, "AccountIds")], [0, 1]],
384
+ ["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsCustomerbilling, "StartDate")], [0, 1]],
385
+ ["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsCustomerbilling, "EndDate")], [0, 1]]
386
+ ]
387
+ )
388
+
389
+ LiteralRegistry.register(
390
+ :class => GetInvoicesInfoResponse,
391
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetInvoicesInfoResponse"),
392
+ :schema_element => [
393
+ ["invoicesInfo", ["ArrayOfInvoiceInfo", XSD::QName.new(NsCustomerbilling, "InvoicesInfo")], [0, 1]]
394
+ ]
395
+ )
396
+
397
+ LiteralRegistry.register(
398
+ :class => GetInvoicesRequest,
399
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetInvoicesRequest"),
400
+ :schema_element => [
401
+ ["invoiceIds", ["ArrayOflong", XSD::QName.new(NsCustomerbilling, "InvoiceIds")], [0, 1]],
402
+ ["type", ["DataType", XSD::QName.new(NsCustomerbilling, "Type")], [0, 1]]
403
+ ]
404
+ )
405
+
406
+ LiteralRegistry.register(
407
+ :class => GetInvoicesResponse,
408
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetInvoicesResponse"),
409
+ :schema_element => [
410
+ ["invoices", ["ArrayOfInvoice", XSD::QName.new(NsCustomerbilling, "Invoices")], [0, 1]]
411
+ ]
412
+ )
413
+
414
+ LiteralRegistry.register(
415
+ :class => GetDisplayInvoicesRequest,
416
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetDisplayInvoicesRequest"),
417
+ :schema_element => [
418
+ ["invoiceIds", ["ArrayOflong", XSD::QName.new(NsCustomerbilling, "InvoiceIds")], [0, 1]],
419
+ ["type", ["DataType", XSD::QName.new(NsCustomerbilling, "Type")], [0, 1]]
420
+ ]
421
+ )
422
+
423
+ LiteralRegistry.register(
424
+ :class => GetDisplayInvoicesResponse,
425
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetDisplayInvoicesResponse"),
426
+ :schema_element => [
427
+ ["invoices", ["ArrayOfInvoice", XSD::QName.new(NsCustomerbilling, "Invoices")], [0, 1]]
428
+ ]
429
+ )
430
+
431
+ LiteralRegistry.register(
432
+ :class => AddInsertionOrderRequest,
433
+ :schema_name => XSD::QName.new(NsCustomerbilling, "AddInsertionOrderRequest"),
434
+ :schema_element => [
435
+ ["insertionOrder", ["InsertionOrder", XSD::QName.new(NsCustomerbilling, "InsertionOrder")], [0, 1]]
436
+ ]
437
+ )
438
+
439
+ LiteralRegistry.register(
440
+ :class => AddInsertionOrderResponse,
441
+ :schema_name => XSD::QName.new(NsCustomerbilling, "AddInsertionOrderResponse"),
442
+ :schema_element => [
443
+ ["insertionOrderId", ["SOAP::SOAPLong", XSD::QName.new(NsCustomerbilling, "InsertionOrderId")], [0, 1]],
444
+ ["createTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsCustomerbilling, "CreateTime")], [0, 1]]
445
+ ]
446
+ )
447
+
448
+ LiteralRegistry.register(
449
+ :class => UpdateInsertionOrderRequest,
450
+ :schema_name => XSD::QName.new(NsCustomerbilling, "UpdateInsertionOrderRequest"),
451
+ :schema_element => [
452
+ ["insertionOrder", ["InsertionOrder", XSD::QName.new(NsCustomerbilling, "InsertionOrder")], [0, 1]]
453
+ ]
454
+ )
455
+
456
+ LiteralRegistry.register(
457
+ :class => UpdateInsertionOrderResponse,
458
+ :schema_name => XSD::QName.new(NsCustomerbilling, "UpdateInsertionOrderResponse"),
459
+ :schema_element => [
460
+ ["lastModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsCustomerbilling, "LastModifiedTime")], [0, 1]]
461
+ ]
462
+ )
463
+
464
+ LiteralRegistry.register(
465
+ :class => GetInsertionOrdersByAccountRequest,
466
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetInsertionOrdersByAccountRequest"),
467
+ :schema_element => [
468
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsCustomerbilling, "AccountId")], [0, 1]],
469
+ ["insertionOrderIds", ["ArrayOflong", XSD::QName.new(NsCustomerbilling, "InsertionOrderIds")], [0, 1]]
470
+ ]
471
+ )
472
+
473
+ LiteralRegistry.register(
474
+ :class => GetInsertionOrdersByAccountResponse,
475
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetInsertionOrdersByAccountResponse"),
476
+ :schema_element => [
477
+ ["insertionOrders", ["ArrayOfInsertionOrder", XSD::QName.new(NsCustomerbilling, "InsertionOrders")], [0, 1]]
478
+ ]
479
+ )
480
+
481
+ LiteralRegistry.register(
482
+ :class => GetKOHIOInvoicesRequest,
483
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetKOHIOInvoicesRequest"),
484
+ :schema_element => [
485
+ ["invoiceIds", ["ArrayOfstring", XSD::QName.new(NsCustomerbilling, "InvoiceIds")], [0, 1]]
486
+ ]
487
+ )
488
+
489
+ LiteralRegistry.register(
490
+ :class => GetKOHIOInvoicesResponse,
491
+ :schema_name => XSD::QName.new(NsCustomerbilling, "GetKOHIOInvoicesResponse"),
492
+ :schema_element => [
493
+ ["invoices", ["ArrayOfInvoice", XSD::QName.new(NsCustomerbilling, "Invoices")], [0, 1]]
494
+ ]
495
+ )
496
+
497
+ LiteralRegistry.register(
498
+ :class => ArrayOflong,
499
+ :schema_name => XSD::QName.new(NsArrays, "ArrayOflong"),
500
+ :schema_element => [
501
+ ["long", "SOAP::SOAPLong[]", [0, nil]]
502
+ ]
503
+ )
504
+
505
+ LiteralRegistry.register(
506
+ :class => ArrayOfstring,
507
+ :schema_name => XSD::QName.new(NsArrays, "ArrayOfstring"),
508
+ :schema_element => [
509
+ ["string", "SOAP::SOAPString[]", [0, nil]]
510
+ ]
511
+ )
512
+
513
+ LiteralRegistry.register(
514
+ :class => ArrayOfInvoiceInfo,
515
+ :schema_name => XSD::QName.new(NsEntities, "ArrayOfInvoiceInfo"),
516
+ :schema_element => [
517
+ ["invoiceInfo", ["InvoiceInfo[]", XSD::QName.new(NsEntities, "InvoiceInfo")], [0, nil]]
518
+ ]
519
+ )
520
+
521
+ LiteralRegistry.register(
522
+ :class => InvoiceInfo,
523
+ :schema_name => XSD::QName.new(NsEntities, "InvoiceInfo"),
524
+ :schema_element => [
525
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
526
+ ["accountName", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountName")], [0, 1]],
527
+ ["accountNumber", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "AccountNumber")], [0, 1]],
528
+ ["amount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "Amount")], [0, 1]],
529
+ ["currencyCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "CurrencyCode")], [0, 1]],
530
+ ["invoiceDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "InvoiceDate")], [0, 1]],
531
+ ["invoiceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InvoiceId")], [0, 1]]
532
+ ]
533
+ )
534
+
535
+ LiteralRegistry.register(
536
+ :class => DataType,
537
+ :schema_name => XSD::QName.new(NsEntities, "DataType")
538
+ )
539
+
540
+ LiteralRegistry.register(
541
+ :class => ArrayOfInvoice,
542
+ :schema_name => XSD::QName.new(NsEntities, "ArrayOfInvoice"),
543
+ :schema_element => [
544
+ ["invoice", ["Invoice[]", XSD::QName.new(NsEntities, "Invoice")], [0, nil]]
545
+ ]
546
+ )
547
+
548
+ LiteralRegistry.register(
549
+ :class => Invoice,
550
+ :schema_name => XSD::QName.new(NsEntities, "Invoice"),
551
+ :schema_element => [
552
+ ["data", ["SOAP::SOAPBase64", XSD::QName.new(NsEntities, "Data")], [0, 1]],
553
+ ["id", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "Id")], [0, 1]],
554
+ ["type", ["DataType", XSD::QName.new(NsEntities, "Type")], [0, 1]]
555
+ ]
556
+ )
557
+
558
+ LiteralRegistry.register(
559
+ :class => InsertionOrder,
560
+ :schema_name => XSD::QName.new(NsEntities, "InsertionOrder"),
561
+ :schema_element => [
562
+ ["accountId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "AccountId")], [0, 1]],
563
+ ["balanceAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "BalanceAmount")], [0, 1]],
564
+ ["bookingCountryCode", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "BookingCountryCode")], [0, 1]],
565
+ ["comment", ["SOAP::SOAPString", XSD::QName.new(NsEntities, "Comment")], [0, 1]],
566
+ ["endDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "EndDate")], [0, 1]],
567
+ ["insertionOrderId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "InsertionOrderId")], [0, 1]],
568
+ ["lastModifiedByUserId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "LastModifiedByUserId")], [0, 1]],
569
+ ["lastModifiedTime", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "LastModifiedTime")], [0, 1]],
570
+ ["notificationThreshold", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "NotificationThreshold")], [0, 1]],
571
+ ["referenceId", ["SOAP::SOAPLong", XSD::QName.new(NsEntities, "ReferenceId")], [0, 1]],
572
+ ["spendCapAmount", ["SOAP::SOAPDouble", XSD::QName.new(NsEntities, "SpendCapAmount")], [0, 1]],
573
+ ["startDate", ["SOAP::SOAPDateTime", XSD::QName.new(NsEntities, "StartDate")], [0, 1]]
574
+ ]
575
+ )
576
+
577
+ LiteralRegistry.register(
578
+ :class => ArrayOfInsertionOrder,
579
+ :schema_name => XSD::QName.new(NsEntities, "ArrayOfInsertionOrder"),
580
+ :schema_element => [
581
+ ["insertionOrder", ["InsertionOrder[]", XSD::QName.new(NsEntities, "InsertionOrder")], [0, nil]]
582
+ ]
583
+ )
584
+
585
+ LiteralRegistry.register(
586
+ :class => ApiFault,
587
+ :schema_name => XSD::QName.new(NsC_Exception, "ApiFault"),
588
+ :schema_element => [
589
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
590
+ ["operationErrors", ["ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]]
591
+ ]
592
+ )
593
+
594
+ LiteralRegistry.register(
595
+ :class => ArrayOfOperationError,
596
+ :schema_name => XSD::QName.new(NsC_Exception, "ArrayOfOperationError"),
597
+ :schema_element => [
598
+ ["operationError", ["OperationError[]", XSD::QName.new(NsC_Exception, "OperationError")], [0, nil]]
599
+ ]
600
+ )
601
+
602
+ LiteralRegistry.register(
603
+ :class => OperationError,
604
+ :schema_name => XSD::QName.new(NsC_Exception, "OperationError"),
605
+ :schema_element => [
606
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
607
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
608
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
609
+ ]
610
+ )
611
+
612
+ LiteralRegistry.register(
613
+ :class => ApiBatchFault,
614
+ :schema_name => XSD::QName.new(NsC_Exception, "ApiBatchFault"),
615
+ :schema_element => [
616
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
617
+ ["operationErrors", ["ArrayOfOperationError", XSD::QName.new(NsC_Exception, "OperationErrors")], [0, 1]],
618
+ ["batchErrors", ["ArrayOfBatchError", XSD::QName.new(NsC_Exception, "BatchErrors")], [0, 1]]
619
+ ]
620
+ )
621
+
622
+ LiteralRegistry.register(
623
+ :class => ArrayOfBatchError,
624
+ :schema_name => XSD::QName.new(NsC_Exception, "ArrayOfBatchError"),
625
+ :schema_element => [
626
+ ["batchError", ["BatchError[]", XSD::QName.new(NsC_Exception, "BatchError")], [0, nil]]
627
+ ]
628
+ )
629
+
630
+ LiteralRegistry.register(
631
+ :class => BatchError,
632
+ :schema_name => XSD::QName.new(NsC_Exception, "BatchError"),
633
+ :schema_element => [
634
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Code")], [0, 1]],
635
+ ["details", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Details")], [0, 1]],
636
+ ["index", ["SOAP::SOAPInt", XSD::QName.new(NsC_Exception, "Index")], [0, 1]],
637
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsC_Exception, "Message")], [0, 1]]
638
+ ]
639
+ )
640
+
641
+ LiteralRegistry.register(
642
+ :class => ApplicationFault,
643
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "ApplicationFault"),
644
+ :schema_element => [
645
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]]
646
+ ]
647
+ )
648
+
649
+ LiteralRegistry.register(
650
+ :class => AdApiFaultDetail,
651
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiFaultDetail"),
652
+ :schema_element => [
653
+ ["trackingId", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "TrackingId")], [0, 1]],
654
+ ["errors", ["ArrayOfAdApiError", XSD::QName.new(NsAdapiMicrosoftCom, "Errors")], [0, 1]]
655
+ ]
656
+ )
657
+
658
+ LiteralRegistry.register(
659
+ :class => ArrayOfAdApiError,
660
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "ArrayOfAdApiError"),
661
+ :schema_element => [
662
+ ["adApiError", ["AdApiError[]", XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError")], [0, nil]]
663
+ ]
664
+ )
665
+
666
+ LiteralRegistry.register(
667
+ :class => AdApiError,
668
+ :schema_name => XSD::QName.new(NsAdapiMicrosoftCom, "AdApiError"),
669
+ :schema_element => [
670
+ ["code", ["SOAP::SOAPInt", XSD::QName.new(NsAdapiMicrosoftCom, "Code")], [0, 1]],
671
+ ["detail", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Detail")], [0, 1]],
672
+ ["errorCode", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "ErrorCode")], [0, 1]],
673
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsAdapiMicrosoftCom, "Message")], [0, 1]]
674
+ ]
675
+ )
676
+ end