~davewalker/ubuntu/maverick/eucalyptus/lp611144

« back to all changes in this revision

Viewing changes to gatherlog/generated/adb_getKeysResponseType.c

  • Committer: Dustin Kirkland
  • Date: 2010-07-22 08:41:57 UTC
  • mfrom: (1050.1.19 ubuntu)
  • Revision ID: kirkland@x200-20100722084157-zh2p8dkawznvxxpn
Approving Dave Walker's merge of new upstream Eucalyptus 2.0 release.

Dustin Kirkland <kirkland@canonical.com>

* New major upstream version merge, 2.0 (r1211).
  - 01-wsdl-stubs.patch, debian/wsdl.md5sums: wsdl stubs updated.
  - 11-state-cleanup-memleakfix.patch: Removed, fixed upstream.
  - 21-eucalyptus-1.7-with-gwt-1.6.4.patch: New patch, allows 
    eucalyptus-1.7 to be built against gwt 1.6.4. Based on patch courtesy 
    of Dmitrii Zagorodnov, upstream. (LP: #597330)
* debian/eucalyptus-java-common.links: 
  - Changed symlink for groovy, point to groovy.all.jar, making compatiable 
    with groovy versions >1.7. (LP: #595421)
  - Added ant.jar & jetty-rewrite-handler.jar as they are now required.
* debian/control
  - & debian/build-jars: Added libjavassist-java and libjetty-extra-java as 
    build dependencies.
  - Added libjetty-extra-java as a dependency of eucalyptus-java-common
* The binary resulting jar's have been renamed from eucalyptus-*-1.6.2.jar
  to eucalyptus-*-main.jar:    
  - debian/eucalyptus-cc.upstart
  - debian/eucalyptus-cloud.install
  - debian/eucalyptus-common.eucalyptus.upstart
  - debian/eucalyptus-java-common.install
  - debian/eucalyptus-network.upstart
  - debian/eucalyptus-sc.install
  - debian/eucalyptus-walrus.install
* debian/eucalyptus-java-common.install: New upstream jars that have been
  installed:
  - eucalyptus-db-hsqldb-ext-main.jar
  - eucalyptus-component-main.jar
* debian/control:
  - Updated Standards Version to 3.8.4 (no change)
  - Updated the upstream Homepage to: http://open.eucalyptus.com/
  - Changed Vcs-Bzr to reflect new location of Ubuntu hosted development branch.
  - Made the Build Dependency of groovy and the binary eucalyptus-java-common
    package depend on version >=1.7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
 
3
 
        /**
4
 
         * adb_getKeysResponseType.c
5
 
         *
6
 
         * This file was auto-generated from WSDL
7
 
         * by the Apache Axis2/C version: SNAPSHOT  Built on : Mar 10, 2008 (08:35:52 GMT+00:00)
8
 
         */
9
 
 
10
 
        #include "adb_getKeysResponseType.h"
11
 
 
12
 
                /*
13
 
                 * This type was generated from the piece of schema that had
14
 
                 * name = getKeysResponseType
15
 
                 * Namespace URI = http://eucalyptus.ucsb.edu/
16
 
                 * Namespace Prefix = ns1
17
 
                 */
18
 
 
19
 
 
20
 
 
21
 
        struct adb_getKeysResponseType
22
 
        {
23
 
            axis2_char_t* property_correlationId;
24
 
 
25
 
 
26
 
                axis2_bool_t is_valid_correlationId;
27
 
 
28
 
 
29
 
            axis2_char_t* property_userId;
30
 
 
31
 
 
32
 
                axis2_bool_t is_valid_userId;
33
 
 
34
 
 
35
 
            axis2_char_t* property_statusMessage;
36
 
 
37
 
 
38
 
                axis2_bool_t is_valid_statusMessage;
39
 
 
40
 
 
41
 
            axis2_bool_t property_return;
42
 
 
43
 
 
44
 
                axis2_bool_t is_valid_return;
45
 
 
46
 
 
47
 
            axis2_char_t* property_serviceTag;
48
 
 
49
 
 
50
 
                axis2_bool_t is_valid_serviceTag;
51
 
 
52
 
 
53
 
            axis2_char_t* property_CCcert;
54
 
 
55
 
 
56
 
                axis2_bool_t is_valid_CCcert;
57
 
 
58
 
 
59
 
            axis2_char_t* property_NCcert;
60
 
 
61
 
 
62
 
                axis2_bool_t is_valid_NCcert;
63
 
 
64
 
 
65
 
 
66
 
        };
67
 
 
68
 
 
69
 
       /************************* Private Function prototypes ********************************/
70
 
 
71
 
 
72
 
                axis2_status_t AXIS2_CALL
73
 
                adb_getKeysResponseType_set_correlationId_nil(
74
 
                        adb_getKeysResponseType_t* _getKeysResponseType,
75
 
                        const axutil_env_t *env);
76
 
 
77
 
 
78
 
                axis2_status_t AXIS2_CALL
79
 
                adb_getKeysResponseType_set_userId_nil(
80
 
                        adb_getKeysResponseType_t* _getKeysResponseType,
81
 
                        const axutil_env_t *env);
82
 
 
83
 
 
84
 
                axis2_status_t AXIS2_CALL
85
 
                adb_getKeysResponseType_set_return_nil(
86
 
                        adb_getKeysResponseType_t* _getKeysResponseType,
87
 
                        const axutil_env_t *env);
88
 
 
89
 
 
90
 
                axis2_status_t AXIS2_CALL
91
 
                adb_getKeysResponseType_set_serviceTag_nil(
92
 
                        adb_getKeysResponseType_t* _getKeysResponseType,
93
 
                        const axutil_env_t *env);
94
 
 
95
 
 
96
 
                axis2_status_t AXIS2_CALL
97
 
                adb_getKeysResponseType_set_CCcert_nil(
98
 
                        adb_getKeysResponseType_t* _getKeysResponseType,
99
 
                        const axutil_env_t *env);
100
 
 
101
 
 
102
 
                axis2_status_t AXIS2_CALL
103
 
                adb_getKeysResponseType_set_NCcert_nil(
104
 
                        adb_getKeysResponseType_t* _getKeysResponseType,
105
 
                        const axutil_env_t *env);
106
 
 
107
 
 
108
 
 
109
 
       /************************* Function Implmentations ********************************/
110
 
        adb_getKeysResponseType_t* AXIS2_CALL
111
 
        adb_getKeysResponseType_create(
112
 
            const axutil_env_t *env)
113
 
        {
114
 
            adb_getKeysResponseType_t *_getKeysResponseType = NULL;
115
 
 
116
 
            AXIS2_ENV_CHECK(env, NULL);
117
 
 
118
 
            _getKeysResponseType = (adb_getKeysResponseType_t *) AXIS2_MALLOC(env->
119
 
                allocator, sizeof(adb_getKeysResponseType_t));
120
 
 
121
 
            if(NULL == _getKeysResponseType)
122
 
            {
123
 
                AXIS2_ERROR_SET(env->error, AXIS2_ERROR_NO_MEMORY, AXIS2_FAILURE);
124
 
                return NULL;
125
 
            }
126
 
 
127
 
            memset(_getKeysResponseType, 0, sizeof(adb_getKeysResponseType_t));
128
 
 
129
 
            _getKeysResponseType->property_correlationId  = NULL;
130
 
                  _getKeysResponseType->is_valid_correlationId  = AXIS2_FALSE;
131
 
            _getKeysResponseType->property_userId  = NULL;
132
 
                  _getKeysResponseType->is_valid_userId  = AXIS2_FALSE;
133
 
            _getKeysResponseType->property_statusMessage  = NULL;
134
 
                  _getKeysResponseType->is_valid_statusMessage  = AXIS2_FALSE;
135
 
            _getKeysResponseType->is_valid_return  = AXIS2_FALSE;
136
 
            _getKeysResponseType->property_serviceTag  = NULL;
137
 
                  _getKeysResponseType->is_valid_serviceTag  = AXIS2_FALSE;
138
 
            _getKeysResponseType->property_CCcert  = NULL;
139
 
                  _getKeysResponseType->is_valid_CCcert  = AXIS2_FALSE;
140
 
            _getKeysResponseType->property_NCcert  = NULL;
141
 
                  _getKeysResponseType->is_valid_NCcert  = AXIS2_FALSE;
142
 
 
143
 
 
144
 
            return _getKeysResponseType;
145
 
        }
146
 
 
147
 
        axis2_status_t AXIS2_CALL
148
 
        adb_getKeysResponseType_free (
149
 
                adb_getKeysResponseType_t* _getKeysResponseType,
150
 
                const axutil_env_t *env)
151
 
        {
152
 
 
153
 
 
154
 
            AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
155
 
            AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
156
 
 
157
 
            adb_getKeysResponseType_reset_correlationId(_getKeysResponseType, env);
158
 
            adb_getKeysResponseType_reset_userId(_getKeysResponseType, env);
159
 
            adb_getKeysResponseType_reset_statusMessage(_getKeysResponseType, env);
160
 
            adb_getKeysResponseType_reset_return(_getKeysResponseType, env);
161
 
            adb_getKeysResponseType_reset_serviceTag(_getKeysResponseType, env);
162
 
            adb_getKeysResponseType_reset_CCcert(_getKeysResponseType, env);
163
 
            adb_getKeysResponseType_reset_NCcert(_getKeysResponseType, env);
164
 
 
165
 
 
166
 
            if(_getKeysResponseType)
167
 
            {
168
 
                AXIS2_FREE(env->allocator, _getKeysResponseType);
169
 
                _getKeysResponseType = NULL;
170
 
            }
171
 
            return AXIS2_SUCCESS;
172
 
        }
173
 
 
174
 
 
175
 
 
176
 
 
177
 
        axis2_status_t AXIS2_CALL
178
 
        adb_getKeysResponseType_deserialize(
179
 
                adb_getKeysResponseType_t* _getKeysResponseType,
180
 
                const axutil_env_t *env,
181
 
                axiom_node_t **dp_parent,
182
 
                axis2_bool_t *dp_is_early_node_valid,
183
 
                axis2_bool_t dont_care_minoccurs)
184
 
        {
185
 
          axiom_node_t *parent = *dp_parent;
186
 
 
187
 
          axis2_status_t status = AXIS2_SUCCESS;
188
 
 
189
 
             axis2_char_t* text_value = NULL;
190
 
             axutil_qname_t *qname = NULL;
191
 
 
192
 
            axutil_qname_t *element_qname = NULL;
193
 
 
194
 
               axiom_node_t *first_node = NULL;
195
 
               axis2_bool_t is_early_node_valid = AXIS2_TRUE;
196
 
               axiom_node_t *current_node = NULL;
197
 
               axiom_element_t *current_element = NULL;
198
 
 
199
 
            AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
200
 
            AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
201
 
 
202
 
 
203
 
 
204
 
              while(parent && axiom_node_get_node_type(parent, env) != AXIOM_ELEMENT)
205
 
              {
206
 
                  parent = axiom_node_get_next_sibling(parent, env);
207
 
              }
208
 
              if (NULL == parent)
209
 
              {
210
 
                /* This should be checked before everything */
211
 
                AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI,
212
 
                            "Failed in building adb object for getKeysResponseType : "
213
 
                            "NULL elemenet can not be passed to deserialize");
214
 
                return AXIS2_FAILURE;
215
 
              }
216
 
 
217
 
 
218
 
                      first_node = axiom_node_get_first_child(parent, env);
219
 
 
220
 
 
221
 
 
222
 
 
223
 
                     /*
224
 
                      * building correlationId element
225
 
                      */
226
 
 
227
 
 
228
 
 
229
 
                                   current_node = first_node;
230
 
                                   is_early_node_valid = AXIS2_FALSE;
231
 
 
232
 
 
233
 
                                    while(current_node && axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
234
 
                                    {
235
 
                                        current_node = axiom_node_get_next_sibling(current_node, env);
236
 
                                    }
237
 
                                    if(current_node != NULL)
238
 
                                    {
239
 
                                        current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env);
240
 
                                        qname = axiom_element_get_qname(current_element, env, current_node);
241
 
                                    }
242
 
 
243
 
                                 element_qname = axutil_qname_create(env, "correlationId", "http://eucalyptus.ucsb.edu/", NULL);
244
 
 
245
 
 
246
 
                           if (
247
 
                                (current_node   && current_element && (axutil_qname_equals(element_qname, env, qname))))
248
 
                           {
249
 
                              if( current_node   && current_element && (axutil_qname_equals(element_qname, env, qname)))
250
 
                              {
251
 
                                is_early_node_valid = AXIS2_TRUE;
252
 
                              }
253
 
 
254
 
 
255
 
                                      text_value = axiom_element_get_text(current_element, env, current_node);
256
 
                                      if(text_value != NULL)
257
 
                                      {
258
 
                                            status = adb_getKeysResponseType_set_correlationId(_getKeysResponseType, env,
259
 
                                                               text_value);
260
 
                                      }
261
 
 
262
 
                                      else
263
 
                                      {
264
 
                                            /*
265
 
                                             * axis2_qname_t *qname = NULL;
266
 
                                             * axiom_attribute_t *the_attri = NULL;
267
 
                                             *
268
 
                                             * qname = axutil_qname_create(env, "nil", "http://www.w3.org/2001/XMLSchema-instance", "xsi");
269
 
                                             * the_attri = axiom_element_get_attribute(current_element, env, qname);
270
 
                                             */
271
 
                                            /* currently thereis a bug in the axiom_element_get_attribute, so we have to go to this bad method */
272
 
 
273
 
                                            axiom_attribute_t *the_attri = NULL;
274
 
                                            axis2_char_t *attrib_text = NULL;
275
 
                                            axutil_hash_t *attribute_hash = NULL;
276
 
 
277
 
                                            attribute_hash = axiom_element_get_all_attributes(current_element, env);
278
 
 
279
 
                                            attrib_text = NULL;
280
 
                                            if(attribute_hash)
281
 
                                            {
282
 
                                                 axutil_hash_index_t *hi;
283
 
                                                 void *val;
284
 
                                                 const void *key;
285
 
 
286
 
                                                 for (hi = axutil_hash_first(attribute_hash, env); hi; hi = axutil_hash_next(env, hi))
287
 
                                                 {
288
 
                                                     axutil_hash_this(hi, &key, NULL, &val);
289
 
 
290
 
                                                     if(strstr((axis2_char_t*)key, "nil|http://www.w3.org/2001/XMLSchema-instance"))
291
 
                                                     {
292
 
                                                         the_attri = (axiom_attribute_t*)val;
293
 
                                                         break;
294
 
                                                     }
295
 
                                                 }
296
 
                                            }
297
 
 
298
 
                                            if(the_attri)
299
 
                                            {
300
 
                                                attrib_text = axiom_attribute_get_value(the_attri, env);
301
 
                                            }
302
 
                                            else
303
 
                                            {
304
 
                                                /* this is hoping that attribute is stored in "http://www.w3.org/2001/XMLSchema-instance", this happnes when name is in default namespace */
305
 
                                                attrib_text = axiom_element_get_attribute_value_by_name(current_element, env, "nil");
306
 
                                            }
307
 
 
308
 
                                            if(attrib_text && 0 == axutil_strcmp(attrib_text, "1"))
309
 
                                            {
310
 
                                                AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element correlationId");
311
 
                                                status = AXIS2_FAILURE;
312
 
                                            }
313
 
                                            else
314
 
                                            {
315
 
                                                /* after all, we found this is a empty string */
316
 
                                                status = adb_getKeysResponseType_set_correlationId(_getKeysResponseType, env,
317
 
                                                                   "");
318
 
                                            }
319
 
                                      }
320
 
 
321
 
                                 if(AXIS2_FAILURE ==  status)
322
 
                                 {
323
 
                                     AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "failed in setting the value for correlationId ");
324
 
                                     if(element_qname)
325
 
                                     {
326
 
                                         axutil_qname_free(element_qname, env);
327
 
                                     }
328
 
                                     return AXIS2_FAILURE;
329
 
                                 }
330
 
                              }
331
 
 
332
 
                  if(element_qname)
333
 
                  {
334
 
                     axutil_qname_free(element_qname, env);
335
 
                     element_qname = NULL;
336
 
                  }
337
 
 
338
 
 
339
 
 
340
 
                     /*
341
 
                      * building userId element
342
 
                      */
343
 
 
344
 
 
345
 
 
346
 
                                    /*
347
 
                                     * because elements are ordered this works fine
348
 
                                     */
349
 
 
350
 
 
351
 
                                   if(current_node != NULL && is_early_node_valid)
352
 
                                   {
353
 
                                       current_node = axiom_node_get_next_sibling(current_node, env);
354
 
 
355
 
 
356
 
                                        while(current_node && axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
357
 
                                        {
358
 
                                            current_node = axiom_node_get_next_sibling(current_node, env);
359
 
                                        }
360
 
                                        if(current_node != NULL)
361
 
                                        {
362
 
                                            current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env);
363
 
                                            qname = axiom_element_get_qname(current_element, env, current_node);
364
 
                                        }
365
 
 
366
 
                                   }
367
 
                                   is_early_node_valid = AXIS2_FALSE;
368
 
 
369
 
                                 element_qname = axutil_qname_create(env, "userId", "http://eucalyptus.ucsb.edu/", NULL);
370
 
 
371
 
 
372
 
                           if (
373
 
                                (current_node   && current_element && (axutil_qname_equals(element_qname, env, qname))))
374
 
                           {
375
 
                              if( current_node   && current_element && (axutil_qname_equals(element_qname, env, qname)))
376
 
                              {
377
 
                                is_early_node_valid = AXIS2_TRUE;
378
 
                              }
379
 
 
380
 
 
381
 
                                      text_value = axiom_element_get_text(current_element, env, current_node);
382
 
                                      if(text_value != NULL)
383
 
                                      {
384
 
                                            status = adb_getKeysResponseType_set_userId(_getKeysResponseType, env,
385
 
                                                               text_value);
386
 
                                      }
387
 
 
388
 
                                      else
389
 
                                      {
390
 
                                            /*
391
 
                                             * axis2_qname_t *qname = NULL;
392
 
                                             * axiom_attribute_t *the_attri = NULL;
393
 
                                             *
394
 
                                             * qname = axutil_qname_create(env, "nil", "http://www.w3.org/2001/XMLSchema-instance", "xsi");
395
 
                                             * the_attri = axiom_element_get_attribute(current_element, env, qname);
396
 
                                             */
397
 
                                            /* currently thereis a bug in the axiom_element_get_attribute, so we have to go to this bad method */
398
 
 
399
 
                                            axiom_attribute_t *the_attri = NULL;
400
 
                                            axis2_char_t *attrib_text = NULL;
401
 
                                            axutil_hash_t *attribute_hash = NULL;
402
 
 
403
 
                                            attribute_hash = axiom_element_get_all_attributes(current_element, env);
404
 
 
405
 
                                            attrib_text = NULL;
406
 
                                            if(attribute_hash)
407
 
                                            {
408
 
                                                 axutil_hash_index_t *hi;
409
 
                                                 void *val;
410
 
                                                 const void *key;
411
 
 
412
 
                                                 for (hi = axutil_hash_first(attribute_hash, env); hi; hi = axutil_hash_next(env, hi))
413
 
                                                 {
414
 
                                                     axutil_hash_this(hi, &key, NULL, &val);
415
 
 
416
 
                                                     if(strstr((axis2_char_t*)key, "nil|http://www.w3.org/2001/XMLSchema-instance"))
417
 
                                                     {
418
 
                                                         the_attri = (axiom_attribute_t*)val;
419
 
                                                         break;
420
 
                                                     }
421
 
                                                 }
422
 
                                            }
423
 
 
424
 
                                            if(the_attri)
425
 
                                            {
426
 
                                                attrib_text = axiom_attribute_get_value(the_attri, env);
427
 
                                            }
428
 
                                            else
429
 
                                            {
430
 
                                                /* this is hoping that attribute is stored in "http://www.w3.org/2001/XMLSchema-instance", this happnes when name is in default namespace */
431
 
                                                attrib_text = axiom_element_get_attribute_value_by_name(current_element, env, "nil");
432
 
                                            }
433
 
 
434
 
                                            if(attrib_text && 0 == axutil_strcmp(attrib_text, "1"))
435
 
                                            {
436
 
                                                AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element userId");
437
 
                                                status = AXIS2_FAILURE;
438
 
                                            }
439
 
                                            else
440
 
                                            {
441
 
                                                /* after all, we found this is a empty string */
442
 
                                                status = adb_getKeysResponseType_set_userId(_getKeysResponseType, env,
443
 
                                                                   "");
444
 
                                            }
445
 
                                      }
446
 
 
447
 
                                 if(AXIS2_FAILURE ==  status)
448
 
                                 {
449
 
                                     AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "failed in setting the value for userId ");
450
 
                                     if(element_qname)
451
 
                                     {
452
 
                                         axutil_qname_free(element_qname, env);
453
 
                                     }
454
 
                                     return AXIS2_FAILURE;
455
 
                                 }
456
 
                              }
