1 /*
2  * Copyright 1999-2006 University of Chicago
3  * 
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  * 
8  * http://www.apache.org/licenses/LICENSE-2.0
9  * 
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 /*
19  * This file is automatically generated by the Globus WSDLtoC converter
20  */
21
22 #include "xsd_QName.h"
23 #include "globus_soap_message.h"
24 #include "globus_xsd_type_info.h"
25 #include "nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType.h"
26
27 #ifndef GLOBUS_DONT_DOCUMENT_INTERNAL
28 xsd_QName nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname =
29 {
30     NPTEST_NOTIFICATIONPRODUCERTESTPORTTYPEGTWSDLRESOURCEPROPERTIESTYPE_NS,
31     NPTEST_NOTIFICATIONPRODUCERTESTPORTTYPEGTWSDLRESOURCEPROPERTIESTYPE_LOCAL
32 };
33 #endif /* GLOBUS_DONT_DOCUMENT_INTERNAL */
34
35 globus_result_t
36 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize_wrapper(
37     const xsd_QName *                   element_qname,
38     const void *                        instance,
39     globus_soap_message_handle_t        message_handle,
40     globus_xsd_element_options_t        options)
41 0 {
42 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize(
43         element_qname,
44         (const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *) instance,
45         message_handle, options);
46 }
47
48 globus_result_t
49 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_pointer_wrapper(
50     const xsd_QName *                   element_qname,
51     void **                             ip,
52     globus_soap_message_handle_t        message_handle,
53     globus_xsd_element_options_t        options)
54 0 {
55 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_pointer(
56         element_qname,
57         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType **) ip,
58         message_handle, options);
59 }
60
61 globus_result_t
62 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_wrapper(void **object)
63 0 {
64 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init(
65         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType **) object);
66 }
67
68 void
69 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_wrapper(
70     void *                          object)
71 0 {
72 0     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy(
73         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *) object);
74 }
75
76 globus_result_t
77 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_wrapper(
78     void **                         dest_obj,
79     const void *                    src_obj)
80 0 {
81 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy(
82         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType **) dest_obj,
83         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *) src_obj);
84 }
85
86 globus_result_t
87 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_contents_wrapper(void *object)
88 0 {
89 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_contents(
90         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *) object);
91 }
92
93 void
94 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_contents_wrapper(
95     void *                          object)
96 0 {
97 0     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_contents(
98         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *) object);
99 }
100
101 globus_result_t
102 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_contents_wrapper(
103     void *                          dest_obj,
104     const void *                    src_obj)
105 0 {
106 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_contents(
107         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *) dest_obj,
108         (const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *) src_obj);
109 }
110
111 globus_result_t
112 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize_contents_wrapper(
113     const xsd_QName *                   element_qname,
114     const void *                        instance,
115     globus_soap_message_handle_t        message_handle,
116     globus_xsd_element_options_t        options)
117 0 {
118 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize_contents(
119         element_qname,
120         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *) instance,
121         message_handle, options);
122 }
123
124 globus_result_t
125 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_contents_wrapper(
126     const xsd_QName *                   element_qname,
127     void **                             instance,
128     globus_soap_message_handle_t        message_handle,
129     globus_xsd_element_options_t        options)
130 0 {
131 0     globus_result_t                     result;
132 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_contents_wrapper);
133 0     GlobusSoapMessageDebugEnter();
134
135 0     if(!*instance)
136     {
137 0         result = nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init(
138             (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType **)instance);
139 0         if(result != GLOBUS_SUCCESS)
140         {
141 0             goto error;
142         }
143     }
144
145 0     result = nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_contents(
146         element_qname,
147         *(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType **)instance,
148         message_handle, options);
149 error:
150 0     GlobusSoapMessageDebugExit();
151 0     return result;
152 }
153
154 globus_result_t
155 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_serialize_wrapper(
156     const xsd_QName *               element,
157     const void *                    instance,
158     globus_soap_message_handle_t    message,
159     globus_xsd_element_options_t    options)
160 0 {
161 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_serialize(
162         element,
163         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *) instance,
164         message, options);
165 }
166
167 globus_result_t
168 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_deserialize_wrapper(
169     const xsd_QName *                   element_qname,
170     void **                             inst,
171     globus_soap_message_handle_t        message,
172     globus_xsd_element_options_t        options)
173 0 {
174 0     if(!*inst)
175     {
176 0         globus_result_t                 result;
177
178 0         result = nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init(
179             (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array **)inst);
180 0         if(result != GLOBUS_SUCCESS)
181         {
182 0             return result;
183         }
184     }
185
186 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_deserialize(
187         element_qname,
188         *(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array **) inst,
189         message, options);
190 }
191
192 globus_result_t
193 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init_wrapper(
194     void **                             arr)
195 0 {
196 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init(
197         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array **) arr);
198 }
199
200 void
201 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy_wrapper(
202     void *                              arr)
203 0 {
204 0     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy(
205         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *) arr);
206 }
207
208 globus_result_t
209 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy_wrapper(
210     void **                             dest_arr,
211     const void *                        src_arr)
212 0 {
213 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy(
214         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array **) dest_arr,
215         (const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *) src_arr);
216 }
217
218 globus_result_t
219 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init_contents_wrapper(
220     void *                              arr)
221 0 {
222 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init_contents(
223         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *) arr);
224 }
225
226 void
227 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy_contents_wrapper(
228     void *                              arr)
229 0 {
230 0     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy_contents(
231         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *) arr);
232 }
233
234 globus_result_t
235 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy_contents_wrapper(
236     void *                              dest_arr,
237     const void *                        src_arr)
238 0 {
239 0     return nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy_contents(
240         (nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *) dest_arr,
241         (const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *) src_arr);
242 }
243
244 struct globus_xsd_type_info_s nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_contents_info =
245 {
246     &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname,
247     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize_contents_wrapper,
248     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_contents_wrapper,
249     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_wrapper,
250     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_wrapper,
251     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_wrapper,
252     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_contents_wrapper,
253     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_contents_wrapper,
254     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_contents_wrapper,
255     sizeof(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType),
256     NULL,
257     NULL,
258     NULL
259 };
260
261 struct globus_xsd_type_info_s nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_info =
262 {
263     &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname,
264     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_serialize_wrapper,
265     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_deserialize_wrapper,
266     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init_wrapper,
267     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy_wrapper,
268     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy_wrapper,
269     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init_contents_wrapper,
270     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy_contents_wrapper,
271     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy_contents_wrapper,
272     sizeof(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType),
273     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_push_wrapper,
274     NULL,
275     NULL
276 };
277
278 struct globus_xsd_type_info_s nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_info =
279 {
280     &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname,
281     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize_wrapper,
282     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_pointer_wrapper,
283     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_wrapper,
284     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_wrapper,
285     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_wrapper,
286     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_contents_wrapper,
287     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_contents_wrapper,
288     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_contents_wrapper,
289     sizeof(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType),
290     NULL,
291     &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_contents_info,
292     &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_info
293 };
294
295 globus_result_t
296 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_contents(
297     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * instance)
298 0 {
299 0     globus_result_t                     result = GLOBUS_SUCCESS;
300 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init_contents);
301 0     GlobusSoapMessageDebugEnter();
302
303 0     memset(instance, 0, sizeof(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType));
304
305 0     GlobusSoapMessageDebugExit();
306 0     return result;
307 }
308
309 globus_result_t
310 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init(
311     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType ** object)
312 0 {
313 0     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * instance;
314 0     globus_result_t                     result = GLOBUS_SUCCESS;
315 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init);
316 0     GlobusSoapMessageDebugEnter();
317
318 0     instance = globus_malloc(sizeof(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType));
319 0     if(!instance)
320     {
321 0         result = GlobusSoapMessageErrorOutOfMemory;
322 0         goto exit;
323     }
324
325 0     memset(instance, 0, sizeof(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType));
326
327 0     *object = instance;
328
329  exit:
330 0     GlobusSoapMessageDebugExit();
331 0     return result;
332 }
333
334 void
335 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy(
336     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * instance)
337 0 {
338 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy);
339 0     GlobusSoapMessageDebugEnter();
340
341 0     if(!instance)
342     {
343 0         goto exit;
344     }
345
346 0     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_contents(instance);
347 0     globus_free(instance);
348
349  exit:
350
351 0     GlobusSoapMessageDebugExit();
352 }
353
354
355 void
356 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_contents(
357     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * instance)
358 0 {
359 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy_contents);
360 0     GlobusSoapMessageDebugEnter();
361
362 0     if(instance)
363     {
364
365
366 0     wsnt_TopicExpressionType_array_destroy_contents(&instance->Topic);
367
368 0     xsd_anyURI_array_destroy_contents(&instance->TopicExpressionDialects);
369
370 0     xsd_boolean_destroy_contents(
371          &instance->FixedTopicSet);
372
373     }
374
375 0     GlobusSoapMessageDebugExit();
376 }
377
378
379 globus_result_t
380 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy(
381     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType ** dest_obj,
382     const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * src_obj)
383 0 {
384 0     globus_result_t                     result = GLOBUS_SUCCESS;
385 0     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * instance;
386 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy);
387
388 0     GlobusSoapMessageDebugEnter();
389
390 0     instance = calloc(1, sizeof(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType));
391 0     if (instance == NULL)
392     {
393 0         GlobusSoapMessageDebugExit();
394 0         return GlobusSoapMessageErrorOutOfMemory;
395     }
396
397 0     result = nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_contents(instance, src_obj);
398 0     if(result != GLOBUS_SUCCESS)
399     {
400 0         globus_free(instance);
401 0         GlobusSoapMessageDebugExit();
402 0         return GlobusSoapMessageErrorOutOfMemory;
403     }
404
405 0     *dest_obj = instance;
406 0     GlobusSoapMessageDebugExit();
407 0     return result;
408 }
409
410 globus_result_t
411 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_contents(
412     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * instance,
413     const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * src_obj)
414 0 {
415 0     globus_result_t                     result = GLOBUS_SUCCESS;
416 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_copy_contents);
417
418 0     GlobusSoapMessageDebugEnter();
419     
420 0      result = wsnt_TopicExpressionType_array_copy_contents(
421          &instance->Topic,
422          &src_obj->Topic);
423 0      if(result != GLOBUS_SUCCESS)
424      {
425 0          result = GlobusSoapMessageErrorCopyFailed(
426              result, NULL, &wsnt_TopicExpressionType_qname);
427 0          goto Topic_destroy_array;
428      }
429     
430 0      result = xsd_anyURI_array_copy_contents(
431          &instance->TopicExpressionDialects,
432          &src_obj->TopicExpressionDialects);
433 0      if(result != GLOBUS_SUCCESS)
434      {
435 0          result = GlobusSoapMessageErrorCopyFailed(
436              result, NULL, &xsd_anyURI_qname);
437 0          goto TopicExpressionDialects_destroy_array;
438      }
439
440 0     result = xsd_boolean_copy_contents(
441         &instance->FixedTopicSet,
442         &src_obj->FixedTopicSet);
443 0     if(result != GLOBUS_SUCCESS)
444     {
445 0         result = GlobusSoapMessageErrorCopyFailed(
446                 result, NULL, &xsd_boolean_qname);
447         goto FixedTopicSet_destroy;
448     }
449
450 0     goto exit;
451
452  fail_deserialize:
453 0         xsd_boolean_destroy_contents(
454              &instance->FixedTopicSet);
455
456  FixedTopicSet_destroy:
457 0         xsd_anyURI_array_destroy_contents(
458             &instance->TopicExpressionDialects);
459
460  TopicExpressionDialects_destroy_array:
461 0         wsnt_TopicExpressionType_array_destroy_contents(
462             &instance->Topic);
463
464  Topic_destroy_array:
465
466
467  exit:
468
469 0     GlobusSoapMessageDebugExit();
470 0     return result;
471 }
472
473
474
475 globus_result_t
476 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize_contents(
477     const xsd_QName *                   element_qname, /* ignored */
478     const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *              inst,
479     globus_soap_message_handle_t        message_handle,
480     globus_xsd_element_options_t        options)
481 0 {
482 0     globus_result_t                     result = GLOBUS_SUCCESS;
483 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize_contents);
484 0     GlobusSoapMessageDebugEnter();
485
486 0     result = nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize(
487         NULL,
488         inst,
489         message_handle,
490         options | GLOBUS_XSD_ELEMENT_CONTENTS_ONLY);
491 0     if(result != GLOBUS_SUCCESS)
492     {
493 0         result = GlobusSoapMessageErrorSerializeFailed(
494             result, NULL, element_qname);
495         goto exit;
496     }
497
498  exit:
499
500 0     GlobusSoapMessageDebugExit();
501 0     return result;
502 }
503
504
505
506 globus_result_t
507 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize(
508     const xsd_QName *                   element_qname,
509     const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *              instance,
510     globus_soap_message_handle_t        message_handle,
511     globus_xsd_element_options_t        options)
512 0 {
513 0     globus_result_t                     result = GLOBUS_SUCCESS;
514 0     xsd_QName                           subelement;
515 0     globus_list_t *                     any_attr_keys = NULL;
516 0     globus_list_t *                     any_attr_keys_iterator = NULL;
517 0     xsd_QName *                         type_attr = NULL;
518
519 0     char *                              prefix = NULL;
520 0     int                                 prefix_created;
521 0     int                                 define_prefix = 0;
522 0     int                                 save_options = options;
523
524 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_serialize);
525 0     GlobusSoapMessageDebugEnter();
526
527
528 0     if(!(options & GLOBUS_XSD_ELEMENT_CONTENTS_ONLY))
529     {
530         /* serialize nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType element */
531 0 result = globus_soap_message_element_ns_set(
532             message_handle,
533             element_qname,
534             element_qname->Namespace,
535             &options);
536 0         if(result != GLOBUS_SUCCESS)
537         {
538 0             result = GlobusSoapMessageErrorSerializeFailed(
539                 result, NULL, element_qname);
540 0             goto exit;
541         }
542
543 0         if(((options & GLOBUS_XSD_ELEMENT_TYPE_ATTR) &&
544    !globus_soap_message_serialize_is_c14n_subset(message_handle)))
545         {
546 0             result = globus_soap_message_attribute_ns_set(
547                 message_handle,
548                 element_qname,
549                 "http://www.w3.org/2001/XMLSchema-instance",
550                 &options);
551 0             if(result != GLOBUS_SUCCESS)
552             {
553 0                 result = GlobusSoapMessageErrorSerializeFailed(
554                     result, NULL, element_qname);
555 0                 goto exit;
556             }
557         }
558
559 0         if((options & GLOBUS_XSD_ELEMENT_TYPE_ATTR) &&
560    !globus_soap_message_serialize_is_c14n_subset(message_handle))
561         {
562
563 0             result = globus_soap_message_attribute_ns_set(
564                 message_handle,
565                 element_qname,
566                 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname.Namespace,
567                 &options);
568 0             if(result != GLOBUS_SUCCESS)
569             {
570 0                 result = GlobusSoapMessageErrorSerializeFailed(
571                     result, NULL, element_qname);
572 0                 goto exit;
573             }
574         }
575
576 0         result = globus_soap_message_serialize_element(
577             message_handle,
578             element_qname,
579             options,
580             &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname);
581 0         if(result != GLOBUS_SUCCESS)
582         {
583 0             result = GlobusSoapMessageErrorSerializeFailed(
584                 result, NULL, element_qname);
585 0             goto exit;
586         }
587
588 0         if((options & GLOBUS_XSD_ELEMENT_TYPE_ATTR) &&
589    !globus_soap_message_serialize_is_c14n_subset(message_handle))
590         {
591 0            xsd_QName_init(&type_attr);
592        
593 0            type_attr->local = globus_libc_strdup("type");
594 0            type_attr->Namespace = globus_libc_strdup(XSI_NS);
595         }
596
597
598         /* serialize namespaces */
599 0 result = globus_soap_message_element_ns_add(
600             message_handle,
601             element_qname,
602             element_qname->Namespace,
603             &options);
604 0         if(result != GLOBUS_SUCCESS)
605         {
606 0             result = GlobusSoapMessageErrorSerializeFailed(
607                 result, NULL, element_qname);
608 0             goto exit;
609         }
610
611 0         if(((options & GLOBUS_XSD_ELEMENT_TYPE_ATTR) &&
612    !globus_soap_message_serialize_is_c14n_subset(message_handle)))
613         {
614 0             result = globus_soap_message_attribute_ns_add(
615                 message_handle,
616                 element_qname,
617                 "http://www.w3.org/2001/XMLSchema-instance",
618                 &options);
619 0             if(result != GLOBUS_SUCCESS)
620             {
621 0                 result = GlobusSoapMessageErrorSerializeFailed(
622                     result, NULL, element_qname);
623 0                 goto exit;
624             }
625         }
626 0         if ((options & GLOBUS_XSD_ELEMENT_TYPE_ATTR) &&
627    !globus_soap_message_serialize_is_c14n_subset(message_handle))
628         {
629
630 0             result = globus_soap_message_attribute_ns_add(
631                 message_handle,
632                 element_qname,
633                 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname.Namespace,
634                 &options);
635 0             if(result != GLOBUS_SUCCESS)
636             {
637 0                 result = GlobusSoapMessageErrorSerializeFailed(
638                     result, NULL, element_qname);
639 0                 goto exit;
640             }
641         }
642
643         /* serialize attributes */
644
645 0         if((options & GLOBUS_XSD_ELEMENT_TYPE_ATTR) &&
646    !globus_soap_message_serialize_is_c14n_subset(message_handle))
647         {
648 0             result = globus_soap_message_serialize_QName_attribute(
649                 message_handle,
650                 type_attr,
651                 &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname);
652 0             if(result != GLOBUS_SUCCESS)
653             {
654 0                 result = GlobusSoapMessageErrorSerializeFailed(
655                     result, NULL, element_qname);
656 0                 goto exit;
657             }
658         }
659
660
661     }
662
663 0     if(!(options & GLOBUS_XSD_ELEMENT_CONTENTS_ONLY))
664     {
665 0         result = globus_soap_message_serialize_element_begin_close(
666             message_handle, element_qname);
667 0         if(result != GLOBUS_SUCCESS)
668         {
669 0             result = GlobusSoapMessageErrorSerializeFailed(
670                 result, NULL, element_qname);
671 0             goto exit;
672         }
673     }
674 0     options &= ~GLOBUS_XSD_ELEMENT_CONTENTS_ONLY;
675
676
677     /* serialize contents of type */
678
679 0     subelement.local = "Topic";
680 0     subelement.Namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
681
682 0      result = GlobusXSDArrayCheckLowerBounds(
683          1,
684          instance->Topic.length,
685          "Topic");
686 0      if(result != GLOBUS_SUCCESS)
687      {
688 0          result = GlobusSoapMessageErrorSerializeFailed(
689              result, NULL, &wsnt_TopicExpressionType_qname);
690 0          goto exit;
691      }
692     
693 0      result = wsnt_TopicExpressionType_array_serialize(
694          &subelement,
695          &instance->Topic,
696          message_handle,
697          options & (~GLOBUS_XSD_ELEMENT_SET_DEFAULT_NS));
698 0      if(result != GLOBUS_SUCCESS)
699      {
700 0          result = GlobusSoapMessageErrorSerializeFailed(
701              result, NULL, &wsnt_TopicExpressionType_qname);
702 0          goto exit;
703      }
704
705 0     subelement.local = "TopicExpressionDialects";
706 0     subelement.Namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
707
708 0      result = GlobusXSDArrayCheckLowerBounds(
709          1,
710          instance->TopicExpressionDialects.length,
711          "TopicExpressionDialects");
712 0      if(result != GLOBUS_SUCCESS)
713      {
714 0          result = GlobusSoapMessageErrorSerializeFailed(
715              result, NULL, &xsd_anyURI_qname);
716 0          goto exit;
717      }
718     
719 0      result = xsd_anyURI_array_serialize(
720          &subelement,
721          &instance->TopicExpressionDialects,
722          message_handle,
723          options & (~GLOBUS_XSD_ELEMENT_SET_DEFAULT_NS));
724 0      if(result != GLOBUS_SUCCESS)
725      {
726 0          result = GlobusSoapMessageErrorSerializeFailed(
727              result, NULL, &xsd_anyURI_qname);
728 0          goto exit;
729      }
730
731 0     subelement.local = "FixedTopicSet";
732 0     subelement.Namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
733
734 0     result = xsd_boolean_serialize(
735          &subelement,
736          &instance->FixedTopicSet,
737          message_handle,
738          options & (~GLOBUS_XSD_ELEMENT_SET_DEFAULT_NS));
739 0     if(result != GLOBUS_SUCCESS)
740     {
741 0         result = GlobusSoapMessageErrorSerializeFailed(
742                 result, NULL, &xsd_boolean_qname);
743 0         goto exit;
744     }
745
746 0     options = save_options;
747
748 0     if(!(options & GLOBUS_XSD_ELEMENT_CONTENTS_ONLY))
749     {
750         /* add end element */
751 0         result = globus_soap_message_serialize_element_end(
752             message_handle,
753             element_qname,
754             options,
755             &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname);
756 0         if(result != GLOBUS_SUCCESS)
757         {
758 0             result = GlobusSoapMessageErrorSerializeFailed(
759                 result, NULL, element_qname);
760 0             goto exit;
761         }
762
763 0         globus_soap_message_element_ns_remove(
764             message_handle,
765             element_qname->Namespace,
766             &options);
767
768     /* remove namespace/prefix mappings for these types */
769
770 0         if(((options & GLOBUS_XSD_ELEMENT_TYPE_ATTR) &&
771    !globus_soap_message_serialize_is_c14n_subset(message_handle)))
772         {
773 0             globus_soap_message_attribute_ns_remove(
774                 message_handle,
775                 "http://www.w3.org/2001/XMLSchema-instance",
776                 &options);
777         }           
778 0         if((options & GLOBUS_XSD_ELEMENT_TYPE_ATTR) &&
779    !globus_soap_message_serialize_is_c14n_subset(message_handle))
780         {
781 0             globus_soap_message_attribute_ns_remove(
782                 message_handle,
783                 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_qname.Namespace,
784                 &options);
785         }           
786
787     }
788
789  exit:
790 0     if (type_attr)
791     {
792 0         xsd_QName_destroy(type_attr);
793     }
794
795
796 0     if(any_attr_keys)
797     {
798 0         globus_list_free(any_attr_keys);
799     }
800
801 0     GlobusSoapMessageDebugExit();
802 0     return result;
803 }
804
805
806
807 globus_result_t
808 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_contents(
809     const xsd_QName *                   element_qname, /* ignored */
810     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *                    inst,
811     globus_soap_message_handle_t        message_handle,
812     globus_xsd_element_options_t        options)
813 0 {
814 0     globus_result_t                     result = GLOBUS_SUCCESS;
815 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_contents);
816 0     GlobusSoapMessageDebugEnter();
817
818 0     result = nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize(
819         NULL,
820         inst,
821         message_handle,
822         options | GLOBUS_XSD_ELEMENT_CONTENTS_ONLY);
823 0     if(result != GLOBUS_SUCCESS)
824     {
825 0         result = GlobusSoapMessageErrorDeserializeFailed(
826             result, element_qname);
827         goto exit;
828     }
829
830  exit:
831
832 0     GlobusSoapMessageDebugExit();
833 0     return result;
834 }
835
836
837
838 globus_result_t
839 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize(
840     const xsd_QName *                   element_qname,
841     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *                    instance,
842     globus_soap_message_handle_t        message_handle,
843     globus_xsd_element_options_t        options)
844 0 {
845 0     globus_result_t                     result = GLOBUS_SUCCESS;
846 0     xsd_QName                           subelement;
847 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize);
848 0     GlobusSoapMessageDebugEnter();
849
850
851 0     if(!(options & GLOBUS_XSD_ELEMENT_CONTENTS_ONLY))
852     {
853 0         result = globus_soap_message_deserialize_element(
854             message_handle, element_qname);
855 0         if(result != GLOBUS_SUCCESS)
856         {
857 0             result = GlobusSoapMessageErrorDeserializeFailed(
858                 result, element_qname);
859 0             goto exit;
860         }
861
862
863 0         result = globus_soap_message_deserialize_element_begin_close(
864             message_handle);
865 0         if(result != GLOBUS_SUCCESS)
866         {
867 0             result = GlobusSoapMessageErrorDeserializeFailed(
868                 result, element_qname);
869 0             goto fail_deserialize;
870         }
871     }
872
873 0     subelement.local = "Topic";
874 0     subelement.Namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
875     
876 0     result = wsnt_TopicExpressionType_array_deserialize(
877         &subelement,
878         &instance->Topic,
879         message_handle,
880         0);
881 0     if(result != GLOBUS_SUCCESS)
882     {
883 0         result = GlobusSoapMessageErrorDeserializeFailed(
884             result, 
885             (&subelement));
886 0         goto Topic_destroy_array;
887     }
888
889 0     subelement.local = "TopicExpressionDialects";
890 0     subelement.Namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
891     
892 0     result = xsd_anyURI_array_deserialize(
893         &subelement,
894         &instance->TopicExpressionDialects,
895         message_handle,
896         0);
897 0     if(result != GLOBUS_SUCCESS)
898     {
899 0         result = GlobusSoapMessageErrorDeserializeFailed(
900             result, 
901             (&subelement));
902 0         goto TopicExpressionDialects_destroy_array;
903     }
904
905 0     subelement.local = "FixedTopicSet";
906 0     subelement.Namespace = "http://docs.oasis-open.org/wsn/2004/06/wsn-WS-BaseNotification-1.2-draft-01.xsd";
907
908 0     result = xsd_boolean_deserialize(
909          &subelement,
910          &instance->FixedTopicSet,
911          message_handle,
912          0);
913 0     if(result != GLOBUS_SUCCESS)
914     {
915 0         result = GlobusSoapMessageErrorDeserializeFailed(
916             result, 
917             &xsd_boolean_qname);
918 0         goto FixedTopicSet_destroy;
919     }
920
921 0     if(!(options & GLOBUS_XSD_ELEMENT_CONTENTS_ONLY))
922     {
923 0         result = globus_soap_message_deserialize_element_end(
924             message_handle,
925             element_qname);
926 0         if(result != GLOBUS_SUCCESS)
927         {
928 0             result = GlobusSoapMessageErrorDeserializeFailed(
929                 result, element_qname);
930             goto fail_deserialize;
931         }
932     }
933
934 0     goto exit;
935
936  fail_deserialize:
937 0         xsd_boolean_destroy_contents(
938              &instance->FixedTopicSet);
939
940  FixedTopicSet_destroy:
941 0         xsd_anyURI_array_destroy_contents(
942             &instance->TopicExpressionDialects);
943
944  TopicExpressionDialects_destroy_array:
945 0         wsnt_TopicExpressionType_array_destroy_contents(
946             &instance->Topic);
947
948  Topic_destroy_array:
949
950
951  exit:
952
953 0     GlobusSoapMessageDebugExit();
954 0     return result;
955 }
956
957
958
959 globus_result_t
960 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_pointer(
961     const xsd_QName *                   element_qname,
962     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType **                   ip,
963     globus_soap_message_handle_t        message_handle,
964     globus_xsd_element_options_t        options)
965 0 {
966 0     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType * instance = NULL;
967 0     globus_result_t                     result = GLOBUS_SUCCESS;
968 0     xsd_QName                           subelement;
969 0     int                                 found_attrs = 0;
970 0     int                                 empty_element = 0;
971 0     GlobusFuncName(nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize_pointer);
972 0     GlobusSoapMessageDebugEnter();
973
974 0     *ip = NULL;
975
976 0     result = globus_soap_message_deserialize_element(
977         message_handle, element_qname);
978 0     if(result != GLOBUS_SUCCESS &&
979        (GlobusSoapMessageStatusElementNotFoundCheck(result) ||
980         GlobusSoapMessageStatusFailedElementCheck(result) ||
981         GlobusSoapMessageStatusFailedWithTextCheck(result)))
982     {
983 0         result = GLOBUS_SUCCESS;
984 0         goto exit;
985     }
986
987 0     if(result != GLOBUS_SUCCESS)
988     {
989 0         result = GlobusSoapMessageErrorDeserializeFailed(
990             result, element_qname);
991 0         goto exit;
992     }
993
994 0     if(globus_soap_message_deserialize_element_is_empty(
995            message_handle))
996     {
997 0         empty_element = 1;
998     }
999
1000 0     result = nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_init(&instance);
1001 0     if(result != GLOBUS_SUCCESS)
1002     {
1003 0         result = GlobusSoapMessageErrorDeserializeFailed(
1004             result, element_qname);
1005 0         goto exit;
1006     }
1007
1008
1009 0     if(found_attrs == 0 && 
1010        globus_soap_message_deserialize_element_is_nil(message_handle))
1011     {
1012 0         nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_destroy(instance);
1013         
1014 0         result = globus_soap_message_deserialize_element_end(
1015                 message_handle,
1016                 element_qname);
1017 0         if(result != GLOBUS_SUCCESS)
1018         {
1019 0             result = GlobusSoapMessageErrorDeserializeFailed(
1020                 result, element_qname);
1021 0             goto exit;
1022         }
1023
1024 0         *ip = NULL;
1025 0         globus_object_free(globus_error_get(result));
1026 0         result = GLOBUS_SUCCESS;
1027 0         goto exit;
1028     }
1029
1030
1031 0     if(empty_element)
1032     {
1033 0         result = globus_soap_message_deserialize_element_end(
1034             message_handle,
1035             element_qname);
1036 0         if(result != GLOBUS_SUCCESS)
1037         {
1038 0             result = GlobusSoapMessageErrorDeserializeFailed(
1039                 result, element_qname);
1040 0             goto fail_deserialize;
1041         }
1042
1043 0         *ip = instance;
1044 0         goto exit;
1045     }
1046
1047 0     result = globus_soap_message_deserialize_element_begin_close(
1048         message_handle);
1049 0     if(result != GLOBUS_SUCCESS)
1050     {
1051 0         result = GlobusSoapMessageErrorDeserializeFailed(
1052             result, element_qname);
1053 0         goto exit;
1054     }
1055
1056 0     result = nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_deserialize(
1057             element_qname,
1058             instance,
1059             message_handle,
1060             options | GLOBUS_XSD_ELEMENT_CONTENTS_ONLY);
1061
1062 0     result = globus_soap_message_deserialize_element_end(
1063         message_handle,
1064         element_qname);
1065 0     if(result != GLOBUS_SUCCESS)
1066     {
1067 0         result = GlobusSoapMessageErrorDeserializeFailed(
1068             result, element_qname);
1069 0         goto fail_deserialize;
1070     }
1071
1072 0     *ip = instance;
1073
1074 0     goto exit;
1075
1076  fail_deserialize:
1077 0         xsd_boolean_destroy_contents(
1078              &instance->FixedTopicSet);
1079
1080  FixedTopicSet_destroy:
1081 0         xsd_anyURI_array_destroy_contents(
1082             &instance->TopicExpressionDialects);
1083
1084  TopicExpressionDialects_destroy_array:
1085 0         wsnt_TopicExpressionType_array_destroy_contents(
1086             &instance->Topic);
1087
1088  Topic_destroy_array:
1089
1090  exit:
1091
1092 0     GlobusSoapMessageDebugExit();
1093 0     return result;
1094 }
1095
1096
1097 globus_result_t
1098 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init_contents(
1099     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array * array)
1100 0 {
1101 0     return globus_xsd_generic_array_init_contents(
1102         (globus_xsd_generic_array_t *) array,
1103         &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_info);
1104 }
1105 /* nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init_contents() */
1106
1107 globus_result_t
1108 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init(
1109     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array ** arr)
1110 0 {
1111 0     return globus_xsd_generic_array_init(
1112         (globus_xsd_generic_array_t **) arr,
1113         &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_info);
1114 }
1115 /* nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_init() */
1116
1117 void
1118 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy_contents(
1119     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array * array)
1120 0 {
1121 0     globus_xsd_generic_array_destroy_contents(
1122         (globus_xsd_generic_array_t *) array);
1123 }
1124 /* nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy_contents() */
1125
1126 void
1127 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy(
1128     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array * array)
1129 0 {
1130 0     globus_xsd_generic_array_destroy(
1131         (globus_xsd_generic_array_t *) array);
1132 }
1133 /* nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_destroy() */
1134
1135 globus_result_t
1136 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy(
1137     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array ** dest_arr,
1138     const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array * src_arr)
1139 0 {
1140 0     return globus_xsd_generic_array_copy(
1141         (globus_xsd_generic_array_t **) dest_arr,
1142         (globus_xsd_generic_array_t *) src_arr);
1143 }
1144 /* nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy() */
1145
1146 globus_result_t
1147 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy_contents(
1148     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array * dest_arr,
1149     const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array * src_arr)
1150 0 {
1151 0     return globus_xsd_generic_array_copy_contents(
1152         (globus_xsd_generic_array_t *) dest_arr,
1153         (globus_xsd_generic_array_t *) src_arr);
1154 }
1155 /* nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_copy_contents() */
1156
1157 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType *
1158 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_push(
1159     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array * array)
1160 0 {
1161     /* Some contents initializers don't initialize subelments but to set their
1162      * values to be NULL
1163      */
1164 0     if (array->type_info == NULL)
1165     {
1166 0         array->type_info = &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_info;
1167     }
1168
1169 0     return globus_xsd_generic_array_push(
1170         (globus_xsd_generic_array_t *) array);
1171 }
1172 /* nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_push() */
1173
1174 void *
1175 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_push_wrapper(
1176     void * array)
1177 0 {
1178 0     return (void *) nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_push((nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *) array);
1179 }
1180
1181 globus_result_t
1182 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_serialize(
1183     const xsd_QName *                   element_qname,
1184     const nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array *        array,
1185     globus_soap_message_handle_t        message,
1186     globus_xsd_element_options_t        options)
1187 0 {
1188 0     return globus_xsd_generic_array_serialize(
1189         element_qname,
1190         (const globus_xsd_generic_array_t *) array,
1191         message,
1192         options);
1193 }
1194 /* nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_serialize() */
1195
1196 globus_result_t
1197 nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array_deserialize(
1198     const xsd_QName *                   element_qname,
1199     nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_array * array,
1200     globus_soap_message_handle_t        message,
1201     globus_xsd_element_options_t        options)
1202 0 {
1203     /* Some initializers set the array's contents to NULL */
1204 0     if (array->type_info == NULL)
1205     {
1206 0         array->type_info = &nptest_NotificationProducerTestPortTypeGTWSDLResourcePropertiesType_info;
1207     }
1208 0     return globus_xsd_generic_array_deserialize(
1209         element_qname,
1210         (globus_xsd_generic_array_t *) array,
1211         message,
1212         options);