crv_api_client 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +26 -0
  3. data/.rspec +2 -0
  4. data/Gemfile +4 -0
  5. data/Guardfile +10 -0
  6. data/LICENSE.txt +22 -0
  7. data/README.md +47 -0
  8. data/Rakefile +7 -0
  9. data/crv_api_client.gemspec +30 -0
  10. data/lib/crv_api_client/animals.rb +84 -0
  11. data/lib/crv_api_client/api/animals/animals.rb +1734 -0
  12. data/lib/crv_api_client/api/animals/animals_driver.rb +113 -0
  13. data/lib/crv_api_client/api/animals/animals_mapping_registry.rb +2082 -0
  14. data/lib/crv_api_client/api/animals/rs_animal_service_client.rb +122 -0
  15. data/lib/crv_api_client/api/animals.rb +9 -0
  16. data/lib/crv_api_client/api/reproduction/esb_rs_reproduction_service_client.rb +158 -0
  17. data/lib/crv_api_client/api/reproduction/reproduction.rb +8810 -0
  18. data/lib/crv_api_client/api/reproduction/reproduction_driver.rb +136 -0
  19. data/lib/crv_api_client/api/reproduction/reproduction_mapping_registry.rb +5244 -0
  20. data/lib/crv_api_client/api/reproduction.rb +9 -0
  21. data/lib/crv_api_client/api.rb +6 -0
  22. data/lib/crv_api_client/errors.rb +57 -0
  23. data/lib/crv_api_client/helpers/attributes.rb +34 -0
  24. data/lib/crv_api_client/helpers/crv.rb +89 -0
  25. data/lib/crv_api_client/helpers/endpoint.rb +46 -0
  26. data/lib/crv_api_client/helpers.rb +7 -0
  27. data/lib/crv_api_client/reproduction.rb +87 -0
  28. data/lib/crv_api_client/utils/configuration.rb +40 -0
  29. data/lib/crv_api_client/utils.rb +5 -0
  30. data/lib/crv_api_client/version.rb +3 -0
  31. data/lib/crv_api_client.rb +26 -0
  32. data/spec/lib/crv/animals_spec.rb +95 -0
  33. data/spec/lib/crv/api/animals/animals_driver_spec.rb +39 -0
  34. data/spec/lib/crv/api/reproduction/reproduction_driver_spec.rb +39 -0
  35. data/spec/lib/crv/helpers/attributes_spec.rb +52 -0
  36. data/spec/lib/crv/helpers/crv_spec.rb +146 -0
  37. data/spec/lib/crv/helpers/endpoint_spec.rb +54 -0
  38. data/spec/lib/crv/reproduction_spec.rb +137 -0
  39. data/spec/lib/crv_spec.rb +22 -0
  40. data/spec/spec_helper.rb +91 -0
  41. metadata +204 -0