457
 
 
458
 
                  if(element_qname)
459
 
                  {
460
 
                     axutil_qname_free(element_qname, env);
461
 
                     element_qname = NULL;
462
 
                  }
463
 
 
464
 
 
465
 
 
466
 
                     /*
467
 
                      * building statusMessage element
468
 
                      */
469
 
 
470
 
 
471
 
 
472
 
                                    /*
473
 
                                     * because elements are ordered this works fine
474
 
                                     */
475
 
 
476
 
 
477
 
                                   if(current_node != NULL && is_early_node_valid)
478
 
                                   {
479
 
                                       current_node = axiom_node_get_next_sibling(current_node, env);
480
 
 
481
 
 
482
 
                                        while(current_node && axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
483
 
                                        {
484
 
                                            current_node = axiom_node_get_next_sibling(current_node, env);
485
 
                                        }
486
 
                                        if(current_node != NULL)
487
 
                                        {
488
 
                                            current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env);
489
 
                                            qname = axiom_element_get_qname(current_element, env, current_node);
490
 
                                        }
491
 
 
492
 
                                   }
493
 
                                   is_early_node_valid = AXIS2_FALSE;
494
 
 
495
 
                                 element_qname = axutil_qname_create(env, "statusMessage", "http://eucalyptus.ucsb.edu/", NULL);
496
 
 
497
 
 
498
 
                           if (
499
 
                                (current_node   && current_element && (axutil_qname_equals(element_qname, env, qname))))
500
 
                           {
501
 
                              if( current_node   && current_element && (axutil_qname_equals(element_qname, env, qname)))
502
 
                              {
503
 
                                is_early_node_valid = AXIS2_TRUE;
504
 
                              }
505
 
 
506
 
 
507
 
                                      text_value = axiom_element_get_text(current_element, env, current_node);
508
 
                                      if(text_value != NULL)
509
 
                                      {
510
 
                                            status = adb_getKeysResponseType_set_statusMessage(_getKeysResponseType, env,
511
 
                                                               text_value);
512
 
                                      }
513
 
 
514
 
                                 if(AXIS2_FAILURE ==  status)
515
 
                                 {
516
 
                                     AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "failed in setting the value for statusMessage ");
517
 
                                     if(element_qname)
518
 
                                     {
519
 
                                         axutil_qname_free(element_qname, env);
520
 
                                     }
521
 
                                     return AXIS2_FAILURE;
522
 
                                 }
523
 
                              }
524
 
 
525
 
                  if(element_qname)
526
 
                  {
527
 
                     axutil_qname_free(element_qname, env);
528
 
                     element_qname = NULL;
529
 
                  }
530
 
 
531
 
 
532
 
 
533
 
                     /*
534
 
                      * building return element
535
 
                      */
