00001 /* address.h 00002 Generated by wsdl2h 1.2.15 from address.xsd and addresstypemap.dat 00003 2009-11-09 17:01:08 GMT 00004 00005 DO NOT INCLUDE THIS FILE DIRECTLY INTO YOUR PROJECT BUILDS 00006 USE THE soapcpp2-GENERATED SOURCE CODE FILES FOR YOUR PROJECT BUILDS 00007 00008 gSOAP XML Web services tools. 00009 Copyright (C) 2001-2009 Robert van Engelen, Genivia Inc. All Rights Reserved. 00010 Part of this software is released under one of the following licenses: 00011 GPL or Genivia's license for commercial use. 00012 */ 00013 00072 //gsoapopt w 00073 00074 /******************************************************************************\ 00075 * * 00076 * Definitions * 00077 * urn:address-book-example * 00078 * * 00079 \******************************************************************************/ 00080 00081 00082 /******************************************************************************\ 00083 * * 00084 * Import * 00085 * * 00086 \******************************************************************************/ 00087 00088 00089 // STL vector containers (use option -s to remove STL dependency) 00090 #import "stlvector.h" 00091 00092 /******************************************************************************\ 00093 * * 00094 * Schema Namespaces * 00095 * * 00096 \******************************************************************************/ 00097 00098 00099 /* NOTE: 00100 00101 It is strongly recommended to customize the names of the namespace prefixes 00102 generated by wsdl2h. To do so, modify the prefix bindings below and add the 00103 modified lines to typemap.dat to rerun wsdl2h: 00104 00105 a = "urn:address-book-example" 00106 00107 */ 00108 00110 #define SOAP_NAMESPACE_OF_a "urn:address-book-example" 00111 //gsoap a schema namespace: urn:address-book-example 00112 //gsoap a schema form: unqualified 00113 00114 /******************************************************************************\ 00115 * * 00116 * Built-in Schema Types and Top-Level Elements and Attributes * 00117 * * 00118 \******************************************************************************/ 00119 00120 00121 /******************************************************************************\ 00122 * * 00123 * Forward Declarations * 00124 * * 00125 \******************************************************************************/ 00126 00127 00128 00129 // Forward declaration of class a__address. 00130 class a__address; 00131 00132 // Forward declaration of class _a__address_book. 00133 class _a__address_book; 00134 00135 /******************************************************************************\ 00136 * * 00137 * Schema Types and Top-Level Elements and Attributes * 00138 * urn:address-book-example * 00139 * * 00140 \******************************************************************************/ 00141 00142 00146 enum a__ISO_country 00147 { 00148 a__ISO_country__be, 00149 a__ISO_country__ca, 00150 a__ISO_country__de, 00151 a__ISO_country__en, 00152 a__ISO_country__gb, 00153 a__ISO_country__it, 00154 a__ISO_country__nl, 00155 a__ISO_country__no, 00156 a__ISO_country__ru, 00157 a__ISO_country__se, 00158 a__ISO_country__us, 00159 }; 00160 00161 /******************************************************************************\ 00162 * * 00163 * Schema Complex Types and Top-Level Elements * 00164 * urn:address-book-example * 00165 * * 00166 \******************************************************************************/ 00167 00168 00171 class a__address 00172 { public: 00174 std::string name 1; 00175 00176 std::string street 1; 00177 00178 std::string city 1; 00179 00180 std::string zip 1; 00181 00182 enum a__ISO_country country 0 = a__ISO_country__us; 00183 00184 std::string* phone 0; 00185 00186 std::string* mobile 0; 00187 00188 time_t* dob 0; 00189 00190 @int ID 1; 00191 00192 struct soap *soap ; 00193 }; 00194 00195 00198 00200 class _a__address_book 00201 { public: 00203 std::vector<a__address* > address 0; 00205 struct soap *soap ; 00206 }; 00207 00208 /******************************************************************************\ 00209 * * 00210 * Additional Top-Level Elements * 00211 * urn:address-book-example * 00212 * * 00213 \******************************************************************************/ 00214 00215 00216 /******************************************************************************\ 00217 * * 00218 * Additional Top-Level Attributes * 00219 * urn:address-book-example * 00220 * * 00221 \******************************************************************************/ 00222 00223 00224 /******************************************************************************\ 00225 * * 00226 * XML Data Binding * 00227 * * 00228 \******************************************************************************/ 00229 00230 00264 /* End of address.h */