@@ -0,0 +1,2082 @@
1
+ module CrvApiClient::Api::Animals
2
+
3
+ module RsAnimalMappingRegistry
4
+ EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
5
+ LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
6
+ NsAnimal = "http://ws.crvholding.com/animal/"
7
+ NsAnimalMessages = "http://ws.crvholding.com/animalMessages/"
8
+ NsAnimalTypes = "http://ws.crvholding.com/animalTypes/"
9
+ NsCommon = "http://ws.crvholding.com/common/"
10
+ NsCommonTypes = "http://ws.crvholding.com/commonTypes/"
11
+ NsDictionary = "http://ws.crvholding.com/dictionary/"
12
+ NsDictionaryTypes = "http://ws.crvholding.com/dictionaryTypes/"
13
+ NsParticipant = "http://ws.crvholding.com/participant/"
14
+ NsParticipantTypes = "http://ws.crvholding.com/participantTypes/"
15
+
16
+ EncodedRegistry.register(
17
+ :class => CrvApiClient::Api::Animals::ModifyAnimalManagementRequestType,
18
+ :schema_type => XSD::QName.new(NsAnimalMessages, "modifyAnimalManagementRequestType"),
19
+ :schema_element => [
20
+ ["participantId", "CrvApiClient::Api::Animals::ParticipantId"],
21
+ ["animalManagement", "CrvApiClient::Api::Animals::AnimalManagement[]", [1, nil]]
22
+ ]
23
+ )
24
+
25
+ EncodedRegistry.register(
26
+ :class => CrvApiClient::Api::Animals::AddPlannedDepartureRequestType,
27
+ :schema_type => XSD::QName.new(NsAnimalMessages, "addPlannedDepartureRequestType"),
28
+ :schema_element => [
29
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
30
+ ["animalSupplyChainValue", "CrvApiClient::Api::Animals::AnimalSupplyChainValue[]", [0, nil]]
31
+ ]
32
+ )
33
+
34
+ EncodedRegistry.register(
35
+ :class => CrvApiClient::Api::Animals::AnimalSupplyChainValue,
36
+ :schema_type => XSD::QName.new(NsAnimalMessages, "animalSupplyChainValue"),
37
+ :schema_element => [
38
+ ["animalSupplyId", "CrvApiClient::Api::Animals::AnimalSupplyId"],
39
+ ["chainValue", "CrvApiClient::Api::Animals::ChainValue", [0, 1]]
40
+ ]
41
+ )
42
+
43
+ EncodedRegistry.register(
44
+ :class => CrvApiClient::Api::Animals::DeletePlannedDepartureRequestType,
45
+ :schema_type => XSD::QName.new(NsAnimalMessages, "deletePlannedDepartureRequestType"),
46
+ :schema_element => [
47
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
48
+ ["animalSupplyId", "CrvApiClient::Api::Animals::AnimalSupplyId[]", [0, nil]]
49
+ ]
50
+ )
51
+
52
+ EncodedRegistry.register(
53
+ :class => CrvApiClient::Api::Animals::AnimalSupplyPlannedDeparture,
54
+ :schema_type => XSD::QName.new(NsAnimalMessages, "animalSupplyPlannedDeparture"),
55
+ :schema_element => [
56
+ ["animalSupplyId", "CrvApiClient::Api::Animals::AnimalSupplyId"],
57
+ ["postpone", "CrvApiClient::Api::Animals::DateReason", [0, 1]],
58
+ ["refusal", "CrvApiClient::Api::Animals::DateReason", [0, 1]],
59
+ ["departure", "CrvApiClient::Api::Animals::DateReason", [0, 1]],
60
+ ["chainValueStatus", "CrvApiClient::Api::Animals::ChainValueStatus", [0, 1]]
61
+ ]
62
+ )
63
+
64
+ EncodedRegistry.register(
65
+ :class => CrvApiClient::Api::Animals::ChainValueStatus,
66
+ :schema_type => XSD::QName.new(NsAnimalMessages, "chainValueStatus"),
67
+ :schema_element => [
68
+ ["chainValue", "CrvApiClient::Api::Animals::ChainValue"],
69
+ ["chainStatus", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "chainStatus")]]
70
+ ]
71
+ )
72
+
73
+ EncodedRegistry.register(
74
+ :class => CrvApiClient::Api::Animals::GetAverageHerdWeightRequestType,
75
+ :schema_type => XSD::QName.new(NsAnimalMessages, "getAverageHerdWeightRequestType"),
76
+ :schema_element => [
77
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
78
+ ["year", nil, [0, 1]],
79
+ ["quarter", nil, [0, 1]]
80
+ ]
81
+ )
82
+
83
+ EncodedRegistry.register(
84
+ :class => CrvApiClient::Api::Animals::GetAverageHerdWeightResponseType,
85
+ :schema_type => XSD::QName.new(NsAnimalMessages, "getAverageHerdWeightResponseType"),
86
+ :schema_element => [
87
+ ["averageHerdWeightResult", "CrvApiClient::Api::Animals::AverageHerdWeight"]
88
+ ]
89
+ )
90
+
91
+ EncodedRegistry.register(
92
+ :class => CrvApiClient::Api::Animals::ListPlannedDepartureRequestType,
93
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listPlannedDepartureRequestType"),
94
+ :schema_element => [
95
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
96
+ ["period", "CrvApiClient::Api::Animals::PeriodRange"],
97
+ ["supplyType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyType")]]
98
+ ]
99
+ )
100
+
101
+ EncodedRegistry.register(
102
+ :class => CrvApiClient::Api::Animals::ListPlannedDepartureResponseType,
103
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listPlannedDepartureResponseType"),
104
+ :schema_element => [
105
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
106
+ ["animalSupplyPlannedDeparture", "CrvApiClient::Api::Animals::AnimalSupplyPlannedDeparture[]", [0, nil]]
107
+ ]
108
+ )
109
+
110
+ EncodedRegistry.register(
111
+ :class => CrvApiClient::Api::Animals::ListFoodChainInformationRequestType,
112
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listFoodChainInformationRequestType"),
113
+ :schema_element => [
114
+ ["chainType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "chainType")]],
115
+ ["animal", "CrvApiClient::Api::Animals::AnimalId[]", [1, nil]]
116
+ ]
117
+ )
118
+
119
+ EncodedRegistry.register(
120
+ :class => CrvApiClient::Api::Animals::ListFoodChainInformationResponseType,
121
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listFoodChainInformationResponseType"),
122
+ :schema_element => [
123
+ ["animalChainValue", "CrvApiClient::Api::Animals::AnimalChainValue[]", [1, nil]]
124
+ ]
125
+ )
126
+
127
+ EncodedRegistry.register(
128
+ :class => CrvApiClient::Api::Animals::AnimalChainValue,
129
+ :schema_type => XSD::QName.new(NsAnimalMessages, "animalChainValue"),
130
+ :schema_element => [
131
+ ["animal", "CrvApiClient::Api::Animals::AnimalId"],
132
+ ["chainValue", "CrvApiClient::Api::Animals::ChainValue", [0, 1]]
133
+ ]
134
+ )
135
+
136
+ EncodedRegistry.register(
137
+ :class => CrvApiClient::Api::Animals::ListPlannedArrivalRequestType,
138
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listPlannedArrivalRequestType"),
139
+ :schema_element => [
140
+ ["customer", "CrvApiClient::Api::Animals::ParticipantId"],
141
+ ["source", "CrvApiClient::Api::Animals::ParticipantId"],
142
+ ["period", "CrvApiClient::Api::Animals::PeriodRange_"],
143
+ ["supplyType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyType")]]
144
+ ]
145
+ )
146
+
147
+ EncodedRegistry.register(
148
+ :class => CrvApiClient::Api::Animals::ListPlannedArrivalResponseType,
149
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listPlannedArrivalResponseType"),
150
+ :schema_element => [
151
+ ["plannedArrival", "CrvApiClient::Api::Animals::PlannedArrival[]", [0, nil]],
152
+ ["addresses", "CrvApiClient::Api::Animals::Addresses[]", [0, nil]]
153
+ ]
154
+ )
155
+
156
+ EncodedRegistry.register(
157
+ :class => CrvApiClient::Api::Animals::ModifyPlannedArrivalRequestType,
158
+ :schema_type => XSD::QName.new(NsAnimalMessages, "modifyPlannedArrivalRequestType"),
159
+ :schema_element => [
160
+ ["customer", "CrvApiClient::Api::Animals::ParticipantId"],
161
+ ["animalArrivalDetail", "CrvApiClient::Api::Animals::AnimalArrivalDetail[]", [1, nil]]
162
+ ]
163
+ )
164
+
165
+ EncodedRegistry.register(
166
+ :class => CrvApiClient::Api::Animals::ListHerdPedigreeRequestType,
167
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listHerdPedigreeRequestType"),
168
+ :schema_element => [
169
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"]
170
+ ]
171
+ )
172
+
173
+ EncodedRegistry.register(
174
+ :class => CrvApiClient::Api::Animals::ListHerdPedigreeResponseType,
175
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listHerdPedigreeResponseType"),
176
+ :schema_element => [
177
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
178
+ ["animalPedigree", "CrvApiClient::Api::Animals::AnimalPedigree[]", [0, nil]]
179
+ ]
180
+ )
181
+
182
+ EncodedRegistry.register(
183
+ :class => CrvApiClient::Api::Animals::LocalTime,
184
+ :schema_type => XSD::QName.new(NsCommonTypes, "localTime"),
185
+ :schema_element => [
186
+ ["hourOfDay", "SOAP::SOAPInt"],
187
+ ["minuteOfHour", "SOAP::SOAPInt"]
188
+ ]
189
+ )
190
+
191
+ EncodedRegistry.register(
192
+ :class => CrvApiClient::Api::Animals::LocalDate,
193
+ :schema_type => XSD::QName.new(NsCommonTypes, "localDate"),
194
+ :schema_element => [
195
+ ["dayOfMonth", "SOAP::SOAPInt"],
196
+ ["monthOfYear", "SOAP::SOAPInt"],
197
+ ["year", "SOAP::SOAPInt"]
198
+ ]
199
+ )
200
+
201
+ EncodedRegistry.register(
202
+ :class => CrvApiClient::Api::Animals::PeriodRange,
203
+ :schema_type => XSD::QName.new(NsCommonTypes, "periodRange"),
204
+ :schema_element => [
205
+ ["beginDate", [nil, XSD::QName.new(NsCommon, "beginDate")], [0, 1]],
206
+ ["endDate", [nil, XSD::QName.new(NsCommon, "endDate")], [0, 1]]
207
+ ]
208
+ )
209
+
210
+ EncodedRegistry.register(
211
+ :class => CrvApiClient::Api::Animals::ContextMessage,
212
+ :schema_type => XSD::QName.new(NsCommonTypes, "contextMessage"),
213
+ :schema_element => [
214
+ ["sessionId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sessionId")], [0, 1]],
215
+ ["processId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "processId")], [0, 1]],
216
+ ["instanceId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "instanceId")], [0, 1]],
217
+ ["username", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "username")], [0, 1]],
218
+ ["userType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "userType")], [0, 1]],
219
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "password")], [0, 1]],
220
+ ["organisation", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
221
+ ["provider", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
222
+ ["customer", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
223
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
224
+ ["animal", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
225
+ ["processCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "processCode")], [0, 1]],
226
+ ["messageSource", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageSource")], [0, 1]],
227
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "languageCode")], [0, 1]],
228
+ ["timeZone", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "timeZone")], [0, 1]],
229
+ ["contextMessageDetail", "CrvApiClient::Api::Animals::ContextMessageDetail[]", [0, nil]]
230
+ ]
231
+ )
232
+
233
+ EncodedRegistry.register(
234
+ :class => CrvApiClient::Api::Animals::ContextMessageDetail,
235
+ :schema_type => XSD::QName.new(NsCommonTypes, "contextMessageDetail"),
236
+ :schema_element => [
237
+ ["contextCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "contextCode")], [0, 1]],
238
+ ["contextValue", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "contextValue")], [0, 1]]
239
+ ]
240
+ )
241
+
242
+ EncodedRegistry.register(
243
+ :class => CrvApiClient::Api::Animals::ServiceMessage,
244
+ :schema_type => XSD::QName.new(NsCommonTypes, "serviceMessage"),
245
+ :schema_element => [
246
+ ["serviceStatus", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "serviceStatus")]],
247
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageCode")], [0, 1]],
248
+ ["messageText", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageText")], [0, 1]],
249
+ ["messageType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageType")], [0, 1]],
250
+ ["sourceType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sourceType")], [0, 1]],
251
+ ["sourceCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sourceCode")], [0, 1]],
252
+ ["serviceMessageDetail", "CrvApiClient::Api::Animals::ServiceMessageDetail[]", [0, nil]]
253
+ ]
254
+ )
255
+
256
+ EncodedRegistry.register(
257
+ :class => CrvApiClient::Api::Animals::ServiceMessageDetail,
258
+ :schema_type => XSD::QName.new(NsCommonTypes, "serviceMessageDetail"),
259
+ :schema_element => [
260
+ ["serviceStatus", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "serviceStatus")], [0, 1]],
261
+ ["codeDetail", "CrvApiClient::Api::Animals::CodeDetail[]", [0, nil]],
262
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageCode")], [0, 1]],
263
+ ["messageText", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageText")], [0, 1]],
264
+ ["messageType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageType")], [0, 1]]
265
+ ]
266
+ )
267
+
268
+ EncodedRegistry.register(
269
+ :class => CrvApiClient::Api::Animals::CodeDetail,
270
+ :schema_type => XSD::QName.new(NsCommonTypes, "codeDetail"),
271
+ :schema_element => [
272
+ ["keyId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "keyId")], [0, 1]],
273
+ ["keyValue", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "keyValue")], [0, 1]]
274
+ ]
275
+ )
276
+
277
+ EncodedRegistry.register(
278
+ :class => CrvApiClient::Api::Animals::SendNotificationRequestType,
279
+ :schema_type => XSD::QName.new(NsCommonTypes, "sendNotificationRequestType"),
280
+ :schema_element => [
281
+ ["notificationType", ["CrvApiClient::Api::Animals::NotificationType", XSD::QName.new(NsCommon, "notificationType")], [0, 1]],
282
+ ["notificationMessage", "CrvApiClient::Api::Animals::NotificationMessageType[]", [0, nil]],
283
+ ["email", "CrvApiClient::Api::Animals::EmailType[]", [0, nil]],
284
+ ["fax", "CrvApiClient::Api::Animals::FaxType[]", [0, nil]],
285
+ ["sms", "CrvApiClient::Api::Animals::SmsType[]", [0, nil]],
286
+ ["voice", "CrvApiClient::Api::Animals::VoiceType[]", [0, nil]],
287
+ ["pager", "CrvApiClient::Api::Animals::PagerType[]", [0, nil]]
288
+ ]
289
+ )
290
+
291
+ EncodedRegistry.register(
292
+ :class => CrvApiClient::Api::Animals::NotificationMessageType,
293
+ :schema_type => XSD::QName.new(NsCommonTypes, "notificationMessageType"),
294
+ :schema_element => [
295
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "messageCode")], [0, 1]],
296
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]],
297
+ ["messageParameter", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "messageParameter")], [0, 1]]
298
+ ]
299
+ )
300
+
301
+ EncodedRegistry.register(
302
+ :class => CrvApiClient::Api::Animals::EmailType,
303
+ :schema_type => XSD::QName.new(NsCommonTypes, "emailType"),
304
+ :schema_element => [
305
+ ["mailTo", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "mailTo")], [0, 1]],
306
+ ["mailCc", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "mailCc")], [0, 1]],
307
+ ["mailBcc", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "mailBcc")], [0, 1]],
308
+ ["mailReplyTo", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "mailReplyTo")], [0, 1]],
309
+ ["subject", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "subject")], [0, 1]],
310
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
311
+ ]
312
+ )
313
+
314
+ EncodedRegistry.register(
315
+ :class => CrvApiClient::Api::Animals::FaxType,
316
+ :schema_type => XSD::QName.new(NsCommonTypes, "faxType"),
317
+ :schema_element => [
318
+ ["faxNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "faxNr")], [0, 1]],
319
+ ["coverPage", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "coverPage")], [0, 1]],
320
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
321
+ ]
322
+ )
323
+
324
+ EncodedRegistry.register(
325
+ :class => CrvApiClient::Api::Animals::SmsType,
326
+ :schema_type => XSD::QName.new(NsCommonTypes, "smsType"),
327
+ :schema_element => [
328
+ ["fromNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "fromNr")], [0, 1]],
329
+ ["telNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "telNr")], [0, 1]],
330
+ ["subject", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "subject")], [0, 1]],
331
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
332
+ ]
333
+ )
334
+
335
+ EncodedRegistry.register(
336
+ :class => CrvApiClient::Api::Animals::VoiceType,
337
+ :schema_type => XSD::QName.new(NsCommonTypes, "voiceType"),
338
+ :schema_element => [
339
+ ["telNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "telNr")], [0, 1]],
340
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
341
+ ]
342
+ )
343
+
344
+ EncodedRegistry.register(
345
+ :class => CrvApiClient::Api::Animals::PagerType,
346
+ :schema_type => XSD::QName.new(NsCommonTypes, "pagerType"),
347
+ :schema_element => [
348
+ ["fromNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "fromNr")], [0, 1]],
349
+ ["pagerNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "pagerNr")], [0, 1]],
350
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
351
+ ]
352
+ )
353
+
354
+ EncodedRegistry.register(
355
+ :class => CrvApiClient::Api::Animals::GetLabel,
356
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "getLabel"),
357
+ :schema_element => [
358
+ ["componentCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "componentCode")], [0, 1]],
359
+ ["itemName", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemName")], [0, 1]],
360
+ ["itemType", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemType")], [0, 1]],
361
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]]
362
+ ]
363
+ )
364
+
365
+ EncodedRegistry.register(
366
+ :class => CrvApiClient::Api::Animals::Component,
367
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "component"),
368
+ :schema_element => [
369
+ ["componentCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "componentCode")], [0, 1]],
370
+ ["processCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "processCode")], [0, 1]],
371
+ ["componentType", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "componentType")], [0, 1]],
372
+ ["componentName", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "componentName")], [0, 1]],
373
+ ["componentItem", "CrvApiClient::Api::Animals::ComponentItem[]", [0, nil]]
374
+ ]
375
+ )
376
+
377
+ EncodedRegistry.register(
378
+ :class => CrvApiClient::Api::Animals::ComponentItem,
379
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "componentItem"),
380
+ :schema_element => [
381
+ ["item", "CrvApiClient::Api::Animals::Item[]", [0, nil]]
382
+ ]
383
+ )
384
+
385
+ EncodedRegistry.register(
386
+ :class => CrvApiClient::Api::Animals::Item,
387
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "item"),
388
+ :schema_element => [
389
+ ["itemName", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemName")], [0, 1]],
390
+ ["moduleCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "moduleCode")], [0, 1]],
391
+ ["itemType", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemType")], [0, 1]],
392
+ ["itemLng", "CrvApiClient::Api::Animals::ItemLng[]", [0, nil]]
393
+ ]
394
+ )
395
+
396
+ EncodedRegistry.register(
397
+ :class => CrvApiClient::Api::Animals::ItemLng,
398
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "itemLng"),
399
+ :schema_element => [
400
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]],
401
+ ["itemLabel", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemLabel")], [0, 1]]
402
+ ]
403
+ )
404
+
405
+ EncodedRegistry.register(
406
+ :class => CrvApiClient::Api::Animals::GetSystemMessage,
407
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "getSystemMessage"),
408
+ :schema_element => [
409
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "messageCode")], [0, 1]],
410
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]],
411
+ ["messageParameter", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "messageParameter")], [0, 1]]
412
+ ]
413
+ )
414
+
415
+ EncodedRegistry.register(
416
+ :class => CrvApiClient::Api::Animals::SystemMessage,
417
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "systemMessage"),
418
+ :schema_element => [
419
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "message")], [0, 1]]
420
+ ]
421
+ )
422
+
423
+ EncodedRegistry.register(
424
+ :class => CrvApiClient::Api::Animals::ListDomain,
425
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "listDomain"),
426
+ :schema_element => [
427
+ ["domain", "CrvApiClient::Api::Animals::Domain[]", [0, nil]],
428
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]],
429
+ ["representationType", ["CrvApiClient::Api::Animals::RepresentationType", XSD::QName.new(NsDictionary, "representationType")], [0, 1]],
430
+ ["actual", ["CrvApiClient::Api::Animals::BooleanType", XSD::QName.new(NsDictionary, "actual")], [0, 1]]
431
+ ]
432
+ )
433
+
434
+ EncodedRegistry.register(
435
+ :class => CrvApiClient::Api::Animals::DomainValue,
436
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "domainValue"),
437
+ :schema_element => [
438
+ ["domainCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "domainCode")]],
439
+ ["columnValue", "CrvApiClient::Api::Animals::ColumnValue[]", [0, nil]]
440
+ ]
441
+ )
442
+
443
+ EncodedRegistry.register(
444
+ :class => CrvApiClient::Api::Animals::ColumnValue,
445
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "columnValue"),
446
+ :schema_element => [
447
+ ["value", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "value")], [0, 1]],
448
+ ["representation", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "representation")], [0, 1]]
449
+ ]
450
+ )
451
+
452
+ EncodedRegistry.register(
453
+ :class => CrvApiClient::Api::Animals::Domain,
454
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "domain"),
455
+ :schema_element => [
456
+ ["domainCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "domainCode")], [0, 1]]
457
+ ]
458
+ )
459
+
460
+ EncodedRegistry.register(
461
+ :class => CrvApiClient::Api::Animals::TimePeriod,
462
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "timePeriod"),
463
+ :schema_element => [
464
+ ["beginDate", [nil, XSD::QName.new(NsCommon, "beginDate")], [0, 1]],
465
+ ["beginTime", [nil, XSD::QName.new(NsCommon, "beginTime")], [0, 1]],
466
+ ["endDate", [nil, XSD::QName.new(NsCommon, "endDate")], [0, 1]],
467
+ ["endTime", [nil, XSD::QName.new(NsCommon, "endTime")], [0, 1]]
468
+ ]
469
+ )
470
+
471
+ EncodedRegistry.register(
472
+ :class => CrvApiClient::Api::Animals::IntervalId,
473
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "intervalId"),
474
+ :schema_element => [
475
+ ["nr", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "nr")]],
476
+ ["nrType", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "nrType")]]
477
+ ]
478
+ )
479
+
480
+ EncodedRegistry.register(
481
+ :class => CrvApiClient::Api::Animals::AnimalNumberCountry,
482
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "animalNumberCountry"),
483
+ :schema_element => [
484
+ ["countryCd", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "countryCd")]],
485
+ ["animalNrLength", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "animalNrLength")]],
486
+ ["animalNrAlphanumeric", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "animalNrAlphanumeric")]],
487
+ ["sortingOrder", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "sortingOrder")]]
488
+ ]
489
+ )
490
+
491
+ EncodedRegistry.register(
492
+ :class => CrvApiClient::Api::Animals::HourCode,
493
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "hourCode"),
494
+ :schema_element => [
495
+ ["hourCd", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "hourCd")]],
496
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "description")]],
497
+ ["hourMutateAllowed", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "hourMutateAllowed")]],
498
+ ["hourNecessary", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "hourNecessary")]],
499
+ ["addressMutateAllowed", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "addressMutateAllowed")]],
500
+ ["addressNecessary", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "addressNecessary")]],
501
+ ["activityMutateAllowed", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "activityMutateAllowed")]],
502
+ ["activityNecessary", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "activityNecessary")]],
503
+ ["kilometresMutateAllowed", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "kilometresMutateAllowed")]],
504
+ ["kilometresNecessary", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "kilometresNecessary")]]
505
+ ]
506
+ )
507
+
508
+ EncodedRegistry.register(
509
+ :class => CrvApiClient::Api::Animals::Parameter,
510
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "parameter"),
511
+ :schema_element => [
512
+ ["parameterName", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "parameterName")]],
513
+ ["value", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "value")]],
514
+ ["valueDescription", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "valueDescription")]],
515
+ ["default", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "default")]],
516
+ ["sortingOrder", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "sortingOrder")]]
517
+ ]
518
+ )
519
+
520
+ EncodedRegistry.register(
521
+ :class => CrvApiClient::Api::Animals::AnimalId,
522
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalId"),
523
+ :schema_element => [
524
+ ["animalNumber", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNumber")]],
525
+ ["animalNumberType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNumberType")], [0, 1]]
526
+ ]
527
+ )
528
+
529
+ EncodedRegistry.register(
530
+ :class => CrvApiClient::Api::Animals::AnimalDetailsBirth,
531
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalDetailsBirth"),
532
+ :schema_element => [
533
+ ["animalId", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
534
+ ["animalNumberShort", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNumberShort")], [0, 1]],
535
+ ["sex", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "sex")], [0, 1]],
536
+ ["colourHair", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "colourHair")], [0, 1]],
537
+ ["birthDate", [nil, XSD::QName.new(NsAnimal, "birthDate")], [0, 1]],
538
+ ["animalName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalName")], [0, 1]],
539
+ ["surrogateDam", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
540
+ ["dam", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
541
+ ["sire", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
542
+ ["breedComposition", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "breedComposition")], [0, 1]]
543
+ ]
544
+ )
545
+
546
+ EncodedRegistry.register(
547
+ :class => CrvApiClient::Api::Animals::Animal,
548
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animal"),
549
+ :schema_element => [
550
+ ["animalId", "CrvApiClient::Api::Animals::AnimalId"],
551
+ ["animalNumberShort", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNumberShort")], [0, 1]],
552
+ ["sex", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "sex")]],
553
+ ["colourHair", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "colourHair")], [0, 1]],
554
+ ["birthDate", [nil, XSD::QName.new(NsAnimal, "birthDate")]],
555
+ ["deathDate", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "deathDate")], [0, 1]],
556
+ ["animalName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalName")], [0, 1]],
557
+ ["breedComposition", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "breedComposition")], [0, 1]],
558
+ ["redFactor", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "redFactor")], [0, 1]]
559
+ ]
560
+ )
561
+
562
+ EncodedRegistry.register(
563
+ :class => CrvApiClient::Api::Animals::AnimalManagement,
564
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalManagement"),
565
+ :schema_element => [
566
+ ["animalId", "CrvApiClient::Api::Animals::AnimalId"],
567
+ ["animalName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalName")], [0, 1]],
568
+ ["farmersAnimalNr", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "farmersAnimalNr")], [0, 1]],
569
+ ["animalGroupNr", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalGroupNr")], [0, 1]],
570
+ ["productionPurposeDate", [nil, XSD::QName.new(NsAnimal, "productionPurposeDate")], [0, 1]],
571
+ ["productionPurpose", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "productionPurpose")]]
572
+ ]
573
+ )
574
+
575
+ EncodedRegistry.register(
576
+ :class => CrvApiClient::Api::Animals::AnimalPedigree,
577
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalPedigree"),
578
+ :schema_element => [
579
+ ["animal", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
580
+ ["animalNrShort", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNrShort")], [0, 1]],
581
+ ["animalName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalName")], [0, 1]],
582
+ ["farmersAnimalNr", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "farmersAnimalNr")], [0, 1]],
583
+ ["sex", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "sex")], [0, 1]],
584
+ ["birthDate", [nil, XSD::QName.new(NsAnimal, "birthDate")], [0, 1]],
585
+ ["colourHair", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "colourHair")], [0, 1]],
586
+ ["pedigree", "CrvApiClient::Api::Animals::Pedigree", [0, 1]],
587
+ ["participantAnimal", "CrvApiClient::Api::Animals::ParticipantAnimalId[]", [0, nil]],
588
+ ["groupCode", "CrvApiClient::Api::Animals::AnimalGroup[]", [0, nil]]
589
+ ]
590
+ )
591
+
592
+ EncodedRegistry.register(
593
+ :class => CrvApiClient::Api::Animals::AnimalSupplyId,
594
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalSupplyId"),
595
+ :schema_element => [
596
+ ["animal", "CrvApiClient::Api::Animals::AnimalId"],
597
+ ["supplyType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyType")]],
598
+ ["supplyCd", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyCd")]],
599
+ ["plannedDepartureDate", [nil, XSD::QName.new(NsAnimal, "plannedDepartureDate")], [0, 1]],
600
+ ["trader", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
601
+ ["destination", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]]
602
+ ]
603
+ )
604
+
605
+ EncodedRegistry.register(
606
+ :class => CrvApiClient::Api::Animals::Addresses,
607
+ :schema_type => XSD::QName.new(NsAnimalTypes, "addresses"),
608
+ :schema_element => [
609
+ ["participant", "CrvApiClient::Api::Animals::Participant[]", [0, nil]],
610
+ ["address", "CrvApiClient::Api::Animals::Address[]", [0, nil]],
611
+ ["trader", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]]
612
+ ]
613
+ )
614
+
615
+ EncodedRegistry.register(
616
+ :class => CrvApiClient::Api::Animals::AnimalArrivalDetail,
617
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalArrivalDetail"),
618
+ :schema_element => [
619
+ ["animalId", "CrvApiClient::Api::Animals::AnimalId[]", [1, nil]],
620
+ ["plannedArrivalDetail", "CrvApiClient::Api::Animals::PlannedArrivalDetail"]
621
+ ]
622
+ )
623
+
624
+ EncodedRegistry.register(
625
+ :class => CrvApiClient::Api::Animals::AverageHerdWeight,
626
+ :schema_type => XSD::QName.new(NsAnimalTypes, "averageHerdWeight"),
627
+ :schema_element => [
628
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
629
+ ["referencePeriod", "CrvApiClient::Api::Animals::TimePeriod"],
630
+ ["herdWeightCategoryResult", "CrvApiClient::Api::Animals::HerdWeightCategory[]", [1, nil]]
631
+ ]
632
+ )
633
+
634
+ EncodedRegistry.register(
635
+ :class => CrvApiClient::Api::Animals::BreedFraction,
636
+ :schema_type => XSD::QName.new(NsAnimalTypes, "breedFraction"),
637
+ :schema_element => [
638
+ ["breed", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "breed")]],
639
+ ["fraction", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "fraction")]]
640
+ ]
641
+ )
642
+
643
+ EncodedRegistry.register(
644
+ :class => CrvApiClient::Api::Animals::BullDetails,
645
+ :schema_type => XSD::QName.new(NsAnimalTypes, "bullDetails"),
646
+ :schema_element => [
647
+ ["bullId", "CrvApiClient::Api::Animals::AnimalId"],
648
+ ["aiCode", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
649
+ ["bullName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "bullName")], [0, 1]],
650
+ ["bullShortName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "bullShortName")], [0, 1]],
651
+ ["birthDate", [nil, XSD::QName.new(NsAnimal, "birthDate")], [0, 1]],
652
+ ["colourHair", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "colourHair")], [0, 1]]
653
+ ]
654
+ )
655
+
656
+ EncodedRegistry.register(
657
+ :class => CrvApiClient::Api::Animals::ColourCode,
658
+ :schema_type => XSD::QName.new(NsAnimalTypes, "colourCode"),
659
+ :schema_element => [
660
+ ["countryCode", "SOAP::SOAPString"],
661
+ ["colourCode", "SOAP::SOAPString"]
662
+ ]
663
+ )
664
+
665
+ EncodedRegistry.register(
666
+ :class => CrvApiClient::Api::Animals::ChainValue,
667
+ :schema_type => XSD::QName.new(NsAnimalTypes, "chainValue"),
668
+ :schema_element => [
669
+ ["chainType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "chainType")]],
670
+ ["chainVersion", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "chainVersion")]],
671
+ ["chainRowValue", "CrvApiClient::Api::Animals::ChainRowValue[]", [0, nil]]
672
+ ]
673
+ )
674
+
675
+ EncodedRegistry.register(
676
+ :class => CrvApiClient::Api::Animals::ChainRowValue,
677
+ :schema_type => XSD::QName.new(NsAnimalTypes, "chainRowValue"),
678
+ :schema_element => [
679
+ ["rowCd", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "rowCd")]],
680
+ ["rowValue", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "rowValue")]]
681
+ ]
682
+ )
683
+
684
+ EncodedRegistry.register(
685
+ :class => CrvApiClient::Api::Animals::DateReason,
686
+ :schema_type => XSD::QName.new(NsAnimalTypes, "dateReason"),
687
+ :schema_element => [
688
+ ["date", [nil, XSD::QName.new(NsCommon, "date")]],
689
+ ["reason", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "reason")], [0, 1]]
690
+ ]
691
+ )
692
+
693
+ EncodedRegistry.register(
694
+ :class => CrvApiClient::Api::Animals::AnimalGroup,
695
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalGroup"),
696
+ :schema_element => [
697
+ ["animalGroupType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalGroupType")]],
698
+ ["animalGroupCode", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalGroupCode")]],
699
+ ["animalGroupName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalGroupName")], [0, 1]]
700
+ ]
701
+ )
702
+
703
+ EncodedRegistry.register(
704
+ :class => CrvApiClient::Api::Animals::HerdWeightCategory,
705
+ :schema_type => XSD::QName.new(NsAnimalTypes, "herdWeightCategory"),
706
+ :schema_element => [
707
+ ["categoryCd", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "categoryCd")]],
708
+ ["avgNoAnimals", [nil, XSD::QName.new(NsAnimal, "avgNoAnimals")]],
709
+ ["avgWeightAnimals", [nil, XSD::QName.new(NsAnimal, "avgWeightAnimals")]]
710
+ ]
711
+ )
712
+
713
+ EncodedRegistry.register(
714
+ :class => CrvApiClient::Api::Animals::ListParticipantAnimalRequest,
715
+ :schema_type => XSD::QName.new(NsAnimalTypes, "listParticipantAnimalRequest"),
716
+ :schema_element => [
717
+ ["listType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "listType")], [0, 1]],
718
+ ["participantAnimalRequest", "CrvApiClient::Api::Animals::ParticipantAnimalRequest[]", [1, nil]]
719
+ ]
720
+ )
721
+
722
+ EncodedRegistry.register(
723
+ :class => CrvApiClient::Api::Animals::ParticipantAnimalId,
724
+ :schema_type => XSD::QName.new(NsAnimalTypes, "participantAnimalId"),
725
+ :schema_element => [
726
+ ["numberType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "numberType")]],
727
+ ["numberSubType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "numberSubType")]],
728
+ ["participantAnimalNr", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "participantAnimalNr")]]
729
+ ]
730
+ )
731
+
732
+ EncodedRegistry.register(
733
+ :class => CrvApiClient::Api::Animals::ParticipantAnimalRequest,
734
+ :schema_type => XSD::QName.new(NsAnimalTypes, "participantAnimalRequest"),
735
+ :schema_element => [
736
+ ["numberType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "numberType")]],
737
+ ["numberSubType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "numberSubType")]]
738
+ ]
739
+ )
740
+
741
+ EncodedRegistry.register(
742
+ :class => CrvApiClient::Api::Animals::PeriodRange_,
743
+ :schema_type => XSD::QName.new(NsAnimalTypes, "periodRange"),
744
+ :schema_element => [
745
+ ["beginDate", [nil, XSD::QName.new(NsCommon, "beginDate")]],
746
+ ["endDate", [nil, XSD::QName.new(NsCommon, "endDate")]]
747
+ ]
748
+ )
749
+
750
+ EncodedRegistry.register(
751
+ :class => CrvApiClient::Api::Animals::PlannedArrivalDetail,
752
+ :schema_type => XSD::QName.new(NsAnimalTypes, "plannedArrivalDetail"),
753
+ :schema_element => [
754
+ ["supplyCd", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyCd")]],
755
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
756
+ ["plannedDepartureDate", [nil, XSD::QName.new(NsAnimal, "plannedDepartureDate")], [0, 1]],
757
+ ["foodChainInfo", ["CrvApiClient::Api::Animals::BooleanType", XSD::QName.new(NsAnimal, "foodChainInfo")], [0, 1]],
758
+ ["foodChainInfoStandard", ["CrvApiClient::Api::Animals::BooleanType", XSD::QName.new(NsAnimal, "foodChainInfoStandard")], [0, 1]],
759
+ ["trader", "CrvApiClient::Api::Animals::ParticipantId"],
760
+ ["loadGroup", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "loadGroup")], [0, 1]],
761
+ ["destination", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
762
+ ["plannedDeliveryDateTime", [nil, XSD::QName.new(NsAnimal, "plannedDeliveryDateTime")], [0, 1]]
763
+ ]
764
+ )
765
+
766
+ EncodedRegistry.register(
767
+ :class => CrvApiClient::Api::Animals::Pedigree,
768
+ :schema_type => XSD::QName.new(NsAnimalTypes, "pedigree"),
769
+ :schema_element => [
770
+ ["sire", "CrvApiClient::Api::Animals::Animal", [0, 1]],
771
+ ["dam", "CrvApiClient::Api::Animals::Animal", [0, 1]]
772
+ ]
773
+ )
774
+
775
+ EncodedRegistry.register(
776
+ :class => CrvApiClient::Api::Animals::PlannedArrival,
777
+ :schema_type => XSD::QName.new(NsAnimalTypes, "plannedArrival"),
778
+ :schema_element => [
779
+ ["animal", "CrvApiClient::Api::Animals::Animal[]", [0, nil]],
780
+ ["plannedArrivalDetail", "CrvApiClient::Api::Animals::PlannedArrivalDetail"],
781
+ ["breedFraction", "CrvApiClient::Api::Animals::BreedFraction[]", [1, nil]]
782
+ ]
783
+ )
784
+
785
+ EncodedRegistry.register(
786
+ :class => CrvApiClient::Api::Animals::ParticipantId,
787
+ :schema_type => XSD::QName.new(NsParticipantTypes, "participantId"),
788
+ :schema_element => [
789
+ ["participantCode", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "participantCode")]],
790
+ ["participantCodeType", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "participantCodeType")]],
791
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "countryCode")], [0, 1]]
792
+ ]
793
+ )
794
+
795
+ EncodedRegistry.register(
796
+ :class => CrvApiClient::Api::Animals::NameAddressLayout,
797
+ :schema_type => XSD::QName.new(NsParticipantTypes, "nameAddressLayout"),
798
+ :schema_element => [
799
+ ["addressType", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressType")], [0, 1]],
800
+ ["participantName", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "participantName")], [0, 1]],
801
+ ["addressLine1", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine1")], [0, 1]],
802
+ ["addressLine2", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine2")], [0, 1]],
803
+ ["addressLine3", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine3")], [0, 1]],
804
+ ["addressLine4", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine4")], [0, 1]],
805
+ ["addressLine5", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine5")], [0, 1]],
806
+ ["addressLine6", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine6")], [0, 1]]
807
+ ]
808
+ )
809
+
810
+ EncodedRegistry.register(
811
+ :class => CrvApiClient::Api::Animals::Address,
812
+ :schema_type => XSD::QName.new(NsParticipantTypes, "address"),
813
+ :schema_element => [
814
+ ["addressType", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressType")]],
815
+ ["street", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "street")]],
816
+ ["houseNr", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "houseNr")], [0, 1]],
817
+ ["zipCd", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "zipCd")], [0, 1]],
818
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "city")]],
819
+ ["regionCd", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "regionCd")], [0, 1]],
820
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "country")], [0, 1]],
821
+ ["countryCd", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "countryCd")], [0, 1]]
822
+ ]
823
+ )
824
+
825
+ EncodedRegistry.register(
826
+ :class => CrvApiClient::Api::Animals::Participant,
827
+ :schema_type => XSD::QName.new(NsParticipantTypes, "participant"),
828
+ :schema_element => [
829
+ ["participant", "CrvApiClient::Api::Animals::ParticipantId"],
830
+ ["preTitle", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "preTitle")], [0, 1]],
831
+ ["initials", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "initials")], [0, 1]],
832
+ ["firstname", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "firstname")], [0, 1]],
833
+ ["prefix", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "prefix")], [0, 1]],
834
+ ["surname", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "surname")], [0, 1]],
835
+ ["postTitle", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "postTitle")], [0, 1]],
836
+ ["composedName", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "composedName")], [0, 1]]
837
+ ]
838
+ )
839
+
840
+ EncodedRegistry.register(
841
+ :class => CrvApiClient::Api::Animals::ConnectionDataBasic,
842
+ :schema_type => XSD::QName.new(NsParticipantTypes, "connectionDataBasic"),
843
+ :schema_element => [
844
+ ["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "emailAddress")], [0, 1]],
845
+ ["phoneNr", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "phoneNr")], [0, 1]],
846
+ ["mobilePhone", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "mobilePhone")], [0, 1]]
847
+ ]
848
+ )
849
+
850
+ EncodedRegistry.register(
851
+ :class => CrvApiClient::Api::Animals::Connection,
852
+ :schema_type => XSD::QName.new(NsParticipantTypes, "connection"),
853
+ :schema_element => [
854
+ ["connectionType", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "connectionType")]],
855
+ ["connection", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "connection")], [0, 1]],
856
+ ["connectionUse", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "connectionUse")], [0, 1]]
857
+ ]
858
+ )
859
+
860
+ EncodedRegistry.register(
861
+ :class => CrvApiClient::Api::Animals::ParticipantBasic,
862
+ :schema_type => XSD::QName.new(NsParticipantTypes, "participantBasic"),
863
+ :schema_element => [
864
+ ["participant", "CrvApiClient::Api::Animals::Participant"],
865
+ ["address", "CrvApiClient::Api::Animals::Address[]", [0, nil]],
866
+ ["connectionDataBasic", "CrvApiClient::Api::Animals::ConnectionDataBasic", [0, 1]]
867
+ ]
868
+ )
869
+
870
+ EncodedRegistry.register(
871
+ :class => CrvApiClient::Api::Animals::ParticipantComplete,
872
+ :schema_type => XSD::QName.new(NsParticipantTypes, "participantComplete"),
873
+ :schema_element => [
874
+ ["participant", "CrvApiClient::Api::Animals::Participant"],
875
+ ["address", "CrvApiClient::Api::Animals::Address[]", [0, nil]],
876
+ ["connection", "CrvApiClient::Api::Animals::Connection[]", [0, nil]]
877
+ ]
878
+ )
879
+
880
+ EncodedRegistry.register(
881
+ :class => CrvApiClient::Api::Animals::ActualKeeper,
882
+ :schema_type => XSD::QName.new(NsParticipantTypes, "actualKeeper"),
883
+ :schema_element => [
884
+ ["participant", "CrvApiClient::Api::Animals::ParticipantId"],
885
+ ["nameAddressLayout", "CrvApiClient::Api::Animals::NameAddressLayout"]
886
+ ]
887
+ )
888
+
889
+ EncodedRegistry.register(
890
+ :class => CrvApiClient::Api::Animals::BooleanType,
891
+ :schema_type => XSD::QName.new(NsCommonTypes, "booleanType")
892
+ )
893
+
894
+ EncodedRegistry.register(
895
+ :class => CrvApiClient::Api::Animals::NotificationType,
896
+ :schema_type => XSD::QName.new(NsCommonTypes, "notificationType")
897
+ )
898
+
899
+ EncodedRegistry.register(
900
+ :class => CrvApiClient::Api::Animals::RepresentationType,
901
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "representationType")
902
+ )
903
+
904
+ EncodedRegistry.register(
905
+ :class => CrvApiClient::Api::Animals::CountryCode,
906
+ :schema_type => XSD::QName.new(NsAnimalTypes, "countryCode")
907
+ )
908
+
909
+ EncodedRegistry.register(
910
+ :class => CrvApiClient::Api::Animals::KeeperType,
911
+ :schema_type => XSD::QName.new(NsAnimalTypes, "keeperType")
912
+ )
913
+
914
+ EncodedRegistry.register(
915
+ :class => CrvApiClient::Api::Animals::Sex,
916
+ :schema_type => XSD::QName.new(NsAnimalTypes, "sex")
917
+ )
918
+
919
+ LiteralRegistry.register(
920
+ :class => CrvApiClient::Api::Animals::ModifyAnimalManagementRequestType,
921
+ :schema_type => XSD::QName.new(NsAnimalMessages, "modifyAnimalManagementRequestType"),
922
+ :schema_element => [
923
+ ["participantId", "CrvApiClient::Api::Animals::ParticipantId"],
924
+ ["animalManagement", "CrvApiClient::Api::Animals::AnimalManagement[]", [1, nil]]
925
+ ]
926
+ )
927
+
928
+ LiteralRegistry.register(
929
+ :class => CrvApiClient::Api::Animals::AddPlannedDepartureRequestType,
930
+ :schema_type => XSD::QName.new(NsAnimalMessages, "addPlannedDepartureRequestType"),
931
+ :schema_element => [
932
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
933
+ ["animalSupplyChainValue", "CrvApiClient::Api::Animals::AnimalSupplyChainValue[]", [0, nil]]
934
+ ]
935
+ )
936
+
937
+ LiteralRegistry.register(
938
+ :class => CrvApiClient::Api::Animals::AnimalSupplyChainValue,
939
+ :schema_type => XSD::QName.new(NsAnimalMessages, "animalSupplyChainValue"),
940
+ :schema_element => [
941
+ ["animalSupplyId", "CrvApiClient::Api::Animals::AnimalSupplyId"],
942
+ ["chainValue", "CrvApiClient::Api::Animals::ChainValue", [0, 1]]
943
+ ]
944
+ )
945
+
946
+ LiteralRegistry.register(
947
+ :class => CrvApiClient::Api::Animals::DeletePlannedDepartureRequestType,
948
+ :schema_type => XSD::QName.new(NsAnimalMessages, "deletePlannedDepartureRequestType"),
949
+ :schema_element => [
950
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
951
+ ["animalSupplyId", "CrvApiClient::Api::Animals::AnimalSupplyId[]", [0, nil]]
952
+ ]
953
+ )
954
+
955
+ LiteralRegistry.register(
956
+ :class => CrvApiClient::Api::Animals::AnimalSupplyPlannedDeparture,
957
+ :schema_type => XSD::QName.new(NsAnimalMessages, "animalSupplyPlannedDeparture"),
958
+ :schema_element => [
959
+ ["animalSupplyId", "CrvApiClient::Api::Animals::AnimalSupplyId"],
960
+ ["postpone", "CrvApiClient::Api::Animals::DateReason", [0, 1]],
961
+ ["refusal", "CrvApiClient::Api::Animals::DateReason", [0, 1]],
962
+ ["departure", "CrvApiClient::Api::Animals::DateReason", [0, 1]],
963
+ ["chainValueStatus", "CrvApiClient::Api::Animals::ChainValueStatus", [0, 1]]
964
+ ]
965
+ )
966
+
967
+ LiteralRegistry.register(
968
+ :class => CrvApiClient::Api::Animals::ChainValueStatus,
969
+ :schema_type => XSD::QName.new(NsAnimalMessages, "chainValueStatus"),
970
+ :schema_element => [
971
+ ["chainValue", "CrvApiClient::Api::Animals::ChainValue"],
972
+ ["chainStatus", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "chainStatus")]]
973
+ ]
974
+ )
975
+
976
+ LiteralRegistry.register(
977
+ :class => CrvApiClient::Api::Animals::GetAverageHerdWeightRequestType,
978
+ :schema_type => XSD::QName.new(NsAnimalMessages, "getAverageHerdWeightRequestType"),
979
+ :schema_element => [
980
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
981
+ ["year", nil, [0, 1]],
982
+ ["quarter", nil, [0, 1]]
983
+ ]
984
+ )
985
+
986
+ LiteralRegistry.register(
987
+ :class => CrvApiClient::Api::Animals::GetAverageHerdWeightResponseType,
988
+ :schema_type => XSD::QName.new(NsAnimalMessages, "getAverageHerdWeightResponseType"),
989
+ :schema_element => [
990
+ ["averageHerdWeightResult", "CrvApiClient::Api::Animals::AverageHerdWeight"]
991
+ ]
992
+ )
993
+
994
+ LiteralRegistry.register(
995
+ :class => CrvApiClient::Api::Animals::ListPlannedDepartureRequestType,
996
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listPlannedDepartureRequestType"),
997
+ :schema_element => [
998
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
999
+ ["period", "CrvApiClient::Api::Animals::PeriodRange"],
1000
+ ["supplyType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyType")]]
1001
+ ]
1002
+ )
1003
+
1004
+ LiteralRegistry.register(
1005
+ :class => CrvApiClient::Api::Animals::ListPlannedDepartureResponseType,
1006
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listPlannedDepartureResponseType"),
1007
+ :schema_element => [
1008
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
1009
+ ["animalSupplyPlannedDeparture", "CrvApiClient::Api::Animals::AnimalSupplyPlannedDeparture[]", [0, nil]]
1010
+ ]
1011
+ )
1012
+
1013
+ LiteralRegistry.register(
1014
+ :class => CrvApiClient::Api::Animals::ListFoodChainInformationRequestType,
1015
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listFoodChainInformationRequestType"),
1016
+ :schema_element => [
1017
+ ["chainType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "chainType")]],
1018
+ ["animal", "CrvApiClient::Api::Animals::AnimalId[]", [1, nil]]
1019
+ ]
1020
+ )
1021
+
1022
+ LiteralRegistry.register(
1023
+ :class => CrvApiClient::Api::Animals::ListFoodChainInformationResponseType,
1024
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listFoodChainInformationResponseType"),
1025
+ :schema_element => [
1026
+ ["animalChainValue", "CrvApiClient::Api::Animals::AnimalChainValue[]", [1, nil]]
1027
+ ]
1028
+ )
1029
+
1030
+ LiteralRegistry.register(
1031
+ :class => CrvApiClient::Api::Animals::AnimalChainValue,
1032
+ :schema_type => XSD::QName.new(NsAnimalMessages, "animalChainValue"),
1033
+ :schema_element => [
1034
+ ["animal", "CrvApiClient::Api::Animals::AnimalId"],
1035
+ ["chainValue", "CrvApiClient::Api::Animals::ChainValue", [0, 1]]
1036
+ ]
1037
+ )
1038
+
1039
+ LiteralRegistry.register(
1040
+ :class => CrvApiClient::Api::Animals::ListPlannedArrivalRequestType,
1041
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listPlannedArrivalRequestType"),
1042
+ :schema_element => [
1043
+ ["customer", "CrvApiClient::Api::Animals::ParticipantId"],
1044
+ ["source", "CrvApiClient::Api::Animals::ParticipantId"],
1045
+ ["period", "CrvApiClient::Api::Animals::PeriodRange_"],
1046
+ ["supplyType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyType")]]
1047
+ ]
1048
+ )
1049
+
1050
+ LiteralRegistry.register(
1051
+ :class => CrvApiClient::Api::Animals::ListPlannedArrivalResponseType,
1052
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listPlannedArrivalResponseType"),
1053
+ :schema_element => [
1054
+ ["plannedArrival", "CrvApiClient::Api::Animals::PlannedArrival[]", [0, nil]],
1055
+ ["addresses", "CrvApiClient::Api::Animals::Addresses[]", [0, nil]]
1056
+ ]
1057
+ )
1058
+
1059
+ LiteralRegistry.register(
1060
+ :class => CrvApiClient::Api::Animals::ModifyPlannedArrivalRequestType,
1061
+ :schema_type => XSD::QName.new(NsAnimalMessages, "modifyPlannedArrivalRequestType"),
1062
+ :schema_element => [
1063
+ ["customer", "CrvApiClient::Api::Animals::ParticipantId"],
1064
+ ["animalArrivalDetail", "CrvApiClient::Api::Animals::AnimalArrivalDetail[]", [1, nil]]
1065
+ ]
1066
+ )
1067
+
1068
+ LiteralRegistry.register(
1069
+ :class => CrvApiClient::Api::Animals::ListHerdPedigreeRequestType,
1070
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listHerdPedigreeRequestType"),
1071
+ :schema_element => [
1072
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"]
1073
+ ]
1074
+ )
1075
+
1076
+ LiteralRegistry.register(
1077
+ :class => CrvApiClient::Api::Animals::ListHerdPedigreeResponseType,
1078
+ :schema_type => XSD::QName.new(NsAnimalMessages, "listHerdPedigreeResponseType"),
1079
+ :schema_element => [
1080
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
1081
+ ["animalPedigree", "CrvApiClient::Api::Animals::AnimalPedigree[]", [0, nil]]
1082
+ ]
1083
+ )
1084
+
1085
+ LiteralRegistry.register(
1086
+ :class => CrvApiClient::Api::Animals::LocalTime,
1087
+ :schema_type => XSD::QName.new(NsCommonTypes, "localTime"),
1088
+ :schema_element => [
1089
+ ["hourOfDay", "SOAP::SOAPInt"],
1090
+ ["minuteOfHour", "SOAP::SOAPInt"]
1091
+ ]
1092
+ )
1093
+
1094
+ LiteralRegistry.register(
1095
+ :class => CrvApiClient::Api::Animals::LocalDate,
1096
+ :schema_type => XSD::QName.new(NsCommonTypes, "localDate"),
1097
+ :schema_element => [
1098
+ ["dayOfMonth", "SOAP::SOAPInt"],
1099
+ ["monthOfYear", "SOAP::SOAPInt"],
1100
+ ["year", "SOAP::SOAPInt"]
1101
+ ]
1102
+ )
1103
+
1104
+ LiteralRegistry.register(
1105
+ :class => CrvApiClient::Api::Animals::PeriodRange,
1106
+ :schema_type => XSD::QName.new(NsCommonTypes, "periodRange"),
1107
+ :schema_element => [
1108
+ ["beginDate", [nil, XSD::QName.new(NsCommon, "beginDate")], [0, 1]],
1109
+ ["endDate", [nil, XSD::QName.new(NsCommon, "endDate")], [0, 1]]
1110
+ ]
1111
+ )
1112
+
1113
+ LiteralRegistry.register(
1114
+ :class => CrvApiClient::Api::Animals::ContextMessage,
1115
+ :schema_type => XSD::QName.new(NsCommonTypes, "contextMessage"),
1116
+ :schema_element => [
1117
+ ["sessionId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sessionId")], [0, 1]],
1118
+ ["processId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "processId")], [0, 1]],
1119
+ ["instanceId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "instanceId")], [0, 1]],
1120
+ ["username", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "username")], [0, 1]],
1121
+ ["userType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "userType")], [0, 1]],
1122
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "password")], [0, 1]],
1123
+ ["organisation", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
1124
+ ["provider", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
1125
+ ["customer", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
1126
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
1127
+ ["animal", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
1128
+ ["processCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "processCode")], [0, 1]],
1129
+ ["messageSource", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageSource")], [0, 1]],
1130
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "languageCode")], [0, 1]],
1131
+ ["timeZone", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "timeZone")], [0, 1]],
1132
+ ["contextMessageDetail", "CrvApiClient::Api::Animals::ContextMessageDetail[]", [0, nil]]
1133
+ ]
1134
+ )
1135
+
1136
+ LiteralRegistry.register(
1137
+ :class => CrvApiClient::Api::Animals::ContextMessageDetail,
1138
+ :schema_type => XSD::QName.new(NsCommonTypes, "contextMessageDetail"),
1139
+ :schema_element => [
1140
+ ["contextCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "contextCode")], [0, 1]],
1141
+ ["contextValue", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "contextValue")], [0, 1]]
1142
+ ]
1143
+ )
1144
+
1145
+ LiteralRegistry.register(
1146
+ :class => CrvApiClient::Api::Animals::ServiceMessage,
1147
+ :schema_type => XSD::QName.new(NsCommonTypes, "serviceMessage"),
1148
+ :schema_element => [
1149
+ ["serviceStatus", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "serviceStatus")]],
1150
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageCode")], [0, 1]],
1151
+ ["messageText", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageText")], [0, 1]],
1152
+ ["messageType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageType")], [0, 1]],
1153
+ ["sourceType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sourceType")], [0, 1]],
1154
+ ["sourceCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sourceCode")], [0, 1]],
1155
+ ["serviceMessageDetail", "CrvApiClient::Api::Animals::ServiceMessageDetail[]", [0, nil]]
1156
+ ]
1157
+ )
1158
+
1159
+ LiteralRegistry.register(
1160
+ :class => CrvApiClient::Api::Animals::ServiceMessageDetail,
1161
+ :schema_type => XSD::QName.new(NsCommonTypes, "serviceMessageDetail"),
1162
+ :schema_element => [
1163
+ ["serviceStatus", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "serviceStatus")], [0, 1]],
1164
+ ["codeDetail", "CrvApiClient::Api::Animals::CodeDetail[]", [0, nil]],
1165
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageCode")], [0, 1]],
1166
+ ["messageText", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageText")], [0, 1]],
1167
+ ["messageType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageType")], [0, 1]]
1168
+ ]
1169
+ )
1170
+
1171
+ LiteralRegistry.register(
1172
+ :class => CrvApiClient::Api::Animals::CodeDetail,
1173
+ :schema_type => XSD::QName.new(NsCommonTypes, "codeDetail"),
1174
+ :schema_element => [
1175
+ ["keyId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "keyId")], [0, 1]],
1176
+ ["keyValue", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "keyValue")], [0, 1]]
1177
+ ]
1178
+ )
1179
+
1180
+ LiteralRegistry.register(
1181
+ :class => CrvApiClient::Api::Animals::SendNotificationRequestType,
1182
+ :schema_type => XSD::QName.new(NsCommonTypes, "sendNotificationRequestType"),
1183
+ :schema_element => [
1184
+ ["notificationType", ["CrvApiClient::Api::Animals::NotificationType", XSD::QName.new(NsCommon, "notificationType")], [0, 1]],
1185
+ ["notificationMessage", "CrvApiClient::Api::Animals::NotificationMessageType[]", [0, nil]],
1186
+ ["email", "CrvApiClient::Api::Animals::EmailType[]", [0, nil]],
1187
+ ["fax", "CrvApiClient::Api::Animals::FaxType[]", [0, nil]],
1188
+ ["sms", "CrvApiClient::Api::Animals::SmsType[]", [0, nil]],
1189
+ ["voice", "CrvApiClient::Api::Animals::VoiceType[]", [0, nil]],
1190
+ ["pager", "CrvApiClient::Api::Animals::PagerType[]", [0, nil]]
1191
+ ]
1192
+ )
1193
+
1194
+ LiteralRegistry.register(
1195
+ :class => CrvApiClient::Api::Animals::NotificationMessageType,
1196
+ :schema_type => XSD::QName.new(NsCommonTypes, "notificationMessageType"),
1197
+ :schema_element => [
1198
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "messageCode")], [0, 1]],
1199
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]],
1200
+ ["messageParameter", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "messageParameter")], [0, 1]]
1201
+ ]
1202
+ )
1203
+
1204
+ LiteralRegistry.register(
1205
+ :class => CrvApiClient::Api::Animals::EmailType,
1206
+ :schema_type => XSD::QName.new(NsCommonTypes, "emailType"),
1207
+ :schema_element => [
1208
+ ["mailTo", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "mailTo")], [0, 1]],
1209
+ ["mailCc", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "mailCc")], [0, 1]],
1210
+ ["mailBcc", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "mailBcc")], [0, 1]],
1211
+ ["mailReplyTo", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "mailReplyTo")], [0, 1]],
1212
+ ["subject", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "subject")], [0, 1]],
1213
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
1214
+ ]
1215
+ )
1216
+
1217
+ LiteralRegistry.register(
1218
+ :class => CrvApiClient::Api::Animals::FaxType,
1219
+ :schema_type => XSD::QName.new(NsCommonTypes, "faxType"),
1220
+ :schema_element => [
1221
+ ["faxNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "faxNr")], [0, 1]],
1222
+ ["coverPage", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "coverPage")], [0, 1]],
1223
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
1224
+ ]
1225
+ )
1226
+
1227
+ LiteralRegistry.register(
1228
+ :class => CrvApiClient::Api::Animals::SmsType,
1229
+ :schema_type => XSD::QName.new(NsCommonTypes, "smsType"),
1230
+ :schema_element => [
1231
+ ["fromNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "fromNr")], [0, 1]],
1232
+ ["telNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "telNr")], [0, 1]],
1233
+ ["subject", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "subject")], [0, 1]],
1234
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
1235
+ ]
1236
+ )
1237
+
1238
+ LiteralRegistry.register(
1239
+ :class => CrvApiClient::Api::Animals::VoiceType,
1240
+ :schema_type => XSD::QName.new(NsCommonTypes, "voiceType"),
1241
+ :schema_element => [
1242
+ ["telNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "telNr")], [0, 1]],
1243
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
1244
+ ]
1245
+ )
1246
+
1247
+ LiteralRegistry.register(
1248
+ :class => CrvApiClient::Api::Animals::PagerType,
1249
+ :schema_type => XSD::QName.new(NsCommonTypes, "pagerType"),
1250
+ :schema_element => [
1251
+ ["fromNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "fromNr")], [0, 1]],
1252
+ ["pagerNr", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "pagerNr")], [0, 1]],
1253
+ ["textBody", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "textBody")], [0, 1]]
1254
+ ]
1255
+ )
1256
+
1257
+ LiteralRegistry.register(
1258
+ :class => CrvApiClient::Api::Animals::GetLabel,
1259
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "getLabel"),
1260
+ :schema_element => [
1261
+ ["componentCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "componentCode")], [0, 1]],
1262
+ ["itemName", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemName")], [0, 1]],
1263
+ ["itemType", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemType")], [0, 1]],
1264
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]]
1265
+ ]
1266
+ )
1267
+
1268
+ LiteralRegistry.register(
1269
+ :class => CrvApiClient::Api::Animals::Component,
1270
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "component"),
1271
+ :schema_element => [
1272
+ ["componentCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "componentCode")], [0, 1]],
1273
+ ["processCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "processCode")], [0, 1]],
1274
+ ["componentType", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "componentType")], [0, 1]],
1275
+ ["componentName", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "componentName")], [0, 1]],
1276
+ ["componentItem", "CrvApiClient::Api::Animals::ComponentItem[]", [0, nil]]
1277
+ ]
1278
+ )
1279
+
1280
+ LiteralRegistry.register(
1281
+ :class => CrvApiClient::Api::Animals::ComponentItem,
1282
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "componentItem"),
1283
+ :schema_element => [
1284
+ ["item", "CrvApiClient::Api::Animals::Item[]", [0, nil]]
1285
+ ]
1286
+ )
1287
+
1288
+ LiteralRegistry.register(
1289
+ :class => CrvApiClient::Api::Animals::Item,
1290
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "item"),
1291
+ :schema_element => [
1292
+ ["itemName", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemName")], [0, 1]],
1293
+ ["moduleCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "moduleCode")], [0, 1]],
1294
+ ["itemType", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemType")], [0, 1]],
1295
+ ["itemLng", "CrvApiClient::Api::Animals::ItemLng[]", [0, nil]]
1296
+ ]
1297
+ )
1298
+
1299
+ LiteralRegistry.register(
1300
+ :class => CrvApiClient::Api::Animals::ItemLng,
1301
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "itemLng"),
1302
+ :schema_element => [
1303
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]],
1304
+ ["itemLabel", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "itemLabel")], [0, 1]]
1305
+ ]
1306
+ )
1307
+
1308
+ LiteralRegistry.register(
1309
+ :class => CrvApiClient::Api::Animals::GetSystemMessage,
1310
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "getSystemMessage"),
1311
+ :schema_element => [
1312
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "messageCode")], [0, 1]],
1313
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]],
1314
+ ["messageParameter", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "messageParameter")], [0, 1]]
1315
+ ]
1316
+ )
1317
+
1318
+ LiteralRegistry.register(
1319
+ :class => CrvApiClient::Api::Animals::SystemMessage,
1320
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "systemMessage"),
1321
+ :schema_element => [
1322
+ ["message", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "message")], [0, 1]]
1323
+ ]
1324
+ )
1325
+
1326
+ LiteralRegistry.register(
1327
+ :class => CrvApiClient::Api::Animals::ListDomain,
1328
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "listDomain"),
1329
+ :schema_element => [
1330
+ ["domain", "CrvApiClient::Api::Animals::Domain[]", [0, nil]],
1331
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "languageCode")], [0, 1]],
1332
+ ["representationType", ["CrvApiClient::Api::Animals::RepresentationType", XSD::QName.new(NsDictionary, "representationType")], [0, 1]],
1333
+ ["actual", ["CrvApiClient::Api::Animals::BooleanType", XSD::QName.new(NsDictionary, "actual")], [0, 1]]
1334
+ ]
1335
+ )
1336
+
1337
+ LiteralRegistry.register(
1338
+ :class => CrvApiClient::Api::Animals::DomainValue,
1339
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "domainValue"),
1340
+ :schema_element => [
1341
+ ["domainCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "domainCode")]],
1342
+ ["columnValue", "CrvApiClient::Api::Animals::ColumnValue[]", [0, nil]]
1343
+ ]
1344
+ )
1345
+
1346
+ LiteralRegistry.register(
1347
+ :class => CrvApiClient::Api::Animals::ColumnValue,
1348
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "columnValue"),
1349
+ :schema_element => [
1350
+ ["value", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "value")], [0, 1]],
1351
+ ["representation", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "representation")], [0, 1]]
1352
+ ]
1353
+ )
1354
+
1355
+ LiteralRegistry.register(
1356
+ :class => CrvApiClient::Api::Animals::Domain,
1357
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "domain"),
1358
+ :schema_element => [
1359
+ ["domainCode", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "domainCode")], [0, 1]]
1360
+ ]
1361
+ )
1362
+
1363
+ LiteralRegistry.register(
1364
+ :class => CrvApiClient::Api::Animals::TimePeriod,
1365
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "timePeriod"),
1366
+ :schema_element => [
1367
+ ["beginDate", [nil, XSD::QName.new(NsCommon, "beginDate")], [0, 1]],
1368
+ ["beginTime", [nil, XSD::QName.new(NsCommon, "beginTime")], [0, 1]],
1369
+ ["endDate", [nil, XSD::QName.new(NsCommon, "endDate")], [0, 1]],
1370
+ ["endTime", [nil, XSD::QName.new(NsCommon, "endTime")], [0, 1]]
1371
+ ]
1372
+ )
1373
+
1374
+ LiteralRegistry.register(
1375
+ :class => CrvApiClient::Api::Animals::IntervalId,
1376
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "intervalId"),
1377
+ :schema_element => [
1378
+ ["nr", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "nr")]],
1379
+ ["nrType", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "nrType")]]
1380
+ ]
1381
+ )
1382
+
1383
+ LiteralRegistry.register(
1384
+ :class => CrvApiClient::Api::Animals::AnimalNumberCountry,
1385
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "animalNumberCountry"),
1386
+ :schema_element => [
1387
+ ["countryCd", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "countryCd")]],
1388
+ ["animalNrLength", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "animalNrLength")]],
1389
+ ["animalNrAlphanumeric", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "animalNrAlphanumeric")]],
1390
+ ["sortingOrder", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "sortingOrder")]]
1391
+ ]
1392
+ )
1393
+
1394
+ LiteralRegistry.register(
1395
+ :class => CrvApiClient::Api::Animals::HourCode,
1396
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "hourCode"),
1397
+ :schema_element => [
1398
+ ["hourCd", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "hourCd")]],
1399
+ ["description", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "description")]],
1400
+ ["hourMutateAllowed", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "hourMutateAllowed")]],
1401
+ ["hourNecessary", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "hourNecessary")]],
1402
+ ["addressMutateAllowed", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "addressMutateAllowed")]],
1403
+ ["addressNecessary", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "addressNecessary")]],
1404
+ ["activityMutateAllowed", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "activityMutateAllowed")]],
1405
+ ["activityNecessary", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "activityNecessary")]],
1406
+ ["kilometresMutateAllowed", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "kilometresMutateAllowed")]],
1407
+ ["kilometresNecessary", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "kilometresNecessary")]]
1408
+ ]
1409
+ )
1410
+
1411
+ LiteralRegistry.register(
1412
+ :class => CrvApiClient::Api::Animals::Parameter,
1413
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "parameter"),
1414
+ :schema_element => [
1415
+ ["parameterName", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "parameterName")]],
1416
+ ["value", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "value")]],
1417
+ ["valueDescription", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "valueDescription")]],
1418
+ ["default", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "default")]],
1419
+ ["sortingOrder", ["SOAP::SOAPString", XSD::QName.new(NsDictionary, "sortingOrder")]]
1420
+ ]
1421
+ )
1422
+
1423
+ LiteralRegistry.register(
1424
+ :class => CrvApiClient::Api::Animals::AnimalId,
1425
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalId"),
1426
+ :schema_element => [
1427
+ ["animalNumber", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNumber")]],
1428
+ ["animalNumberType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNumberType")], [0, 1]]
1429
+ ]
1430
+ )
1431
+
1432
+ LiteralRegistry.register(
1433
+ :class => CrvApiClient::Api::Animals::AnimalDetailsBirth,
1434
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalDetailsBirth"),
1435
+ :schema_element => [
1436
+ ["animalId", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
1437
+ ["animalNumberShort", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNumberShort")], [0, 1]],
1438
+ ["sex", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "sex")], [0, 1]],
1439
+ ["colourHair", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "colourHair")], [0, 1]],
1440
+ ["birthDate", [nil, XSD::QName.new(NsAnimal, "birthDate")], [0, 1]],
1441
+ ["animalName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalName")], [0, 1]],
1442
+ ["surrogateDam", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
1443
+ ["dam", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
1444
+ ["sire", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
1445
+ ["breedComposition", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "breedComposition")], [0, 1]]
1446
+ ]
1447
+ )
1448
+
1449
+ LiteralRegistry.register(
1450
+ :class => CrvApiClient::Api::Animals::Animal,
1451
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animal"),
1452
+ :schema_element => [
1453
+ ["animalId", "CrvApiClient::Api::Animals::AnimalId"],
1454
+ ["animalNumberShort", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNumberShort")], [0, 1]],
1455
+ ["sex", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "sex")]],
1456
+ ["colourHair", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "colourHair")], [0, 1]],
1457
+ ["birthDate", [nil, XSD::QName.new(NsAnimal, "birthDate")]],
1458
+ ["deathDate", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "deathDate")], [0, 1]],
1459
+ ["animalName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalName")], [0, 1]],
1460
+ ["breedComposition", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "breedComposition")], [0, 1]],
1461
+ ["redFactor", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "redFactor")], [0, 1]]
1462
+ ]
1463
+ )
1464
+
1465
+ LiteralRegistry.register(
1466
+ :class => CrvApiClient::Api::Animals::AnimalManagement,
1467
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalManagement"),
1468
+ :schema_element => [
1469
+ ["animalId", "CrvApiClient::Api::Animals::AnimalId"],
1470
+ ["animalName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalName")], [0, 1]],
1471
+ ["farmersAnimalNr", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "farmersAnimalNr")], [0, 1]],
1472
+ ["animalGroupNr", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalGroupNr")], [0, 1]],
1473
+ ["productionPurposeDate", [nil, XSD::QName.new(NsAnimal, "productionPurposeDate")], [0, 1]],
1474
+ ["productionPurpose", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "productionPurpose")]]
1475
+ ]
1476
+ )
1477
+
1478
+ LiteralRegistry.register(
1479
+ :class => CrvApiClient::Api::Animals::AnimalPedigree,
1480
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalPedigree"),
1481
+ :schema_element => [
1482
+ ["animal", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
1483
+ ["animalNrShort", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalNrShort")], [0, 1]],
1484
+ ["animalName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalName")], [0, 1]],
1485
+ ["farmersAnimalNr", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "farmersAnimalNr")], [0, 1]],
1486
+ ["sex", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "sex")], [0, 1]],
1487
+ ["birthDate", [nil, XSD::QName.new(NsAnimal, "birthDate")], [0, 1]],
1488
+ ["colourHair", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "colourHair")], [0, 1]],
1489
+ ["pedigree", "CrvApiClient::Api::Animals::Pedigree", [0, 1]],
1490
+ ["participantAnimal", "CrvApiClient::Api::Animals::ParticipantAnimalId[]", [0, nil]],
1491
+ ["groupCode", "CrvApiClient::Api::Animals::AnimalGroup[]", [0, nil]]
1492
+ ]
1493
+ )
1494
+
1495
+ LiteralRegistry.register(
1496
+ :class => CrvApiClient::Api::Animals::AnimalSupplyId,
1497
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalSupplyId"),
1498
+ :schema_element => [
1499
+ ["animal", "CrvApiClient::Api::Animals::AnimalId"],
1500
+ ["supplyType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyType")]],
1501
+ ["supplyCd", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyCd")]],
1502
+ ["plannedDepartureDate", [nil, XSD::QName.new(NsAnimal, "plannedDepartureDate")], [0, 1]],
1503
+ ["trader", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
1504
+ ["destination", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]]
1505
+ ]
1506
+ )
1507
+
1508
+ LiteralRegistry.register(
1509
+ :class => CrvApiClient::Api::Animals::Addresses,
1510
+ :schema_type => XSD::QName.new(NsAnimalTypes, "addresses"),
1511
+ :schema_element => [
1512
+ ["participant", "CrvApiClient::Api::Animals::Participant[]", [0, nil]],
1513
+ ["address", "CrvApiClient::Api::Animals::Address[]", [0, nil]],
1514
+ ["trader", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]]
1515
+ ]
1516
+ )
1517
+
1518
+ LiteralRegistry.register(
1519
+ :class => CrvApiClient::Api::Animals::AnimalArrivalDetail,
1520
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalArrivalDetail"),
1521
+ :schema_element => [
1522
+ ["animalId", "CrvApiClient::Api::Animals::AnimalId[]", [1, nil]],
1523
+ ["plannedArrivalDetail", "CrvApiClient::Api::Animals::PlannedArrivalDetail"]
1524
+ ]
1525
+ )
1526
+
1527
+ LiteralRegistry.register(
1528
+ :class => CrvApiClient::Api::Animals::AverageHerdWeight,
1529
+ :schema_type => XSD::QName.new(NsAnimalTypes, "averageHerdWeight"),
1530
+ :schema_element => [
1531
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
1532
+ ["referencePeriod", "CrvApiClient::Api::Animals::TimePeriod"],
1533
+ ["herdWeightCategoryResult", "CrvApiClient::Api::Animals::HerdWeightCategory[]", [1, nil]]
1534
+ ]
1535
+ )
1536
+
1537
+ LiteralRegistry.register(
1538
+ :class => CrvApiClient::Api::Animals::BreedFraction,
1539
+ :schema_type => XSD::QName.new(NsAnimalTypes, "breedFraction"),
1540
+ :schema_element => [
1541
+ ["breed", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "breed")]],
1542
+ ["fraction", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "fraction")]]
1543
+ ]
1544
+ )
1545
+
1546
+ LiteralRegistry.register(
1547
+ :class => CrvApiClient::Api::Animals::BullDetails,
1548
+ :schema_type => XSD::QName.new(NsAnimalTypes, "bullDetails"),
1549
+ :schema_element => [
1550
+ ["bullId", "CrvApiClient::Api::Animals::AnimalId"],
1551
+ ["aiCode", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
1552
+ ["bullName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "bullName")], [0, 1]],
1553
+ ["bullShortName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "bullShortName")], [0, 1]],
1554
+ ["birthDate", [nil, XSD::QName.new(NsAnimal, "birthDate")], [0, 1]],
1555
+ ["colourHair", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "colourHair")], [0, 1]]
1556
+ ]
1557
+ )
1558
+
1559
+ LiteralRegistry.register(
1560
+ :class => CrvApiClient::Api::Animals::ColourCode,
1561
+ :schema_type => XSD::QName.new(NsAnimalTypes, "colourCode"),
1562
+ :schema_element => [
1563
+ ["countryCode", "SOAP::SOAPString"],
1564
+ ["colourCode", "SOAP::SOAPString"]
1565
+ ]
1566
+ )
1567
+
1568
+ LiteralRegistry.register(
1569
+ :class => CrvApiClient::Api::Animals::ChainValue,
1570
+ :schema_type => XSD::QName.new(NsAnimalTypes, "chainValue"),
1571
+ :schema_element => [
1572
+ ["chainType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "chainType")]],
1573
+ ["chainVersion", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "chainVersion")]],
1574
+ ["chainRowValue", "CrvApiClient::Api::Animals::ChainRowValue[]", [0, nil]]
1575
+ ]
1576
+ )
1577
+
1578
+ LiteralRegistry.register(
1579
+ :class => CrvApiClient::Api::Animals::ChainRowValue,
1580
+ :schema_type => XSD::QName.new(NsAnimalTypes, "chainRowValue"),
1581
+ :schema_element => [
1582
+ ["rowCd", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "rowCd")]],
1583
+ ["rowValue", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "rowValue")]]
1584
+ ]
1585
+ )
1586
+
1587
+ LiteralRegistry.register(
1588
+ :class => CrvApiClient::Api::Animals::DateReason,
1589
+ :schema_type => XSD::QName.new(NsAnimalTypes, "dateReason"),
1590
+ :schema_element => [
1591
+ ["date", [nil, XSD::QName.new(NsCommon, "date")]],
1592
+ ["reason", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "reason")], [0, 1]]
1593
+ ]
1594
+ )
1595
+
1596
+ LiteralRegistry.register(
1597
+ :class => CrvApiClient::Api::Animals::AnimalGroup,
1598
+ :schema_type => XSD::QName.new(NsAnimalTypes, "animalGroup"),
1599
+ :schema_element => [
1600
+ ["animalGroupType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalGroupType")]],
1601
+ ["animalGroupCode", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalGroupCode")]],
1602
+ ["animalGroupName", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "animalGroupName")], [0, 1]]
1603
+ ]
1604
+ )
1605
+
1606
+ LiteralRegistry.register(
1607
+ :class => CrvApiClient::Api::Animals::HerdWeightCategory,
1608
+ :schema_type => XSD::QName.new(NsAnimalTypes, "herdWeightCategory"),
1609
+ :schema_element => [
1610
+ ["categoryCd", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "categoryCd")]],
1611
+ ["avgNoAnimals", [nil, XSD::QName.new(NsAnimal, "avgNoAnimals")]],
1612
+ ["avgWeightAnimals", [nil, XSD::QName.new(NsAnimal, "avgWeightAnimals")]]
1613
+ ]
1614
+ )
1615
+
1616
+ LiteralRegistry.register(
1617
+ :class => CrvApiClient::Api::Animals::ListParticipantAnimalRequest,
1618
+ :schema_type => XSD::QName.new(NsAnimalTypes, "listParticipantAnimalRequest"),
1619
+ :schema_element => [
1620
+ ["listType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "listType")], [0, 1]],
1621
+ ["participantAnimalRequest", "CrvApiClient::Api::Animals::ParticipantAnimalRequest[]", [1, nil]]
1622
+ ]
1623
+ )
1624
+
1625
+ LiteralRegistry.register(
1626
+ :class => CrvApiClient::Api::Animals::ParticipantAnimalId,
1627
+ :schema_type => XSD::QName.new(NsAnimalTypes, "participantAnimalId"),
1628
+ :schema_element => [
1629
+ ["numberType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "numberType")]],
1630
+ ["numberSubType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "numberSubType")]],
1631
+ ["participantAnimalNr", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "participantAnimalNr")]]
1632
+ ]
1633
+ )
1634
+
1635
+ LiteralRegistry.register(
1636
+ :class => CrvApiClient::Api::Animals::ParticipantAnimalRequest,
1637
+ :schema_type => XSD::QName.new(NsAnimalTypes, "participantAnimalRequest"),
1638
+ :schema_element => [
1639
+ ["numberType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "numberType")]],
1640
+ ["numberSubType", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "numberSubType")]]
1641
+ ]
1642
+ )
1643
+
1644
+ LiteralRegistry.register(
1645
+ :class => CrvApiClient::Api::Animals::PeriodRange_,
1646
+ :schema_type => XSD::QName.new(NsAnimalTypes, "periodRange"),
1647
+ :schema_element => [
1648
+ ["beginDate", [nil, XSD::QName.new(NsCommon, "beginDate")]],
1649
+ ["endDate", [nil, XSD::QName.new(NsCommon, "endDate")]]
1650
+ ]
1651
+ )
1652
+
1653
+ LiteralRegistry.register(
1654
+ :class => CrvApiClient::Api::Animals::PlannedArrivalDetail,
1655
+ :schema_type => XSD::QName.new(NsAnimalTypes, "plannedArrivalDetail"),
1656
+ :schema_element => [
1657
+ ["supplyCd", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "supplyCd")]],
1658
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId"],
1659
+ ["plannedDepartureDate", [nil, XSD::QName.new(NsAnimal, "plannedDepartureDate")], [0, 1]],
1660
+ ["foodChainInfo", ["CrvApiClient::Api::Animals::BooleanType", XSD::QName.new(NsAnimal, "foodChainInfo")], [0, 1]],
1661
+ ["foodChainInfoStandard", ["CrvApiClient::Api::Animals::BooleanType", XSD::QName.new(NsAnimal, "foodChainInfoStandard")], [0, 1]],
1662
+ ["trader", "CrvApiClient::Api::Animals::ParticipantId"],
1663
+ ["loadGroup", ["SOAP::SOAPString", XSD::QName.new(NsAnimal, "loadGroup")], [0, 1]],
1664
+ ["destination", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
1665
+ ["plannedDeliveryDateTime", [nil, XSD::QName.new(NsAnimal, "plannedDeliveryDateTime")], [0, 1]]
1666
+ ]
1667
+ )
1668
+
1669
+ LiteralRegistry.register(
1670
+ :class => CrvApiClient::Api::Animals::Pedigree,
1671
+ :schema_type => XSD::QName.new(NsAnimalTypes, "pedigree"),
1672
+ :schema_element => [
1673
+ ["sire", "CrvApiClient::Api::Animals::Animal", [0, 1]],
1674
+ ["dam", "CrvApiClient::Api::Animals::Animal", [0, 1]]
1675
+ ]
1676
+ )
1677
+
1678
+ LiteralRegistry.register(
1679
+ :class => CrvApiClient::Api::Animals::PlannedArrival,
1680
+ :schema_type => XSD::QName.new(NsAnimalTypes, "plannedArrival"),
1681
+ :schema_element => [
1682
+ ["animal", "CrvApiClient::Api::Animals::Animal[]", [0, nil]],
1683
+ ["plannedArrivalDetail", "CrvApiClient::Api::Animals::PlannedArrivalDetail"],
1684
+ ["breedFraction", "CrvApiClient::Api::Animals::BreedFraction[]", [1, nil]]
1685
+ ]
1686
+ )
1687
+
1688
+ LiteralRegistry.register(
1689
+ :class => CrvApiClient::Api::Animals::ParticipantId,
1690
+ :schema_type => XSD::QName.new(NsParticipantTypes, "participantId"),
1691
+ :schema_element => [
1692
+ ["participantCode", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "participantCode")]],
1693
+ ["participantCodeType", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "participantCodeType")]],
1694
+ ["countryCode", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "countryCode")], [0, 1]]
1695
+ ]
1696
+ )
1697
+
1698
+ LiteralRegistry.register(
1699
+ :class => CrvApiClient::Api::Animals::NameAddressLayout,
1700
+ :schema_type => XSD::QName.new(NsParticipantTypes, "nameAddressLayout"),
1701
+ :schema_element => [
1702
+ ["addressType", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressType")], [0, 1]],
1703
+ ["participantName", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "participantName")], [0, 1]],
1704
+ ["addressLine1", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine1")], [0, 1]],
1705
+ ["addressLine2", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine2")], [0, 1]],
1706
+ ["addressLine3", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine3")], [0, 1]],
1707
+ ["addressLine4", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine4")], [0, 1]],
1708
+ ["addressLine5", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine5")], [0, 1]],
1709
+ ["addressLine6", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressLine6")], [0, 1]]
1710
+ ]
1711
+ )
1712
+
1713
+ LiteralRegistry.register(
1714
+ :class => CrvApiClient::Api::Animals::Address,
1715
+ :schema_type => XSD::QName.new(NsParticipantTypes, "address"),
1716
+ :schema_element => [
1717
+ ["addressType", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "addressType")]],
1718
+ ["street", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "street")]],
1719
+ ["houseNr", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "houseNr")], [0, 1]],
1720
+ ["zipCd", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "zipCd")], [0, 1]],
1721
+ ["city", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "city")]],
1722
+ ["regionCd", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "regionCd")], [0, 1]],
1723
+ ["country", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "country")], [0, 1]],
1724
+ ["countryCd", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "countryCd")], [0, 1]]
1725
+ ]
1726
+ )
1727
+
1728
+ LiteralRegistry.register(
1729
+ :class => CrvApiClient::Api::Animals::Participant,
1730
+ :schema_type => XSD::QName.new(NsParticipantTypes, "participant"),
1731
+ :schema_element => [
1732
+ ["participant", "CrvApiClient::Api::Animals::ParticipantId"],
1733
+ ["preTitle", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "preTitle")], [0, 1]],
1734
+ ["initials", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "initials")], [0, 1]],
1735
+ ["firstname", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "firstname")], [0, 1]],
1736
+ ["prefix", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "prefix")], [0, 1]],
1737
+ ["surname", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "surname")], [0, 1]],
1738
+ ["postTitle", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "postTitle")], [0, 1]],
1739
+ ["composedName", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "composedName")], [0, 1]]
1740
+ ]
1741
+ )
1742
+
1743
+ LiteralRegistry.register(
1744
+ :class => CrvApiClient::Api::Animals::ConnectionDataBasic,
1745
+ :schema_type => XSD::QName.new(NsParticipantTypes, "connectionDataBasic"),
1746
+ :schema_element => [
1747
+ ["emailAddress", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "emailAddress")], [0, 1]],
1748
+ ["phoneNr", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "phoneNr")], [0, 1]],
1749
+ ["mobilePhone", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "mobilePhone")], [0, 1]]
1750
+ ]
1751
+ )
1752
+
1753
+ LiteralRegistry.register(
1754
+ :class => CrvApiClient::Api::Animals::Connection,
1755
+ :schema_type => XSD::QName.new(NsParticipantTypes, "connection"),
1756
+ :schema_element => [
1757
+ ["connectionType", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "connectionType")]],
1758
+ ["connection", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "connection")], [0, 1]],
1759
+ ["connectionUse", ["SOAP::SOAPString", XSD::QName.new(NsParticipant, "connectionUse")], [0, 1]]
1760
+ ]
1761
+ )
1762
+
1763
+ LiteralRegistry.register(
1764
+ :class => CrvApiClient::Api::Animals::ParticipantBasic,
1765
+ :schema_type => XSD::QName.new(NsParticipantTypes, "participantBasic"),
1766
+ :schema_element => [
1767
+ ["participant", "CrvApiClient::Api::Animals::Participant"],
1768
+ ["address", "CrvApiClient::Api::Animals::Address[]", [0, nil]],
1769
+ ["connectionDataBasic", "CrvApiClient::Api::Animals::ConnectionDataBasic", [0, 1]]
1770
+ ]
1771
+ )
1772
+
1773
+ LiteralRegistry.register(
1774
+ :class => CrvApiClient::Api::Animals::ParticipantComplete,
1775
+ :schema_type => XSD::QName.new(NsParticipantTypes, "participantComplete"),
1776
+ :schema_element => [
1777
+ ["participant", "CrvApiClient::Api::Animals::Participant"],
1778
+ ["address", "CrvApiClient::Api::Animals::Address[]", [0, nil]],
1779
+ ["connection", "CrvApiClient::Api::Animals::Connection[]", [0, nil]]
1780
+ ]
1781
+ )
1782
+
1783
+ LiteralRegistry.register(
1784
+ :class => CrvApiClient::Api::Animals::ActualKeeper,
1785
+ :schema_type => XSD::QName.new(NsParticipantTypes, "actualKeeper"),
1786
+ :schema_element => [
1787
+ ["participant", "CrvApiClient::Api::Animals::ParticipantId"],
1788
+ ["nameAddressLayout", "CrvApiClient::Api::Animals::NameAddressLayout"]
1789
+ ]
1790
+ )
1791
+
1792
+ LiteralRegistry.register(
1793
+ :class => CrvApiClient::Api::Animals::BooleanType,
1794
+ :schema_type => XSD::QName.new(NsCommonTypes, "booleanType")
1795
+ )
1796
+
1797
+ LiteralRegistry.register(
1798
+ :class => CrvApiClient::Api::Animals::NotificationType,
1799
+ :schema_type => XSD::QName.new(NsCommonTypes, "notificationType")
1800
+ )
1801
+
1802
+ LiteralRegistry.register(
1803
+ :class => CrvApiClient::Api::Animals::RepresentationType,
1804
+ :schema_type => XSD::QName.new(NsDictionaryTypes, "representationType")
1805
+ )
1806
+
1807
+ LiteralRegistry.register(
1808
+ :class => CrvApiClient::Api::Animals::CountryCode,
1809
+ :schema_type => XSD::QName.new(NsAnimalTypes, "countryCode")
1810
+ )
1811
+
1812
+ LiteralRegistry.register(
1813
+ :class => CrvApiClient::Api::Animals::KeeperType,
1814
+ :schema_type => XSD::QName.new(NsAnimalTypes, "keeperType")
1815
+ )
1816
+
1817
+ LiteralRegistry.register(
1818
+ :class => CrvApiClient::Api::Animals::Sex,
1819
+ :schema_type => XSD::QName.new(NsAnimalTypes, "sex")
1820
+ )
1821
+
1822
+ LiteralRegistry.register(
1823
+ :class => CrvApiClient::Api::Animals::ModifyAnimalManagementRequest,
1824
+ :schema_name => XSD::QName.new(NsAnimalMessages, "modifyAnimalManagementRequest"),
1825
+ :schema_element => [
1826
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1827
+ ["requestMessage", "CrvApiClient::Api::Animals::ModifyAnimalManagementRequestType"]
1828
+ ]
1829
+ )
1830
+
1831
+ LiteralRegistry.register(
1832
+ :class => CrvApiClient::Api::Animals::ModifyAnimalManagementResponse,
1833
+ :schema_name => XSD::QName.new(NsAnimalMessages, "modifyAnimalManagementResponse"),
1834
+ :schema_element => [
1835
+ ["responseMessage", "SOAP::SOAPString", [0, 1]],
1836
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1837
+ ]
1838
+ )
1839
+
1840
+ LiteralRegistry.register(
1841
+ :class => CrvApiClient::Api::Animals::AddPlannedDepartureRequest,
1842
+ :schema_name => XSD::QName.new(NsAnimalMessages, "addPlannedDepartureRequest"),
1843
+ :schema_element => [
1844
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1845
+ ["requestMessage", "CrvApiClient::Api::Animals::AddPlannedDepartureRequestType"]
1846
+ ]
1847
+ )
1848
+
1849
+ LiteralRegistry.register(
1850
+ :class => CrvApiClient::Api::Animals::AddPlannedDepartureResponse,
1851
+ :schema_name => XSD::QName.new(NsAnimalMessages, "addPlannedDepartureResponse"),
1852
+ :schema_element => [
1853
+ ["responseMessage", "SOAP::SOAPString", [0, 1]],
1854
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1855
+ ]
1856
+ )
1857
+
1858
+ LiteralRegistry.register(
1859
+ :class => CrvApiClient::Api::Animals::DeletePlannedDepartureRequest,
1860
+ :schema_name => XSD::QName.new(NsAnimalMessages, "deletePlannedDepartureRequest"),
1861
+ :schema_element => [
1862
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1863
+ ["requestMessage", "CrvApiClient::Api::Animals::DeletePlannedDepartureRequestType"]
1864
+ ]
1865
+ )
1866
+
1867
+ LiteralRegistry.register(
1868
+ :class => CrvApiClient::Api::Animals::DeletePlannedDepartureResponse,
1869
+ :schema_name => XSD::QName.new(NsAnimalMessages, "deletePlannedDepartureResponse"),
1870
+ :schema_element => [
1871
+ ["responseMessage", "SOAP::SOAPString", [0, 1]],
1872
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1873
+ ]
1874
+ )
1875
+
1876
+ LiteralRegistry.register(
1877
+ :class => CrvApiClient::Api::Animals::GetAverageHerdWeightRequest,
1878
+ :schema_name => XSD::QName.new(NsAnimalMessages, "getAverageHerdWeightRequest"),
1879
+ :schema_element => [
1880
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1881
+ ["requestMessage", "CrvApiClient::Api::Animals::GetAverageHerdWeightRequestType"]
1882
+ ]
1883
+ )
1884
+
1885
+ LiteralRegistry.register(
1886
+ :class => CrvApiClient::Api::Animals::GetAverageHerdWeightResponse,
1887
+ :schema_name => XSD::QName.new(NsAnimalMessages, "getAverageHerdWeightResponse"),
1888
+ :schema_element => [
1889
+ ["responseMessage", "CrvApiClient::Api::Animals::GetAverageHerdWeightResponseType", [0, 1]],
1890
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1891
+ ]
1892
+ )
1893
+
1894
+ LiteralRegistry.register(
1895
+ :class => CrvApiClient::Api::Animals::ListPlannedDepartureRequest,
1896
+ :schema_name => XSD::QName.new(NsAnimalMessages, "listPlannedDepartureRequest"),
1897
+ :schema_element => [
1898
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1899
+ ["requestMessage", "CrvApiClient::Api::Animals::ListPlannedDepartureRequestType"]
1900
+ ]
1901
+ )
1902
+
1903
+ LiteralRegistry.register(
1904
+ :class => CrvApiClient::Api::Animals::ListPlannedDepartureResponse,
1905
+ :schema_name => XSD::QName.new(NsAnimalMessages, "listPlannedDepartureResponse"),
1906
+ :schema_element => [
1907
+ ["responseMessage", "CrvApiClient::Api::Animals::ListPlannedDepartureResponseType", [0, 1]],
1908
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1909
+ ]
1910
+ )
1911
+
1912
+ LiteralRegistry.register(
1913
+ :class => CrvApiClient::Api::Animals::ListFoodChainInformationRequest,
1914
+ :schema_name => XSD::QName.new(NsAnimalMessages, "listFoodChainInformationRequest"),
1915
+ :schema_element => [
1916
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1917
+ ["requestMessage", "CrvApiClient::Api::Animals::ListFoodChainInformationRequestType"]
1918
+ ]
1919
+ )
1920
+
1921
+ LiteralRegistry.register(
1922
+ :class => CrvApiClient::Api::Animals::ListFoodChainInformationResponse,
1923
+ :schema_name => XSD::QName.new(NsAnimalMessages, "listFoodChainInformationResponse"),
1924
+ :schema_element => [
1925
+ ["responseMessage", "CrvApiClient::Api::Animals::ListFoodChainInformationResponseType", [0, 1]],
1926
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1927
+ ]
1928
+ )
1929
+
1930
+ LiteralRegistry.register(
1931
+ :class => CrvApiClient::Api::Animals::ListPlannedArrivalRequest,
1932
+ :schema_name => XSD::QName.new(NsAnimalMessages, "listPlannedArrivalRequest"),
1933
+ :schema_element => [
1934
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1935
+ ["requestMessage", "CrvApiClient::Api::Animals::ListPlannedArrivalRequestType"]
1936
+ ]
1937
+ )
1938
+
1939
+ LiteralRegistry.register(
1940
+ :class => CrvApiClient::Api::Animals::ListPlannedArrivalResponse,
1941
+ :schema_name => XSD::QName.new(NsAnimalMessages, "listPlannedArrivalResponse"),
1942
+ :schema_element => [
1943
+ ["responseMessage", "CrvApiClient::Api::Animals::ListPlannedArrivalResponseType", [0, 1]],
1944
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1945
+ ]
1946
+ )
1947
+
1948
+ LiteralRegistry.register(
1949
+ :class => CrvApiClient::Api::Animals::ModifyPlannedArrivalRequest,
1950
+ :schema_name => XSD::QName.new(NsAnimalMessages, "modifyPlannedArrivalRequest"),
1951
+ :schema_element => [
1952
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1953
+ ["requestMessage", "CrvApiClient::Api::Animals::ModifyPlannedArrivalRequestType"]
1954
+ ]
1955
+ )
1956
+
1957
+ LiteralRegistry.register(
1958
+ :class => CrvApiClient::Api::Animals::ModifyPlannedArrivalResponse,
1959
+ :schema_name => XSD::QName.new(NsAnimalMessages, "modifyPlannedArrivalResponse"),
1960
+ :schema_element => [
1961
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1962
+ ]
1963
+ )
1964
+
1965
+ LiteralRegistry.register(
1966
+ :class => CrvApiClient::Api::Animals::ListHerdPedigreeRequest,
1967
+ :schema_name => XSD::QName.new(NsAnimalMessages, "listHerdPedigreeRequest"),
1968
+ :schema_element => [
1969
+ ["contextMessage", "CrvApiClient::Api::Animals::ContextMessage"],
1970
+ ["requestMessage", "CrvApiClient::Api::Animals::ListHerdPedigreeRequestType"]
1971
+ ]
1972
+ )
1973
+
1974
+ LiteralRegistry.register(
1975
+ :class => CrvApiClient::Api::Animals::ListHerdPedigreeResponse,
1976
+ :schema_name => XSD::QName.new(NsAnimalMessages, "listHerdPedigreeResponse"),
1977
+ :schema_element => [
1978
+ ["responseMessage", "CrvApiClient::Api::Animals::ListHerdPedigreeResponseType", [0, 1]],
1979
+ ["serviceMessage", "CrvApiClient::Api::Animals::ServiceMessage"]
1980
+ ]
1981
+ )
1982
+
1983
+ LiteralRegistry.register(
1984
+ :class => CrvApiClient::Api::Animals::ServiceMessage,
1985
+ :schema_name => XSD::QName.new(NsCommonTypes, "serviceMessage"),
1986
+ :schema_element => [
1987
+ ["serviceStatus", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "serviceStatus")]],
1988
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageCode")], [0, 1]],
1989
+ ["messageText", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageText")], [0, 1]],
1990
+ ["messageType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageType")], [0, 1]],
1991
+ ["sourceType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sourceType")], [0, 1]],
1992
+ ["sourceCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sourceCode")], [0, 1]],
1993
+ ["serviceMessageDetail", "CrvApiClient::Api::Animals::ServiceMessageDetail[]", [0, nil]]
1994
+ ]
1995
+ )
1996
+
1997
+ LiteralRegistry.register(
1998
+ :class => CrvApiClient::Api::Animals::ServiceMessageDetail,
1999
+ :schema_name => XSD::QName.new(NsCommonTypes, "serviceMessageDetail"),
2000
+ :schema_element => [
2001
+ ["serviceStatus", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "serviceStatus")], [0, 1]],
2002
+ ["codeDetail", "CrvApiClient::Api::Animals::CodeDetail[]", [0, nil]],
2003
+ ["messageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageCode")], [0, 1]],
2004
+ ["messageText", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageText")], [0, 1]],
2005
+ ["messageType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageType")], [0, 1]]
2006
+ ]
2007
+ )
2008
+
2009
+ LiteralRegistry.register(
2010
+ :class => CrvApiClient::Api::Animals::ContextMessage,
2011
+ :schema_name => XSD::QName.new(NsCommonTypes, "contextMessage"),
2012
+ :schema_element => [
2013
+ ["sessionId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "sessionId")], [0, 1]],
2014
+ ["processId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "processId")], [0, 1]],
2015
+ ["instanceId", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "instanceId")], [0, 1]],
2016
+ ["username", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "username")], [0, 1]],
2017
+ ["userType", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "userType")], [0, 1]],
2018
+ ["password", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "password")], [0, 1]],
2019
+ ["organisation", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
2020
+ ["provider", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
2021
+ ["customer", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
2022
+ ["keeper", "CrvApiClient::Api::Animals::ParticipantId", [0, 1]],
2023
+ ["animal", "CrvApiClient::Api::Animals::AnimalId", [0, 1]],
2024
+ ["processCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "processCode")], [0, 1]],
2025
+ ["messageSource", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "messageSource")], [0, 1]],
2026
+ ["languageCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "languageCode")], [0, 1]],
2027
+ ["timeZone", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "timeZone")], [0, 1]],
2028
+ ["contextMessageDetail", "CrvApiClient::Api::Animals::ContextMessageDetail[]", [0, nil]]
2029
+ ]
2030
+ )
2031
+
2032
+ LiteralRegistry.register(
2033
+ :class => CrvApiClient::Api::Animals::ContextMessageDetail,
2034
+ :schema_name => XSD::QName.new(NsCommonTypes, "contextMessageDetail"),
2035
+ :schema_element => [
2036
+ ["contextCode", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "contextCode")], [0, 1]],
2037
+ ["contextValue", ["SOAP::SOAPString", XSD::QName.new(NsCommon, "contextValue")], [0, 1]]
2038
+ ]
2039
+ )
2040
+
2041
+ LiteralRegistry.register(
2042
+ :class => CrvApiClient::Api::Animals::BooleanType,
2043
+ :schema_name => XSD::QName.new(NsCommon, "actual")
2044
+ )
2045
+
2046
+ LiteralRegistry.register(
2047
+ :class => CrvApiClient::Api::Animals::NotificationType,
2048
+ :schema_name => XSD::QName.new(NsCommon, "notificationType")
2049
+ )
2050
+
2051
+ LiteralRegistry.register(
2052
+ :class => CrvApiClient::Api::Animals::BooleanType,
2053
+ :schema_name => XSD::QName.new(NsDictionary, "actual")
2054
+ )
2055
+
2056
+ LiteralRegistry.register(
2057
+ :class => CrvApiClient::Api::Animals::RepresentationType,
2058
+ :schema_name => XSD::QName.new(NsDictionary, "representationType")
2059
+ )
2060
+
2061
+ LiteralRegistry.register(
2062
+ :class => CrvApiClient::Api::Animals::BooleanType,
2063
+ :schema_name => XSD::QName.new(NsAnimal, "IBR")
2064
+ )
2065
+
2066
+ LiteralRegistry.register(
2067
+ :class => CrvApiClient::Api::Animals::BooleanType,
2068
+ :schema_name => XSD::QName.new(NsAnimal, "foodChainInfo")
2069
+ )
2070
+
2071
+ LiteralRegistry.register(
2072
+ :class => CrvApiClient::Api::Animals::BooleanType,
2073
+ :schema_name => XSD::QName.new(NsAnimal, "foodChainInfoStandard")
2074
+ )
2075
+
2076
+ LiteralRegistry.register(
2077
+ :class => CrvApiClient::Api::Animals::BooleanType,
2078
+ :schema_name => XSD::QName.new(NsAnimal, "generalTermsConditions")
2079
+ )
2080
+
2081
+ end
2082
+ end