536
 
 
537
 
 
538
 
 
539
 
                                    /*
540
 
                                     * because elements are ordered this works fine
541
 
                                     */
542
 
 
543
 
 
544
 
                                   if(current_node != NULL && is_early_node_valid)
545
 
                                   {
546
 
                                       current_node = axiom_node_get_next_sibling(current_node, env);
547
 
 
548
 
 
549
 
                                        while(current_node && axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
550
 
                                        {
551
 
                                            current_node = axiom_node_get_next_sibling(current_node, env);
552
 
                                        }
553
 
                                        if(current_node != NULL)
554
 
                                        {
555
 
                                            current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env);
556
 
                                            qname = axiom_element_get_qname(current_element, env, current_node);
557
 
                                        }
558
 
 
559
 
                                   }
560
 
                                   is_early_node_valid = AXIS2_FALSE;
561
 
 
562
 
                                 element_qname = axutil_qname_create(env, "return", "http://eucalyptus.ucsb.edu/", NULL);
563
 
 
564
 
 
565
 
                           if (
566
 
                                (current_node   && current_element && (axutil_qname_equals(element_qname, env, qname))))
567
 
                           {
568
 
                              if( current_node   && current_element && (axutil_qname_equals(element_qname, env, qname)))
569
 
                              {
570
 
                                is_early_node_valid = AXIS2_TRUE;
571
 
                              }
572
 
 
573
 
 
574
 
                                      text_value = axiom_element_get_text(current_element, env, current_node);
575
 
                                      if(text_value != NULL)
576
 
                                      {
577
 
                                            if (!axutil_strcasecmp(text_value , "true"))
578
 
                                            {
579
 
                                                status = adb_getKeysResponseType_set_return(_getKeysResponseType, env,
580
 
                                                                 AXIS2_TRUE);
581
 
                                            }
582
 
                                            else
583
 
                                            {
584
 
                                                status = adb_getKeysResponseType_set_return(_getKeysResponseType, env,
585
 
                                                                      AXIS2_FALSE);
586
 
                                            }
587
 
                                      }
588
 
 
589
 
                                      else
590
 
                                      {
591
 
                                          AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element return");
592
 
                                          status = AXIS2_FAILURE;
593
 
                                      }
594
 
 
595
 
                                 if(AXIS2_FAILURE ==  status)
596
 
                                 {
597
 
                                     AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "failed in setting the value for return ");
598
 
                                     if(element_qname)
599
 
                                     {
600
 
                                         axutil_qname_free(element_qname, env);
601
 
                                     }
602
 
                                     return AXIS2_FAILURE;
603
 
                                 }
604
 
                              }
605
 
 
606
 
                  if(element_qname)
607
 
                  {
608
 
                     axutil_qname_free(element_qname, env);
609
 
                     element_qname = NULL;
610
 
                  }
611
 
 
612
 
 
613
 
 
614
 
                     /*
615
 
                      * building serviceTag element
616
 
                      */
617
 
 
618
 
 
619
 
 
620
 
                                    /*
621
 
                                     * because elements are ordered this works fine
622
 
                                     */
623
 
 
624
 
 
625
 
                                   if(current_node != NULL && is_early_node_valid)
626
 
                                   {
627
 
                                       current_node = axiom_node_get_next_sibling(current_node, env);
628
 
 
629
 
 
630
 
                                        while(current_node && axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
631
 
                                        {
632
 
                                            current_node = axiom_node_get_next_sibling(current_node, env);
633
 
                                        }
634
 
                                        if(current_node != NULL)
635
 
                                        {
636
 
                                            current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env);
637
 
                                            qname = axiom_element_get_qname(current_element, env, current_node);
638
 
                                        }
639
 
 
640
 
                                   }
641
 
                                   is_early_node_valid = AXIS2_FALSE;
642
 
 
643
 
                                 element_qname = axutil_qname_create(env, "serviceTag", "http://eucalyptus.ucsb.edu/", NULL);
644
 
 
645
 
 
646
 
                           if (
647
 
                                (current_node   && current_element && (axutil_qname_equals(element_qname, env, qname))))
648
 
                           {
649
 
                              if( current_node   && current_element && (axutil_qname_equals(element_qname, env, qname)))
650
 
                              {
651
 
                                is_early_node_valid = AXIS2_TRUE;
652
 
                              }
653
 
 
654
 
 
655
 
                                      text_value = axiom_element_get_text(current_element, env, current_node);
656
 
                                      if(text_value != NULL)
657
 
                                      {
658
 
                                            status = adb_getKeysResponseType_set_serviceTag(_getKeysResponseType, env,
659
 
                                                               text_value);
660
 
                                      }
661
 
 
662
 
                                      else
663
 
                                      {
664
 
                                            /*
665
 
                                             * axis2_qname_t *qname = NULL;
666
 
                                             * axiom_attribute_t *the_attri = NULL;
667
 
                                             *
668
 
                                             * qname = axutil_qname_create(env, "nil", "http://www.w3.org/2001/XMLSchema-instance", "xsi");
669
 
                                             * the_attri = axiom_element_get_attribute(current_element, env, qname);
670
 
                                             */
671
 
                                            /* currently thereis a bug in the axiom_element_get_attribute, so we have to go to this bad method */
672
 
 
673
 
                                            axiom_attribute_t *the_attri = NULL;
674
 
                                            axis2_char_t *attrib_text = NULL;
675
 
                                            axutil_hash_t *attribute_hash = NULL;
676
 
 
677
 
                                            attribute_hash = axiom_element_get_all_attributes(current_element, env);
678
 
 
679
 
                                            attrib_text = NULL;
680
 
                                            if(attribute_hash)
681
 
                                            {
682
 
                                                 axutil_hash_index_t *hi;
683
 
                                                 void *val;
684
 
                                                 const void *key;
685
 
 
686
 
                                                 for (hi = axutil_hash_first(attribute_hash, env); hi; hi = axutil_hash_next(env, hi))
687
 
                                                 {
688
 
                                                     axutil_hash_this(hi, &key, NULL, &val);
689
 
 
690
 
                                                     if(strstr((axis2_char_t*)key, "nil|http://www.w3.org/2001/XMLSchema-instance"))
691
 
                                                     {
692
 
                                                         the_attri = (axiom_attribute_t*)val;
693
 
                                                         break;
694
 
                                                     }
695
 
                                                 }
696
 
                                            }
697
 
 
698
 
                                            if(the_attri)
699
 
                                            {
700
 
                                                attrib_text = axiom_attribute_get_value(the_attri, env);
701
 
                                            }
702
 
                                            else
703
 
                                            {
704
 
                                                /* this is hoping that attribute is stored in "http://www.w3.org/2001/XMLSchema-instance", this happnes when name is in default namespace */
705
 
                                                attrib_text = axiom_element_get_attribute_value_by_name(current_element, env, "nil");
706
 
                                            }
707
 
 
708
 
                                            if(attrib_text && 0 == axutil_strcmp(attrib_text, "1"))
709
 
                                            {
710
 
                                                AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element serviceTag");
711
 
                                                status = AXIS2_FAILURE;
712
 
                                            }
713
 
                                            else
714
 
                                            {
715
 
                                                /* after all, we found this is a empty string */
716
 
                                                status = adb_getKeysResponseType_set_serviceTag(_getKeysResponseType, env,
717
 
                                                                   "");
718
 
                                            }
719
 
                                      }
720
 
 
721
 
                                 if(AXIS2_FAILURE ==  status)
722
 
                                 {
723
 
                                     AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "failed in setting the value for serviceTag ");
724
 
                                     if(element_qname)
725
 
                                     {
726
 
                                         axutil_qname_free(element_qname, env);
727
 
                                     }
728
 
                                     return AXIS2_FAILURE;
729
 
                                 }
730
 
                              }
731
 
 
732
 
                  if(element_qname)
733
 
                  {
734
 
                     axutil_qname_free(element_qname, env);
735
 
                     element_qname = NULL;
736
 
                  }
737
 
 
738
 
 
739
 
 
740
 
                     /*
741
 
                      * building CCcert element
742
 
                      */
743
 
 
744
 
 
745
 
 
746
 
                                    /*
747
 
                                     * because elements are ordered this works fine
748
 
                                     */
749
 
 
750
 
 
751
 
                                   if(current_node != NULL && is_early_node_valid)
752
 
                                   {
753
 
                                       current_node = axiom_node_get_next_sibling(current_node, env);
754
 
 
755
 
 
756
 
                                        while(current_node && axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
757
 
                                        {
758
 
                                            current_node = axiom_node_get_next_sibling(current_node, env);
759
 
                                        }
760
 
                                        if(current_node != NULL)
761
 
                                        {
762
 
                                            current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env);
763
 
                                            qname = axiom_element_get_qname(current_element, env, current_node);
764
 
                                        }
765
 
 
766
 
                                   }
767
 
                                   is_early_node_valid = AXIS2_FALSE;
768
 
 
769
 
                                 element_qname = axutil_qname_create(env, "CCcert", "http://eucalyptus.ucsb.edu/", NULL);
770
 
 
771
 
 
772
 
                           if (
773
 
                                (current_node   && current_element && (axutil_qname_equals(element_qname, env, qname))))
774
 
                           {
775
 
                              if( current_node   && current_element && (axutil_qname_equals(element_qname, env, qname)))
776
 
                              {
777
 
                                is_early_node_valid = AXIS2_TRUE;
778
 
                              }
779
 
 
780
 
 
781
 
                                      text_value = axiom_element_get_text(current_element, env, current_node);
782
 
                                      if(text_value != NULL)
783
 
                                      {
784
 
                                            status = adb_getKeysResponseType_set_CCcert(_getKeysResponseType, env,
785
 
                                                               text_value);
786
 
                                      }
787
 
 
788
 
                                      else
789
 
                                      {
790
 
                                            /*
791
 
                                             * axis2_qname_t *qname = NULL;
792
 
                                             * axiom_attribute_t *the_attri = NULL;
793
 
                                             *
794
 
                                             * qname = axutil_qname_create(env, "nil", "http://www.w3.org/2001/XMLSchema-instance", "xsi");
795
 
                                             * the_attri = axiom_element_get_attribute(current_element, env, qname);
796
 
                                             */
797
 
                                            /* currently thereis a bug in the axiom_element_get_attribute, so we have to go to this bad method */
798
 
 
799
 
                                            axiom_attribute_t *the_attri = NULL;
800
 
                                            axis2_char_t *attrib_text = NULL;
801
 
                                            axutil_hash_t *attribute_hash = NULL;
802
 
 
803
 
                                            attribute_hash = axiom_element_get_all_attributes(current_element, env);
804
 
 
805
 
                                            attrib_text = NULL;
806
 
                                            if(attribute_hash)
807
 
                                            {
808
 
                                                 axutil_hash_index_t *hi;
809
 
                                                 void *val;
810
 
                                                 const void *key;
811
 
 
812
 
                                                 for (hi = axutil_hash_first(attribute_hash, env); hi; hi = axutil_hash_next(env, hi))
813
 
                                                 {
814
 
                                                     axutil_hash_this(hi, &key, NULL, &val);
815
 
 
816
 
                                                     if(strstr((axis2_char_t*)key, "nil|http://www.w3.org/2001/XMLSchema-instance"))
817
 
                                                     {
818
 
                                                         the_attri = (axiom_attribute_t*)val;
819
 
                                                         break;
820
 
                                                     }
821
 
                                                 }
822
 
                                            }
823
 
 
824
 
                                            if(the_attri)
825
 
                                            {
826
 
                                                attrib_text = axiom_attribute_get_value(the_attri, env);
827
 
                                            }
828
 
                                            else
829
 
                                            {
830
 
                                                /* this is hoping that attribute is stored in "http://www.w3.org/2001/XMLSchema-instance", this happnes when name is in default namespace */
831
 
                                                attrib_text = axiom_element_get_attribute_value_by_name(current_element, env, "nil");
832
 
                                            }
833
 
 
834
 
                                            if(attrib_text && 0 == axutil_strcmp(attrib_text, "1"))
835
 
                                            {
836
 
                                                AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element CCcert");
837
 
                                                status = AXIS2_FAILURE;
838
 
                                            }
839
 
                                            else
840
 
                                            {
841
 
                                                /* after all, we found this is a empty string */
842
 
                                                status = adb_getKeysResponseType_set_CCcert(_getKeysResponseType, env,
843
 
                                                                   "");
844
 
                                            }
845
 
                                      }
846
 
 
847
 
                                 if(AXIS2_FAILURE ==  status)
848
 
                                 {
849
 
                                     AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "failed in setting the value for CCcert ");
850
 
                                     if(element_qname)
851
 
                                     {
852
 
                                         axutil_qname_free(element_qname, env);
853
 
                                     }
854
 
                                     return AXIS2_FAILURE;
855
 
                                 }
