1 /*
2 * Portions of this file Copyright 1999-2005 University of Chicago
3 * Portions of this file Copyright 1999-2005 The University of Southern California.
4 *
5 * This file or a portion of this file is licensed under the
6 * terms of the Globus Toolkit Public License, found at
7 * http://www.globus.org/toolkit/download/license.html.
8 * If you redistribute this file, with or without
9 * modifications, you must include this notice in the file.
10 */
11
12 #include "globus_i_xsd.h"
13 #include "globus_i_xsd_type_info.h"
14 #include "globus_soap_message.h"
15
16 GLOBUS_I_XSD_DEFINE_QNAME(xsd, dateTime);
17 GLOBUS_I_XSD_DEFINE_TYPE_INFO(xsd_dateTime);
18 9619403 GLOBUS_I_XSD_DEFINE_TYPE_FUNCTIONS(xsd_dateTime);
19 0 GLOBUS_I_XSD_DEFINE_ATTR_FUNCTIONS(xsd_dateTime, dateTime);
20 0 GLOBUS_I_XSD_DEFINE_INIT_CONTENTS_GENERIC(xsd_dateTime);
21 1973471 GLOBUS_I_XSD_DEFINE_DESTROY_CONTENTS_GENERIC(xsd_dateTime);
22 1233370 GLOBUS_I_XSD_DEFINE_COPY_CONTENTS_GENERIC(xsd_dateTime);
23
24 globus_result_t
25 xsd_dateTime_serialize_contents(
26 xsd_QName * element,
27 xsd_dateTime * instance,
28 globus_soap_message_handle_t soap_message_handle,
29 globus_xsd_element_options_t options)
30 493406 {
31 493406 globus_result_t result = GLOBUS_SUCCESS;
32 GlobusFuncName(xsd_dateTime_serialize_contents);
33 493406 GlobusSoapMessageDebugEnter();
34
35 /* serialize contents of type */
36 493406 result = globus_soap_message_serialize_dateTime(
37 soap_message_handle, instance);
38
39 493406 GlobusSoapMessageDebugExit();
40 493406 return result;
41 }
42
43 globus_result_t
44 xsd_dateTime_deserialize_contents(
45 xsd_QName * eqn,
46 xsd_dateTime * instance,
47 globus_soap_message_handle_t soap_message_handle,
48 globus_xsd_element_options_t options)
49 740059 {
50 740059 globus_result_t result = GLOBUS_SUCCESS;
51 GlobusFuncName(xsd_dateTime_deserialize_contents);
52 740059 GlobusSoapMessageDebugEnter();
53
54 740059 result = globus_soap_message_deserialize_dateTime(
55 soap_message_handle, instance);
56
57 740059 GlobusSoapMessageDebugExit();
58 740059 return result;