856
 
                              }
857
 
 
858
 
                  if(element_qname)
859
 
                  {
860
 
                     axutil_qname_free(element_qname, env);
861
 
                     element_qname = NULL;
862
 
                  }
863
 
 
864
 
 
865
 
 
866
 
                     /*
867
 
                      * building NCcert element
868
 
                      */
869
 
 
870
 
 
871
 
 
872
 
                                    /*
873
 
                                     * because elements are ordered this works fine
874
 
                                     */
875
 
 
876
 
 
877
 
                                   if(current_node != NULL && is_early_node_valid)
878
 
                                   {
879
 
                                       current_node = axiom_node_get_next_sibling(current_node, env);
880
 
 
881
 
 
882
 
                                        while(current_node && axiom_node_get_node_type(current_node, env) != AXIOM_ELEMENT)
883
 
                                        {
884
 
                                            current_node = axiom_node_get_next_sibling(current_node, env);
885
 
                                        }
886
 
                                        if(current_node != NULL)
887
 
                                        {
888
 
                                            current_element = (axiom_element_t *)axiom_node_get_data_element(current_node, env);
889
 
                                            qname = axiom_element_get_qname(current_element, env, current_node);
890
 
                                        }
891
 
 
892
 
                                   }
893
 
                                   is_early_node_valid = AXIS2_FALSE;
894
 
 
895
 
                                 element_qname = axutil_qname_create(env, "NCcert", "http://eucalyptus.ucsb.edu/", NULL);
896
 
 
897
 
 
898
 
                           if (
899
 
                                (current_node   && current_element && (axutil_qname_equals(element_qname, env, qname))))
900
 
                           {
901
 
                              if( current_node   && current_element && (axutil_qname_equals(element_qname, env, qname)))
902
 
                              {
903
 
                                is_early_node_valid = AXIS2_TRUE;
904
 
                              }
905
 
 
906
 
 
907
 
                                      text_value = axiom_element_get_text(current_element, env, current_node);
908
 
                                      if(text_value != NULL)
909
 
                                      {
910
 
                                            status = adb_getKeysResponseType_set_NCcert(_getKeysResponseType, env,
911
 
                                                               text_value);
912
 
                                      }
913
 
 
914
 
                                      else
915
 
                                      {
916
 
                                            /*
917
 
                                             * axis2_qname_t *qname = NULL;
918
 
                                             * axiom_attribute_t *the_attri = NULL;
919
 
                                             *
920
 
                                             * qname = axutil_qname_create(env, "nil", "http://www.w3.org/2001/XMLSchema-instance", "xsi");
921
 
                                             * the_attri = axiom_element_get_attribute(current_element, env, qname);
922
 
                                             */
923
 
                                            /* currently thereis a bug in the axiom_element_get_attribute, so we have to go to this bad method */
924
 
 
925
 
                                            axiom_attribute_t *the_attri = NULL;
926
 
                                            axis2_char_t *attrib_text = NULL;
927
 
                                            axutil_hash_t *attribute_hash = NULL;
928
 
 
929
 
                                            attribute_hash = axiom_element_get_all_attributes(current_element, env);
930
 
 
931
 
                                            attrib_text = NULL;
932
 
                                            if(attribute_hash)
933
 
                                            {
934
 
                                                 axutil_hash_index_t *hi;
935
 
                                                 void *val;
936
 
                                                 const void *key;
937
 
 
938
 
                                                 for (hi = axutil_hash_first(attribute_hash, env); hi; hi = axutil_hash_next(env, hi))
939
 
                                                 {
940
 
                                                     axutil_hash_this(hi, &key, NULL, &val);
941
 
 
942
 
                                                     if(strstr((axis2_char_t*)key, "nil|http://www.w3.org/2001/XMLSchema-instance"))
943
 
                                                     {
944
 
                                                         the_attri = (axiom_attribute_t*)val;
945
 
                                                         break;
946
 
                                                     }
947
 
                                                 }
948
 
                                            }
949
 
 
950
 
                                            if(the_attri)
951
 
                                            {
952
 
                                                attrib_text = axiom_attribute_get_value(the_attri, env);
953
 
                                            }
954
 
                                            else
955
 
                                            {
956
 
                                                /* this is hoping that attribute is stored in "http://www.w3.org/2001/XMLSchema-instance", this happnes when name is in default namespace */
957
 
                                                attrib_text = axiom_element_get_attribute_value_by_name(current_element, env, "nil");
958
 
                                            }
959
 
 
960
 
                                            if(attrib_text && 0 == axutil_strcmp(attrib_text, "1"))
961
 
                                            {
962
 
                                                AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "NULL value is set to a non nillable element NCcert");
963
 
                                                status = AXIS2_FAILURE;
964
 
                                            }
965
 
                                            else
966
 
                                            {
967
 
                                                /* after all, we found this is a empty string */
968
 
                                                status = adb_getKeysResponseType_set_NCcert(_getKeysResponseType, env,
969
 
                                                                   "");
970
 
                                            }
971
 
                                      }
972
 
 
973
 
                                 if(AXIS2_FAILURE ==  status)
974
 
                                 {
975
 
                                     AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "failed in setting the value for NCcert ");
976
 
                                     if(element_qname)
977
 
                                     {
978
 
                                         axutil_qname_free(element_qname, env);
979
 
                                     }
980
 
                                     return AXIS2_FAILURE;
981
 
                                 }
982
 
                              }
983
 
 
984
 
                  if(element_qname)
985
 
                  {
986
 
                     axutil_qname_free(element_qname, env);
987
 
                     element_qname = NULL;
988
 
                  }
989
 
 
990
 
          return status;
991
 
       }
992
 
 
993
 
          axis2_bool_t AXIS2_CALL
994
 
          adb_getKeysResponseType_is_particle()
995
 
          {
996
 
 
997
 
                 return AXIS2_FALSE;
998
 
 
999
 
          }
1000
 
 
1001
 
 
1002
 
          void AXIS2_CALL
1003
 
          adb_getKeysResponseType_declare_parent_namespaces(
1004
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1005
 
                    const axutil_env_t *env, axiom_element_t *parent_element,
1006
 
                    axutil_hash_t *namespaces, int *next_ns_index)
1007
 
          {
1008
 
 
1009
 
                  /* Here this is an empty function, Nothing to declare */
1010
 
 
1011
 
          }
1012
 
 
1013
 
 
1014
 
 
1015
 
        axiom_node_t* AXIS2_CALL
1016
 
        adb_getKeysResponseType_serialize(
1017
 
                adb_getKeysResponseType_t* _getKeysResponseType,
1018
 
                const axutil_env_t *env, axiom_node_t *parent, axiom_element_t *parent_element, int parent_tag_closed, axutil_hash_t *namespaces, int *next_ns_index)
1019
 
        {
1020
 
 
1021
 
 
1022
 
             axis2_char_t *string_to_stream;
1023
 
 
1024
 
 
1025
 
         axiom_node_t *current_node = NULL;
1026
 
         int tag_closed = 0;
1027
 
 
1028
 
 
1029
 
 
1030
 
                axiom_namespace_t *ns1 = NULL;
1031
 
 
1032
 
                axis2_char_t *qname_uri = NULL;
1033
 
                axis2_char_t *qname_prefix = NULL;
1034
 
                axis2_char_t *p_prefix = NULL;
1035
 
                axis2_bool_t ns_already_defined;
1036
 
 
1037
 
                    axis2_char_t *text_value_1;
1038
 
                    axis2_char_t *text_value_1_temp;
1039
 
 
1040
 
                    axis2_char_t *text_value_2;
1041
 
                    axis2_char_t *text_value_2_temp;
1042
 
 
1043
 
                    axis2_char_t *text_value_3;
1044
 
                    axis2_char_t *text_value_3_temp;
1045
 
 
1046
 
                    axis2_char_t text_value_4[64];
1047
 
 
1048
 
                    axis2_char_t *text_value_5;
1049
 
                    axis2_char_t *text_value_5_temp;
1050
 
 
1051
 
                    axis2_char_t *text_value_6;
1052
 
                    axis2_char_t *text_value_6_temp;
1053
 
 
1054
 
                    axis2_char_t *text_value_7;
1055
 
                    axis2_char_t *text_value_7_temp;
1056
 
 
1057
 
               axis2_char_t *start_input_str = NULL;
1058
 
               axis2_char_t *end_input_str = NULL;
1059
 
               unsigned int start_input_str_len = 0;
1060
 
               unsigned int end_input_str_len = 0;
1061
 
 
1062
 
 
1063
 
               axiom_data_source_t *data_source = NULL;
1064
 
               axutil_stream_t *stream = NULL;
1065
 
 
1066
 
 
1067
 
 
1068
 
            AXIS2_ENV_CHECK(env, NULL);
1069
 
            AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, NULL);
1070
 
 
1071
 
 
1072
 
                    current_node = parent;
1073
 
                    data_source = (axiom_data_source_t *)axiom_node_get_data_element(current_node, env);
1074
 
                    if (!data_source)
1075
 
                        return NULL;
1076
 
                    stream = axiom_data_source_get_stream(data_source, env); /* assume parent is of type data source */
1077
 
                    if (!stream)
1078
 
                        return NULL;
1079
 
 
1080
 
            if(!parent_tag_closed)
1081
 
            {
1082
 
 
1083
 
              string_to_stream = ">";
1084
 
              axutil_stream_write(stream, env, string_to_stream, axutil_strlen(string_to_stream));
1085
 
              tag_closed = 1;
1086
 
 
1087
 
            }
1088
 
 
1089
 
                       if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1090
 
                       {
1091
 
                           p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1092
 
                           sprintf(p_prefix, "n%d", (*next_ns_index)++);
1093
 
                           axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1094
 
 
1095
 
                           axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1096
 
                                            "http://eucalyptus.ucsb.edu/",
1097
 
                                            p_prefix));
1098
 
                       }
1099
 
 
1100
 
 
1101
 
                   if (!_getKeysResponseType->is_valid_correlationId)
1102
 
                   {
1103
 
 
1104
 
                           /* no need to complain for minoccurs=0 element */
1105
 
 
1106
 
 
1107
 
                   }
1108
 
                   else
1109
 
                   {
1110
 
                     start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1111
 
                                 (4 + axutil_strlen(p_prefix) +
1112
 
                                  axutil_strlen("correlationId")));
1113
 
 
1114
 
                                 /* axutil_strlen("<:>") + 1 = 4 */
1115
 
                     end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1116
 
                                 (5 + axutil_strlen(p_prefix) + axutil_strlen("correlationId")));
1117
 
                                  /* axutil_strlen("</:>") + 1 = 5 */
1118
 
 
1119
 
 
1120
 
 
1121
 
 
1122
 
 
1123
 
 
1124
 
                     /*
1125
 
                      * parsing correlationId element
1126
 
                      */
1127
 
 
1128
 
 
1129
 
 
1130
 
                            sprintf(start_input_str, "<%s%scorrelationId>",
1131
 
                                 p_prefix?p_prefix:"",
1132
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1133
 
 
1134
 
                        start_input_str_len = axutil_strlen(start_input_str);
1135
 
                        sprintf(end_input_str, "</%s%scorrelationId>",
1136
 
                                 p_prefix?p_prefix:"",
1137
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1138
 
                        end_input_str_len = axutil_strlen(end_input_str);
1139
 
 
1140
 
                           text_value_1 = _getKeysResponseType->property_correlationId;
1141
 
 
1142
 
                           axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1143
 
 
1144
 
 
1145
 
                           text_value_1_temp = axutil_xml_quote_string(env, text_value_1, AXIS2_TRUE);
1146
 
                           if (text_value_1_temp)
1147
 
                           {
1148
 
                               axutil_stream_write(stream, env, text_value_1_temp, axutil_strlen(text_value_1_temp));
1149
 
                               AXIS2_FREE(env->allocator, text_value_1_temp);
1150
 
                           }
1151
 
                           else
1152
 
                           {
1153
 
                               axutil_stream_write(stream, env, text_value_1, axutil_strlen(text_value_1));
1154
 
                           }
1155
 
 
1156
 
                           axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1157
 
 
1158
 
 
1159
 
                     AXIS2_FREE(env->allocator,start_input_str);
1160
 
                     AXIS2_FREE(env->allocator,end_input_str);
1161
 
                 }
1162
 
 
1163
 
 
1164
 
                       if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1165
 
                       {
1166
 
                           p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1167
 
                           sprintf(p_prefix, "n%d", (*next_ns_index)++);
1168
 
                           axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1169
 
 
1170
 
                           axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1171
 
                                            "http://eucalyptus.ucsb.edu/",
1172
 
                                            p_prefix));
1173
 
                       }
1174
 
 
1175
 
 
1176
 
                   if (!_getKeysResponseType->is_valid_userId)
1177
 
                   {
1178
 
 
1179
 
                           /* no need to complain for minoccurs=0 element */
1180
 
 
1181
 
 
1182
 
                   }
1183
 
                   else
1184
 
                   {
1185
 
                     start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1186
 
                                 (4 + axutil_strlen(p_prefix) +
1187
 
                                  axutil_strlen("userId")));
1188
 
 
1189
 
                                 /* axutil_strlen("<:>") + 1 = 4 */
1190
 
                     end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1191
 
                                 (5 + axutil_strlen(p_prefix) + axutil_strlen("userId")));
1192
 
                                  /* axutil_strlen("</:>") + 1 = 5 */
1193
 
 
1194
 
 
1195
 
 
1196
 
 
1197
 
 
1198
 
 
1199
 
                     /*
1200
 
                      * parsing userId element
1201
 
                      */
1202
 
 
1203
 
 
1204
 
 
1205
 
                            sprintf(start_input_str, "<%s%suserId>",
1206
 
                                 p_prefix?p_prefix:"",
1207
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1208
 
 
1209
 
                        start_input_str_len = axutil_strlen(start_input_str);
1210
 
                        sprintf(end_input_str, "</%s%suserId>",
1211
 
                                 p_prefix?p_prefix:"",
1212
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1213
 
                        end_input_str_len = axutil_strlen(end_input_str);
1214
 
 
1215
 
                           text_value_2 = _getKeysResponseType->property_userId;
1216
 
 
1217
 
                           axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1218
 
 
1219
 
 
1220
 
                           text_value_2_temp = axutil_xml_quote_string(env, text_value_2, AXIS2_TRUE);
1221
 
                           if (text_value_2_temp)
1222
 
                           {
1223
 
                               axutil_stream_write(stream, env, text_value_2_temp, axutil_strlen(text_value_2_temp));
1224
 
                               AXIS2_FREE(env->allocator, text_value_2_temp);
1225
 
                           }
1226
 
                           else
1227
 
                           {
1228
 
                               axutil_stream_write(stream, env, text_value_2, axutil_strlen(text_value_2));
1229
 
                           }
1230
 
 
1231
 
                           axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1232
 
 
1233
 
 
1234
 
                     AXIS2_FREE(env->allocator,start_input_str);
1235
 
                     AXIS2_FREE(env->allocator,end_input_str);
1236
 
                 }
1237
 
 
1238
 
 
1239
 
                       if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1240
 
                       {
1241
 
                           p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1242
 
                           sprintf(p_prefix, "n%d", (*next_ns_index)++);
1243
 
                           axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1244
 
 
1245
 
                           axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1246
 
                                            "http://eucalyptus.ucsb.edu/",
1247
 
                                            p_prefix));
1248
 
                       }
1249
 
 
1250
 
 
1251
 
                   if (!_getKeysResponseType->is_valid_statusMessage)
1252
 
                   {
1253
 
 
1254
 
                           /* no need to complain for minoccurs=0 element */
1255
 
 
1256
 
 
1257
 
                   }
1258
 
                   else
1259
 
                   {
1260
 
                     start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1261
 
                                 (4 + axutil_strlen(p_prefix) +
1262
 
                                  axutil_strlen("statusMessage")));
1263
 
 
1264
 
                                 /* axutil_strlen("<:>") + 1 = 4 */
1265
 
                     end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1266
 
                                 (5 + axutil_strlen(p_prefix) + axutil_strlen("statusMessage")));
1267
 
                                  /* axutil_strlen("</:>") + 1 = 5 */
1268
 
 
1269
 
 
1270
 
 
1271
 
 
1272
 
 
1273
 
 
1274
 
                     /*
1275
 
                      * parsing statusMessage element
1276
 
                      */
1277
 
 
1278
 
 
1279
 
 
1280
 
                            sprintf(start_input_str, "<%s%sstatusMessage>",
1281
 
                                 p_prefix?p_prefix:"",
1282
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1283
 
 
1284
 
                        start_input_str_len = axutil_strlen(start_input_str);
1285
 
                        sprintf(end_input_str, "</%s%sstatusMessage>",
1286
 
                                 p_prefix?p_prefix:"",
1287
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1288
 
                        end_input_str_len = axutil_strlen(end_input_str);
1289
 
 
1290
 
                           text_value_3 = _getKeysResponseType->property_statusMessage;
1291
 
 
1292
 
                           axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1293
 
 
1294
 
 
1295
 
                           text_value_3_temp = axutil_xml_quote_string(env, text_value_3, AXIS2_TRUE);
1296
 
                           if (text_value_3_temp)
1297
 
                           {
1298
 
                               axutil_stream_write(stream, env, text_value_3_temp, axutil_strlen(text_value_3_temp));
1299
 
                               AXIS2_FREE(env->allocator, text_value_3_temp);
1300
 
                           }
1301
 
                           else
1302
 
                           {
1303
 
                               axutil_stream_write(stream, env, text_value_3, axutil_strlen(text_value_3));
1304
 
                           }
1305
 
 
1306
 
                           axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1307
 
 
1308
 
 
1309
 
                     AXIS2_FREE(env->allocator,start_input_str);
1310
 
                     AXIS2_FREE(env->allocator,end_input_str);
1311
 
                 }
1312
 
 
1313
 
 
1314
 
                       if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1315
 
                       {
1316
 
                           p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1317
 
                           sprintf(p_prefix, "n%d", (*next_ns_index)++);
1318
 
                           axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1319
 
 
1320
 
                           axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1321
 
                                            "http://eucalyptus.ucsb.edu/",
1322
 
                                            p_prefix));
1323
 
                       }
1324
 
 
1325
 
 
1326
 
                   if (!_getKeysResponseType->is_valid_return)
1327
 
                   {
1328
 
 
1329
 
                           /* no need to complain for minoccurs=0 element */
1330
 
 
1331
 
 
1332
 
                   }
1333
 
                   else
1334
 
                   {
1335
 
                     start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1336
 
                                 (4 + axutil_strlen(p_prefix) +
1337
 
                                  axutil_strlen("return")));
1338
 
 
1339
 
                                 /* axutil_strlen("<:>") + 1 = 4 */
1340
 
                     end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1341
 
                                 (5 + axutil_strlen(p_prefix) + axutil_strlen("return")));
1342
 
                                  /* axutil_strlen("</:>") + 1 = 5 */
1343
 
 
1344
 
 
1345
 
 
1346
 
 
1347
 
 
1348
 
 
1349
 
                     /*
1350
 
                      * parsing return element
1351
 
                      */
1352
 
 
1353
 
 
1354
 
 
1355
 
                            sprintf(start_input_str, "<%s%sreturn>",
1356
 
                                 p_prefix?p_prefix:"",
1357
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1358
 
 
1359
 
                        start_input_str_len = axutil_strlen(start_input_str);
1360
 
                        sprintf(end_input_str, "</%s%sreturn>",
1361
 
                                 p_prefix?p_prefix:"",
1362
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1363
 
                        end_input_str_len = axutil_strlen(end_input_str);
1364
 
 
1365
 
                           strcpy(text_value_4, (_getKeysResponseType->property_return)?"true":"false");
1366
 
 
1367
 
                           axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1368
 
 
1369
 
                           axutil_stream_write(stream, env, text_value_4, axutil_strlen(text_value_4));
1370
 
 
1371
 
                           axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1372
 
 
1373
 
 
1374
 
                     AXIS2_FREE(env->allocator,start_input_str);
1375
 
                     AXIS2_FREE(env->allocator,end_input_str);
1376
 
                 }
1377
 
 
1378
 
 
1379
 
                       if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1380
 
                       {
1381
 
                           p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1382
 
                           sprintf(p_prefix, "n%d", (*next_ns_index)++);
1383
 
                           axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1384
 
 
1385
 
                           axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1386
 
                                            "http://eucalyptus.ucsb.edu/",
1387
 
                                            p_prefix));
1388
 
                       }
1389
 
 
1390
 
 
1391
 
                   if (!_getKeysResponseType->is_valid_serviceTag)
1392
 
                   {
1393
 
 
1394
 
                           /* no need to complain for minoccurs=0 element */
1395
 
 
1396
 
 
1397
 
                   }
1398
 
                   else
1399
 
                   {
1400
 
                     start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1401
 
                                 (4 + axutil_strlen(p_prefix) +
1402
 
                                  axutil_strlen("serviceTag")));
1403
 
 
1404
 
                                 /* axutil_strlen("<:>") + 1 = 4 */
1405
 
                     end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1406
 
                                 (5 + axutil_strlen(p_prefix) + axutil_strlen("serviceTag")));
1407
 
                                  /* axutil_strlen("</:>") + 1 = 5 */
1408
 
 
1409
 
 
1410
 
 
1411
 
 
1412
 
 
1413
 
 
1414
 
                     /*
1415
 
                      * parsing serviceTag element
1416
 
                      */
1417
 
 
1418
 
 
1419
 
 
1420
 
                            sprintf(start_input_str, "<%s%sserviceTag>",
1421
 
                                 p_prefix?p_prefix:"",
1422
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1423
 
 
1424
 
                        start_input_str_len = axutil_strlen(start_input_str);
1425
 
                        sprintf(end_input_str, "</%s%sserviceTag>",
1426
 
                                 p_prefix?p_prefix:"",
1427
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1428
 
                        end_input_str_len = axutil_strlen(end_input_str);
1429
 
 
1430
 
                           text_value_5 = _getKeysResponseType->property_serviceTag;
1431
 
 
1432
 
                           axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1433
 
 
1434
 
 
1435
 
                           text_value_5_temp = axutil_xml_quote_string(env, text_value_5, AXIS2_TRUE);
1436
 
                           if (text_value_5_temp)
1437
 
                           {
1438
 
                               axutil_stream_write(stream, env, text_value_5_temp, axutil_strlen(text_value_5_temp));
1439
 
                               AXIS2_FREE(env->allocator, text_value_5_temp);
1440
 
                           }
1441
 
                           else
1442
 
                           {
1443
 
                               axutil_stream_write(stream, env, text_value_5, axutil_strlen(text_value_5));
1444
 
                           }
1445
 
 
1446
 
                           axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1447
 
 
1448
 
 
1449
 
                     AXIS2_FREE(env->allocator,start_input_str);
1450
 
                     AXIS2_FREE(env->allocator,end_input_str);
1451
 
                 }
1452
 
 
1453
 
 
1454
 
                       if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1455
 
                       {
1456
 
                           p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1457
 
                           sprintf(p_prefix, "n%d", (*next_ns_index)++);
1458
 
                           axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1459
 
 
1460
 
                           axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1461
 
                                            "http://eucalyptus.ucsb.edu/",
1462
 
                                            p_prefix));
1463
 
                       }
1464
 
 
1465
 
 
1466
 
                   if (!_getKeysResponseType->is_valid_CCcert)
1467
 
                   {
1468
 
 
1469
 
                           /* no need to complain for minoccurs=0 element */
1470
 
 
1471
 
 
1472
 
                   }
1473
 
                   else
1474
 
                   {
1475
 
                     start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1476
 
                                 (4 + axutil_strlen(p_prefix) +
1477
 
                                  axutil_strlen("CCcert")));
1478
 
 
1479
 
                                 /* axutil_strlen("<:>") + 1 = 4 */
1480
 
                     end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1481
 
                                 (5 + axutil_strlen(p_prefix) + axutil_strlen("CCcert")));
1482
 
                                  /* axutil_strlen("</:>") + 1 = 5 */
1483
 
 
1484
 
 
1485
 
 
1486
 
 
1487
 
 
1488
 
 
1489
 
                     /*
1490
 
                      * parsing CCcert element
1491
 
                      */
1492
 
 
1493
 
 
1494
 
 
1495
 
                            sprintf(start_input_str, "<%s%sCCcert>",
1496
 
                                 p_prefix?p_prefix:"",
1497
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1498
 
 
1499
 
                        start_input_str_len = axutil_strlen(start_input_str);
1500
 
                        sprintf(end_input_str, "</%s%sCCcert>",
1501
 
                                 p_prefix?p_prefix:"",
1502
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1503
 
                        end_input_str_len = axutil_strlen(end_input_str);
1504
 
 
1505
 
                           text_value_6 = _getKeysResponseType->property_CCcert;
1506
 
 
1507
 
                           axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1508
 
 
1509
 
 
1510
 
                           text_value_6_temp = axutil_xml_quote_string(env, text_value_6, AXIS2_TRUE);
1511
 
                           if (text_value_6_temp)
1512
 
                           {
1513
 
                               axutil_stream_write(stream, env, text_value_6_temp, axutil_strlen(text_value_6_temp));
1514
 
                               AXIS2_FREE(env->allocator, text_value_6_temp);
1515
 
                           }
1516
 
                           else
1517
 
                           {
1518
 
                               axutil_stream_write(stream, env, text_value_6, axutil_strlen(text_value_6));
1519
 
                           }
1520
 
 
1521
 
                           axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1522
 
 
1523
 
 
1524
 
                     AXIS2_FREE(env->allocator,start_input_str);
1525
 
                     AXIS2_FREE(env->allocator,end_input_str);
1526
 
                 }
1527
 
 
1528
 
 
1529
 
                       if(!(p_prefix = (axis2_char_t*)axutil_hash_get(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING)))
1530
 
                       {
1531
 
                           p_prefix = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof (axis2_char_t) * ADB_DEFAULT_NAMESPACE_PREFIX_LIMIT);
1532
 
                           sprintf(p_prefix, "n%d", (*next_ns_index)++);
1533
 
                           axutil_hash_set(namespaces, "http://eucalyptus.ucsb.edu/", AXIS2_HASH_KEY_STRING, p_prefix);
1534
 
 
1535
 
                           axiom_element_declare_namespace_assume_param_ownership(parent_element, env, axiom_namespace_create (env,
1536
 
                                            "http://eucalyptus.ucsb.edu/",
1537
 
                                            p_prefix));
1538
 
                       }
1539
 
 
1540
 
 
1541
 
                   if (!_getKeysResponseType->is_valid_NCcert)
1542
 
                   {
1543
 
 
1544
 
                           /* no need to complain for minoccurs=0 element */
1545
 
 
1546
 
 
1547
 
                   }
1548
 
                   else
1549
 
                   {
1550
 
                     start_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1551
 
                                 (4 + axutil_strlen(p_prefix) +
1552
 
                                  axutil_strlen("NCcert")));
1553
 
 
1554
 
                                 /* axutil_strlen("<:>") + 1 = 4 */
1555
 
                     end_input_str = (axis2_char_t*)AXIS2_MALLOC(env->allocator, sizeof(axis2_char_t) *
1556
 
                                 (5 + axutil_strlen(p_prefix) + axutil_strlen("NCcert")));
1557
 
                                  /* axutil_strlen("</:>") + 1 = 5 */
1558
 
 
1559
 
 
1560
 
 
1561
 
 
1562
 
 
1563
 
 
1564
 
                     /*
1565
 
                      * parsing NCcert element
1566
 
                      */
1567
 
 
1568
 
 
1569
 
 
1570
 
                            sprintf(start_input_str, "<%s%sNCcert>",
1571
 
                                 p_prefix?p_prefix:"",
1572
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1573
 
 
1574
 
                        start_input_str_len = axutil_strlen(start_input_str);
1575
 
                        sprintf(end_input_str, "</%s%sNCcert>",
1576
 
                                 p_prefix?p_prefix:"",
1577
 
                                 (p_prefix && axutil_strcmp(p_prefix, ""))?":":"");
1578
 
                        end_input_str_len = axutil_strlen(end_input_str);
1579
 
 
1580
 
                           text_value_7 = _getKeysResponseType->property_NCcert;
1581
 
 
1582
 
                           axutil_stream_write(stream, env, start_input_str, start_input_str_len);
1583
 
 
1584
 
 
1585
 
                           text_value_7_temp = axutil_xml_quote_string(env, text_value_7, AXIS2_TRUE);
1586
 
                           if (text_value_7_temp)
1587
 
                           {
1588
 
                               axutil_stream_write(stream, env, text_value_7_temp, axutil_strlen(text_value_7_temp));
1589
 
                               AXIS2_FREE(env->allocator, text_value_7_temp);
1590
 
                           }
1591
 
                           else
1592
 
                           {
1593
 
                               axutil_stream_write(stream, env, text_value_7, axutil_strlen(text_value_7));
1594
 
                           }
1595
 
 
1596
 
                           axutil_stream_write(stream, env, end_input_str, end_input_str_len);
1597
 
 
1598
 
 
1599
 
                     AXIS2_FREE(env->allocator,start_input_str);
1600
 
                     AXIS2_FREE(env->allocator,end_input_str);
1601
 
                 }
1602
 
 
1603
 
 
1604
 
 
1605
 
            return parent;
1606
 
        }
1607
 
 
1608
 
 
1609
 
 
1610
 
 
1611
 
            /**
1612
 
             * getter for correlationId.
1613
 
             */
1614
 
            axis2_char_t* AXIS2_CALL
1615
 
            adb_getKeysResponseType_get_correlationId(
1616
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1617
 
                    const axutil_env_t *env)
1618
 
             {
1619
 
 
1620
 
                    AXIS2_ENV_CHECK(env, NULL);
1621
 
                    AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, NULL);
1622
 
 
1623
 
 
1624
 
                return _getKeysResponseType->property_correlationId;
1625
 
             }
1626
 
 
1627
 
            /**
1628
 
             * setter for correlationId
1629
 
             */
1630
 
            axis2_status_t AXIS2_CALL
1631
 
            adb_getKeysResponseType_set_correlationId(
1632
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1633
 
                    const axutil_env_t *env,
1634
 
                    const axis2_char_t*  arg_correlationId)
1635
 
             {
1636
 
 
1637
 
 
1638
 
                AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
1639
 
                AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
1640
 
 
1641
 
                if(_getKeysResponseType->is_valid_correlationId &&
1642
 
                        arg_correlationId == _getKeysResponseType->property_correlationId)
1643
 
                {
1644
 
 
1645
 
                    return AXIS2_SUCCESS;
1646
 
                }
1647
 
 
1648
 
                adb_getKeysResponseType_reset_correlationId(_getKeysResponseType, env);
1649
 
 
1650
 
 
1651
 
                if(NULL == arg_correlationId)
1652
 
                {
1653
 
                    /* We are already done */
1654
 
                    return AXIS2_SUCCESS;
1655
 
                }
1656
 
                _getKeysResponseType->property_correlationId = (axis2_char_t *)axutil_strdup(env, arg_correlationId);
1657
 
                        if(NULL == _getKeysResponseType->property_correlationId)
1658
 
                        {
1659
 
                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error allocating memeory for correlationId");
1660
 
                            return AXIS2_FAILURE;
1661
 
                        }
1662
 
                        _getKeysResponseType->is_valid_correlationId = AXIS2_TRUE;
1663
 
 
1664
 
                return AXIS2_SUCCESS;
1665
 
             }
1666
 
 
1667
 
 
1668
 
 
1669
 
           /**
1670
 
            * resetter for correlationId
1671
 
            */
1672
 
           axis2_status_t AXIS2_CALL
1673
 
           adb_getKeysResponseType_reset_correlationId(
1674
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1675
 
                   const axutil_env_t *env)
1676
 
           {
1677
 
               int i = 0;
1678
 
               int count = 0;
1679
 
               void *element = NULL;
1680
 
 
1681
 
               AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
1682
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
1683
 
 
1684
 
 
1685
 
 
1686
 
 
1687
 
 
1688
 
                if(_getKeysResponseType->property_correlationId != NULL)
1689
 
                {
1690
 
 
1691
 
 
1692
 
                        AXIS2_FREE(env-> allocator, _getKeysResponseType->property_correlationId);
1693
 
                     _getKeysResponseType->property_correlationId = NULL;
1694
 
                }
1695
 
 
1696
 
 
1697
 
 
1698
 
                _getKeysResponseType->is_valid_correlationId = AXIS2_FALSE;
1699
 
               return AXIS2_SUCCESS;
1700
 
           }
1701
 
 
1702
 
           /**
1703
 
            * Check whether correlationId is nill
1704
 
            */
1705
 
           axis2_bool_t AXIS2_CALL
1706
 
           adb_getKeysResponseType_is_correlationId_nil(
1707
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1708
 
                   const axutil_env_t *env)
1709
 
           {
1710
 
               AXIS2_ENV_CHECK(env, AXIS2_TRUE);
1711
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_TRUE);
1712
 
 
1713
 
               return !_getKeysResponseType->is_valid_correlationId;
1714
 
           }
1715
 
 
1716
 
           /**
1717
 
            * Set correlationId to nill (currently the same as reset)
1718
 
            */
1719
 
           axis2_status_t AXIS2_CALL
1720
 
           adb_getKeysResponseType_set_correlationId_nil(
1721
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1722
 
                   const axutil_env_t *env)
1723
 
           {
1724
 
               return adb_getKeysResponseType_reset_correlationId(_getKeysResponseType, env);
1725
 
           }
1726
 
 
1727
 
 
1728
 
 
1729
 
            /**
1730
 
             * getter for userId.
1731
 
             */
1732
 
            axis2_char_t* AXIS2_CALL
1733
 
            adb_getKeysResponseType_get_userId(
1734
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1735
 
                    const axutil_env_t *env)
1736
 
             {
1737
 
 
1738
 
                    AXIS2_ENV_CHECK(env, NULL);
1739
 
                    AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, NULL);
1740
 
 
1741
 
 
1742
 
                return _getKeysResponseType->property_userId;
1743
 
             }
1744
 
 
1745
 
            /**
1746
 
             * setter for userId
1747
 
             */
1748
 
            axis2_status_t AXIS2_CALL
1749
 
            adb_getKeysResponseType_set_userId(
1750
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1751
 
                    const axutil_env_t *env,
1752
 
                    const axis2_char_t*  arg_userId)
1753
 
             {
1754
 
 
1755
 
 
1756
 
                AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
1757
 
                AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
1758
 
 
1759
 
                if(_getKeysResponseType->is_valid_userId &&
1760
 
                        arg_userId == _getKeysResponseType->property_userId)
1761
 
                {
1762
 
 
1763
 
                    return AXIS2_SUCCESS;
1764
 
                }
1765
 
 
1766
 
                adb_getKeysResponseType_reset_userId(_getKeysResponseType, env);
1767
 
 
1768
 
 
1769
 
                if(NULL == arg_userId)
1770
 
                {
1771
 
                    /* We are already done */
1772
 
                    return AXIS2_SUCCESS;
1773
 
                }
1774
 
                _getKeysResponseType->property_userId = (axis2_char_t *)axutil_strdup(env, arg_userId);
1775
 
                        if(NULL == _getKeysResponseType->property_userId)
1776
 
                        {
1777
 
                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error allocating memeory for userId");
1778
 
                            return AXIS2_FAILURE;
1779
 
                        }
1780
 
                        _getKeysResponseType->is_valid_userId = AXIS2_TRUE;
1781
 
 
1782
 
                return AXIS2_SUCCESS;
1783
 
             }
1784
 
 
1785
 
 
1786
 
 
1787
 
           /**
1788
 
            * resetter for userId
1789
 
            */
1790
 
           axis2_status_t AXIS2_CALL
1791
 
           adb_getKeysResponseType_reset_userId(
1792
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1793
 
                   const axutil_env_t *env)
1794
 
           {
1795
 
               int i = 0;
1796
 
               int count = 0;
1797
 
               void *element = NULL;
1798
 
 
1799
 
               AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
1800
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
1801
 
 
1802
 
 
1803
 
 
1804
 
 
1805
 
 
1806
 
                if(_getKeysResponseType->property_userId != NULL)
1807
 
                {
1808
 
 
1809
 
 
1810
 
                        AXIS2_FREE(env-> allocator, _getKeysResponseType->property_userId);
1811
 
                     _getKeysResponseType->property_userId = NULL;
1812
 
                }
1813
 
 
1814
 
 
1815
 
 
1816
 
                _getKeysResponseType->is_valid_userId = AXIS2_FALSE;
1817
 
               return AXIS2_SUCCESS;
1818
 
           }
1819
 
 
1820
 
           /**
1821
 
            * Check whether userId is nill
1822
 
            */
1823
 
           axis2_bool_t AXIS2_CALL
1824
 
           adb_getKeysResponseType_is_userId_nil(
1825
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1826
 
                   const axutil_env_t *env)
1827
 
           {
1828
 
               AXIS2_ENV_CHECK(env, AXIS2_TRUE);
1829
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_TRUE);
1830
 
 
1831
 
               return !_getKeysResponseType->is_valid_userId;
1832
 
           }
1833
 
 
1834
 
           /**
1835
 
            * Set userId to nill (currently the same as reset)
1836
 
            */
1837
 
           axis2_status_t AXIS2_CALL
1838
 
           adb_getKeysResponseType_set_userId_nil(
1839
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1840
 
                   const axutil_env_t *env)
1841
 
           {
1842
 
               return adb_getKeysResponseType_reset_userId(_getKeysResponseType, env);
1843
 
           }
1844
 
 
1845
 
 
1846
 
 
1847
 
            /**
1848
 
             * getter for statusMessage.
1849
 
             */
1850
 
            axis2_char_t* AXIS2_CALL
1851
 
            adb_getKeysResponseType_get_statusMessage(
1852
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1853
 
                    const axutil_env_t *env)
1854
 
             {
1855
 
 
1856
 
                    AXIS2_ENV_CHECK(env, NULL);
1857
 
                    AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, NULL);
1858
 
 
1859
 
 
1860
 
                return _getKeysResponseType->property_statusMessage;
1861
 
             }
1862
 
 
1863
 
            /**
1864
 
             * setter for statusMessage
1865
 
             */
1866
 
            axis2_status_t AXIS2_CALL
1867
 
            adb_getKeysResponseType_set_statusMessage(
1868
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1869
 
                    const axutil_env_t *env,
1870
 
                    const axis2_char_t*  arg_statusMessage)
1871
 
             {
1872
 
 
1873
 
 
1874
 
                AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
1875
 
                AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
1876
 
 
1877
 
                if(_getKeysResponseType->is_valid_statusMessage &&
1878
 
                        arg_statusMessage == _getKeysResponseType->property_statusMessage)
1879
 
                {
1880
 
 
1881
 
                    return AXIS2_SUCCESS;
1882
 
                }
1883
 
 
1884
 
                adb_getKeysResponseType_reset_statusMessage(_getKeysResponseType, env);
1885
 
 
1886
 
 
1887
 
                if(NULL == arg_statusMessage)
1888
 
                {
1889
 
                    /* We are already done */
1890
 
                    return AXIS2_SUCCESS;
1891
 
                }
1892
 
                _getKeysResponseType->property_statusMessage = (axis2_char_t *)axutil_strdup(env, arg_statusMessage);
1893
 
                        if(NULL == _getKeysResponseType->property_statusMessage)
1894
 
                        {
1895
 
                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error allocating memeory for statusMessage");
1896
 
                            return AXIS2_FAILURE;
1897
 
                        }
1898
 
                        _getKeysResponseType->is_valid_statusMessage = AXIS2_TRUE;
1899
 
 
1900
 
                return AXIS2_SUCCESS;
1901
 
             }
1902
 
 
1903
 
 
1904
 
 
1905
 
           /**
1906
 
            * resetter for statusMessage
1907
 
            */
1908
 
           axis2_status_t AXIS2_CALL
1909
 
           adb_getKeysResponseType_reset_statusMessage(
1910
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1911
 
                   const axutil_env_t *env)
1912
 
           {
1913
 
               int i = 0;
1914
 
               int count = 0;
1915
 
               void *element = NULL;
1916
 
 
1917
 
               AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
1918
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
1919
 
 
1920
 
 
1921
 
 
1922
 
 
1923
 
 
1924
 
                if(_getKeysResponseType->property_statusMessage != NULL)
1925
 
                {
1926
 
 
1927
 
 
1928
 
                        AXIS2_FREE(env-> allocator, _getKeysResponseType->property_statusMessage);
1929
 
                     _getKeysResponseType->property_statusMessage = NULL;
1930
 
                }
1931
 
 
1932
 
 
1933
 
 
1934
 
                _getKeysResponseType->is_valid_statusMessage = AXIS2_FALSE;
1935
 
               return AXIS2_SUCCESS;
1936
 
           }
1937
 
 
1938
 
           /**
1939
 
            * Check whether statusMessage is nill
1940
 
            */
1941
 
           axis2_bool_t AXIS2_CALL
1942
 
           adb_getKeysResponseType_is_statusMessage_nil(
1943
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1944
 
                   const axutil_env_t *env)
1945
 
           {
1946
 
               AXIS2_ENV_CHECK(env, AXIS2_TRUE);
1947
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_TRUE);
1948
 
 
1949
 
               return !_getKeysResponseType->is_valid_statusMessage;
1950
 
           }
1951
 
 
1952
 
           /**
1953
 
            * Set statusMessage to nill (currently the same as reset)
1954
 
            */
1955
 
           axis2_status_t AXIS2_CALL
1956
 
           adb_getKeysResponseType_set_statusMessage_nil(
1957
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
1958
 
                   const axutil_env_t *env)
1959
 
           {
1960
 
               return adb_getKeysResponseType_reset_statusMessage(_getKeysResponseType, env);
1961
 
           }
1962
 
 
1963
 
 
1964
 
 
1965
 
            /**
1966
 
             * getter for return.
1967
 
             */
1968
 
            axis2_bool_t AXIS2_CALL
1969
 
            adb_getKeysResponseType_get_return(
1970
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1971
 
                    const axutil_env_t *env)
1972
 
             {
1973
 
 
1974
 
                    AXIS2_ENV_CHECK(env, (axis2_bool_t)0);
1975
 
                    AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, (axis2_bool_t)0);
1976
 
 
1977
 
 
1978
 
                return _getKeysResponseType->property_return;
1979
 
             }
1980
 
 
1981
 
            /**
1982
 
             * setter for return
1983
 
             */
1984
 
            axis2_status_t AXIS2_CALL
1985
 
            adb_getKeysResponseType_set_return(
1986
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
1987
 
                    const axutil_env_t *env,
1988
 
                    axis2_bool_t  arg_return)
1989
 
             {
1990
 
 
1991
 
 
1992
 
                AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
1993
 
                AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
1994
 
 
1995
 
                if(_getKeysResponseType->is_valid_return &&
1996
 
                        arg_return == _getKeysResponseType->property_return)
1997
 
                {
1998
 
 
1999
 
                    return AXIS2_SUCCESS;
2000
 
                }
2001
 
 
2002
 
                adb_getKeysResponseType_reset_return(_getKeysResponseType, env);
2003
 
 
2004
 
                _getKeysResponseType->property_return = arg_return;
2005
 
                        _getKeysResponseType->is_valid_return = AXIS2_TRUE;
2006
 
 
2007
 
                return AXIS2_SUCCESS;
2008
 
             }
2009
 
 
2010
 
 
2011
 
 
2012
 
           /**
2013
 
            * resetter for return
2014
 
            */
2015
 
           axis2_status_t AXIS2_CALL
2016
 
           adb_getKeysResponseType_reset_return(
2017
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2018
 
                   const axutil_env_t *env)
2019
 
           {
2020
 
               int i = 0;
2021
 
               int count = 0;
2022
 
               void *element = NULL;
2023
 
 
2024
 
               AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
2025
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
2026
 
 
2027
 
 
2028
 
               _getKeysResponseType->is_valid_return = AXIS2_FALSE;
2029
 
               return AXIS2_SUCCESS;
2030
 
           }
2031
 
 
2032
 
           /**
2033
 
            * Check whether return is nill
2034
 
            */
2035
 
           axis2_bool_t AXIS2_CALL
2036
 
           adb_getKeysResponseType_is_return_nil(
2037
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2038
 
                   const axutil_env_t *env)
2039
 
           {
2040
 
               AXIS2_ENV_CHECK(env, AXIS2_TRUE);
2041
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_TRUE);
2042
 
 
2043
 
               return !_getKeysResponseType->is_valid_return;
2044
 
           }
2045
 
 
2046
 
           /**
2047
 
            * Set return to nill (currently the same as reset)
2048
 
            */
2049
 
           axis2_status_t AXIS2_CALL
2050
 
           adb_getKeysResponseType_set_return_nil(
2051
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2052
 
                   const axutil_env_t *env)
2053
 
           {
2054
 
               return adb_getKeysResponseType_reset_return(_getKeysResponseType, env);
2055
 
           }
2056
 
 
2057
 
 
2058
 
 
2059
 
            /**
2060
 
             * getter for serviceTag.
2061
 
             */
2062
 
            axis2_char_t* AXIS2_CALL
2063
 
            adb_getKeysResponseType_get_serviceTag(
2064
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
2065
 
                    const axutil_env_t *env)
2066
 
             {
2067
 
 
2068
 
                    AXIS2_ENV_CHECK(env, NULL);
2069
 
                    AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, NULL);
2070
 
 
2071
 
 
2072
 
                return _getKeysResponseType->property_serviceTag;
2073
 
             }
2074
 
 
2075
 
            /**
2076
 
             * setter for serviceTag
2077
 
             */
2078
 
            axis2_status_t AXIS2_CALL
2079
 
            adb_getKeysResponseType_set_serviceTag(
2080
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
2081
 
                    const axutil_env_t *env,
2082
 
                    const axis2_char_t*  arg_serviceTag)
2083
 
             {
2084
 
 
2085
 
 
2086
 
                AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
2087
 
                AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
2088
 
 
2089
 
                if(_getKeysResponseType->is_valid_serviceTag &&
2090
 
                        arg_serviceTag == _getKeysResponseType->property_serviceTag)
2091
 
                {
2092
 
 
2093
 
                    return AXIS2_SUCCESS;
2094
 
                }
2095
 
 
2096
 
                adb_getKeysResponseType_reset_serviceTag(_getKeysResponseType, env);
2097
 
 
2098
 
 
2099
 
                if(NULL == arg_serviceTag)
2100
 
                {
2101
 
                    /* We are already done */
2102
 
                    return AXIS2_SUCCESS;
2103
 
                }
2104
 
                _getKeysResponseType->property_serviceTag = (axis2_char_t *)axutil_strdup(env, arg_serviceTag);
2105
 
                        if(NULL == _getKeysResponseType->property_serviceTag)
2106
 
                        {
2107
 
                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error allocating memeory for serviceTag");
2108
 
                            return AXIS2_FAILURE;
2109
 
                        }
2110
 
                        _getKeysResponseType->is_valid_serviceTag = AXIS2_TRUE;
2111
 
 
2112
 
                return AXIS2_SUCCESS;
2113
 
             }
2114
 
 
2115
 
 
2116
 
 
2117
 
           /**
2118
 
            * resetter for serviceTag
2119
 
            */
2120
 
           axis2_status_t AXIS2_CALL
2121
 
           adb_getKeysResponseType_reset_serviceTag(
2122
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2123
 
                   const axutil_env_t *env)
2124
 
           {
2125
 
               int i = 0;
2126
 
               int count = 0;
2127
 
               void *element = NULL;
2128
 
 
2129
 
               AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
2130
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
2131
 
 
2132
 
 
2133
 
 
2134
 
 
2135
 
 
2136
 
                if(_getKeysResponseType->property_serviceTag != NULL)
2137
 
                {
2138
 
 
2139
 
 
2140
 
                        AXIS2_FREE(env-> allocator, _getKeysResponseType->property_serviceTag);
2141
 
                     _getKeysResponseType->property_serviceTag = NULL;
2142
 
                }
2143
 
 
2144
 
 
2145
 
 
2146
 
                _getKeysResponseType->is_valid_serviceTag = AXIS2_FALSE;
2147
 
               return AXIS2_SUCCESS;
2148
 
           }
2149
 
 
2150
 
           /**
2151
 
            * Check whether serviceTag is nill
2152
 
            */
2153
 
           axis2_bool_t AXIS2_CALL
2154
 
           adb_getKeysResponseType_is_serviceTag_nil(
2155
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2156
 
                   const axutil_env_t *env)
2157
 
           {
2158
 
               AXIS2_ENV_CHECK(env, AXIS2_TRUE);
2159
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_TRUE);
2160
 
 
2161
 
               return !_getKeysResponseType->is_valid_serviceTag;
2162
 
           }
2163
 
 
2164
 
           /**
2165
 
            * Set serviceTag to nill (currently the same as reset)
2166
 
            */
2167
 
           axis2_status_t AXIS2_CALL
2168
 
           adb_getKeysResponseType_set_serviceTag_nil(
2169
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2170
 
                   const axutil_env_t *env)
2171
 
           {
2172
 
               return adb_getKeysResponseType_reset_serviceTag(_getKeysResponseType, env);
2173
 
           }
2174
 
 
2175
 
 
2176
 
 
2177
 
            /**
2178
 
             * getter for CCcert.
2179
 
             */
2180
 
            axis2_char_t* AXIS2_CALL
2181
 
            adb_getKeysResponseType_get_CCcert(
2182
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
2183
 
                    const axutil_env_t *env)
2184
 
             {
2185
 
 
2186
 
                    AXIS2_ENV_CHECK(env, NULL);
2187
 
                    AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, NULL);
2188
 
 
2189
 
 
2190
 
                return _getKeysResponseType->property_CCcert;
2191
 
             }
2192
 
 
2193
 
            /**
2194
 
             * setter for CCcert
2195
 
             */
2196
 
            axis2_status_t AXIS2_CALL
2197
 
            adb_getKeysResponseType_set_CCcert(
2198
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
2199
 
                    const axutil_env_t *env,
2200
 
                    const axis2_char_t*  arg_CCcert)
2201
 
             {
2202
 
 
2203
 
 
2204
 
                AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
2205
 
                AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
2206
 
 
2207
 
                if(_getKeysResponseType->is_valid_CCcert &&
2208
 
                        arg_CCcert == _getKeysResponseType->property_CCcert)
2209
 
                {
2210
 
 
2211
 
                    return AXIS2_SUCCESS;
2212
 
                }
2213
 
 
2214
 
                adb_getKeysResponseType_reset_CCcert(_getKeysResponseType, env);
2215
 
 
2216
 
 
2217
 
                if(NULL == arg_CCcert)
2218
 
                {
2219
 
                    /* We are already done */
2220
 
                    return AXIS2_SUCCESS;
2221
 
                }
2222
 
                _getKeysResponseType->property_CCcert = (axis2_char_t *)axutil_strdup(env, arg_CCcert);
2223
 
                        if(NULL == _getKeysResponseType->property_CCcert)
2224
 
                        {
2225
 
                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error allocating memeory for CCcert");
2226
 
                            return AXIS2_FAILURE;
2227
 
                        }
2228
 
                        _getKeysResponseType->is_valid_CCcert = AXIS2_TRUE;
2229
 
 
2230
 
                return AXIS2_SUCCESS;
2231
 
             }
2232
 
 
2233
 
 
2234
 
 
2235
 
           /**
2236
 
            * resetter for CCcert
2237
 
            */
2238
 
           axis2_status_t AXIS2_CALL
2239
 
           adb_getKeysResponseType_reset_CCcert(
2240
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2241
 
                   const axutil_env_t *env)
2242
 
           {
2243
 
               int i = 0;
2244
 
               int count = 0;
2245
 
               void *element = NULL;
2246
 
 
2247
 
               AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
2248
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
2249
 
 
2250
 
 
2251
 
 
2252
 
 
2253
 
 
2254
 
                if(_getKeysResponseType->property_CCcert != NULL)
2255
 
                {
2256
 
 
2257
 
 
2258
 
                        AXIS2_FREE(env-> allocator, _getKeysResponseType->property_CCcert);
2259
 
                     _getKeysResponseType->property_CCcert = NULL;
2260
 
                }
2261
 
 
2262
 
 
2263
 
 
2264
 
                _getKeysResponseType->is_valid_CCcert = AXIS2_FALSE;
2265
 
               return AXIS2_SUCCESS;
2266
 
           }
2267
 
 
2268
 
           /**
2269
 
            * Check whether CCcert is nill
2270
 
            */
2271
 
           axis2_bool_t AXIS2_CALL
2272
 
           adb_getKeysResponseType_is_CCcert_nil(
2273
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2274
 
                   const axutil_env_t *env)
2275
 
           {
2276
 
               AXIS2_ENV_CHECK(env, AXIS2_TRUE);
2277
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_TRUE);
2278
 
 
2279
 
               return !_getKeysResponseType->is_valid_CCcert;
2280
 
           }
2281
 
 
2282
 
           /**
2283
 
            * Set CCcert to nill (currently the same as reset)
2284
 
            */
2285
 
           axis2_status_t AXIS2_CALL
2286
 
           adb_getKeysResponseType_set_CCcert_nil(
2287
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2288
 
                   const axutil_env_t *env)
2289
 
           {
2290
 
               return adb_getKeysResponseType_reset_CCcert(_getKeysResponseType, env);
2291
 
           }
2292
 
 
2293
 
 
2294
 
 
2295
 
            /**
2296
 
             * getter for NCcert.
2297
 
             */
2298
 
            axis2_char_t* AXIS2_CALL
2299
 
            adb_getKeysResponseType_get_NCcert(
2300
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
2301
 
                    const axutil_env_t *env)
2302
 
             {
2303
 
 
2304
 
                    AXIS2_ENV_CHECK(env, NULL);
2305
 
                    AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, NULL);
2306
 
 
2307
 
 
2308
 
                return _getKeysResponseType->property_NCcert;
2309
 
             }
2310
 
 
2311
 
            /**
2312
 
             * setter for NCcert
2313
 
             */
2314
 
            axis2_status_t AXIS2_CALL
2315
 
            adb_getKeysResponseType_set_NCcert(
2316
 
                    adb_getKeysResponseType_t* _getKeysResponseType,
2317
 
                    const axutil_env_t *env,
2318
 
                    const axis2_char_t*  arg_NCcert)
2319
 
             {
2320
 
 
2321
 
 
2322
 
                AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
2323
 
                AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
2324
 
 
2325
 
                if(_getKeysResponseType->is_valid_NCcert &&
2326
 
                        arg_NCcert == _getKeysResponseType->property_NCcert)
2327
 
                {
2328
 
 
2329
 
                    return AXIS2_SUCCESS;
2330
 
                }
2331
 
 
2332
 
                adb_getKeysResponseType_reset_NCcert(_getKeysResponseType, env);
2333
 
 
2334
 
 
2335
 
                if(NULL == arg_NCcert)
2336
 
                {
2337
 
                    /* We are already done */
2338
 
                    return AXIS2_SUCCESS;
2339
 
                }
2340
 
                _getKeysResponseType->property_NCcert = (axis2_char_t *)axutil_strdup(env, arg_NCcert);
2341
 
                        if(NULL == _getKeysResponseType->property_NCcert)
2342
 
                        {
2343
 
                            AXIS2_LOG_ERROR(env->log, AXIS2_LOG_SI, "Error allocating memeory for NCcert");
2344
 
                            return AXIS2_FAILURE;
2345
 
                        }
2346
 
                        _getKeysResponseType->is_valid_NCcert = AXIS2_TRUE;
2347
 
 
2348
 
                return AXIS2_SUCCESS;
2349
 
             }
2350
 
 
2351
 
 
2352
 
 
2353
 
           /**
2354
 
            * resetter for NCcert
2355
 
            */
2356
 
           axis2_status_t AXIS2_CALL
2357
 
           adb_getKeysResponseType_reset_NCcert(
2358
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2359
 
                   const axutil_env_t *env)
2360
 
           {
2361
 
               int i = 0;
2362
 
               int count = 0;
2363
 
               void *element = NULL;
2364
 
 
2365
 
               AXIS2_ENV_CHECK(env, AXIS2_FAILURE);
2366
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_FAILURE);
2367
 
 
2368
 
 
2369
 
 
2370
 
 
2371
 
 
2372
 
                if(_getKeysResponseType->property_NCcert != NULL)
2373
 
                {
2374
 
 
2375
 
 
2376
 
                        AXIS2_FREE(env-> allocator, _getKeysResponseType->property_NCcert);
2377
 
                     _getKeysResponseType->property_NCcert = NULL;
2378
 
                }
2379
 
 
2380
 
 
2381
 
 
2382
 
                _getKeysResponseType->is_valid_NCcert = AXIS2_FALSE;
2383
 
               return AXIS2_SUCCESS;
2384
 
           }
2385
 
 
2386
 
           /**
2387
 
            * Check whether NCcert is nill
2388
 
            */
2389
 
           axis2_bool_t AXIS2_CALL
2390
 
           adb_getKeysResponseType_is_NCcert_nil(
2391
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2392
 
                   const axutil_env_t *env)
2393
 
           {
2394
 
               AXIS2_ENV_CHECK(env, AXIS2_TRUE);
2395
 
               AXIS2_PARAM_CHECK(env->error, _getKeysResponseType, AXIS2_TRUE);
2396
 
 
2397
 
               return !_getKeysResponseType->is_valid_NCcert;
2398
 
           }
2399
 
 
2400
 
           /**
2401
 
            * Set NCcert to nill (currently the same as reset)
2402
 
            */
2403
 
           axis2_status_t AXIS2_CALL
2404
 
           adb_getKeysResponseType_set_NCcert_nil(
2405
 
                   adb_getKeysResponseType_t* _getKeysResponseType,
2406
 
                   const axutil_env_t *env)
2407
 
           {
2408
 
               return adb_getKeysResponseType_reset_NCcert(_getKeysResponseType, env);
2409
 
           }
2410
 
 
2411
 
 
2412